From 6d07f45eb8c12df83cb5afeefde34ee3de2b5823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Galambos=20M=C3=A1t=C3=A9?= Date: Sat, 19 Feb 2022 07:31:20 +0100 Subject: [PATCH] Humble has a new link for json data --- humblebundle_downloader/download_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/humblebundle_downloader/download_library.py b/humblebundle_downloader/download_library.py index 33dee61..1356bfd 100644 --- a/humblebundle_downloader/download_library.py +++ b/humblebundle_downloader/download_library.py @@ -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))