Update Trove url to fix #28

This commit is contained in:
Eddy Hintze 2020-08-10 19:05:40 +00:00
parent 29cf5d7f62
commit 7b9b70197d

View File

@ -163,7 +163,7 @@ class DownloadLibrary:
def _get_trove_products(self):
trove_products = []
idx = 0
trove_base_url = 'https://www.humblebundle.com/api/v1/trove/chunk?index={idx}' # noqa: E501
trove_base_url = 'https://www.humblebundle.com/api/v1/trove/chunk?property=popularity&direction=desc&index={idx}' # noqa: E501
while True:
logger.debug("Collecting trove product data from api pg:{idx} ..."
.format(idx=idx))