From 7b9b70197da3c8ef2e90a6e40d7c65cc5d8f0c48 Mon Sep 17 00:00:00 2001 From: Eddy Hintze Date: Mon, 10 Aug 2020 19:05:40 +0000 Subject: [PATCH] Update Trove url to fix #28 --- 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 177bd9c..2f13fef 100644 --- a/humblebundle_downloader/download_library.py +++ b/humblebundle_downloader/download_library.py @@ -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))