Merge pull request #59 from matega/master

Humble has a new link for json data
This commit is contained in:
xtream1101 2024-07-15 14:25:25 -04:00 committed by GitHub
commit e6fa9e93ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ class DownloadLibrary:
def _get_trove_products(self):
trove_products = []
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:
logger.debug("Collecting trove product data from api pg:{idx} ..."
.format(idx=idx))