Humble has a new link for json data

This commit is contained in:
Dr. Galambos Máté 2022-02-19 07:31:20 +01:00 committed by GitHub
parent 95302d81e5
commit 6d07f45eb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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