From 836fa075264a1d1f43a434c2e134d6bf6cb57943 Mon Sep 17 00:00:00 2001 From: JPFrancoia Date: Wed, 25 Dec 2019 11:14:21 +0100 Subject: Adding comment explaining the 0 at the end of the browse URL. --- tpblite/models/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tpblite/models/utils.py b/tpblite/models/utils.py index c6b6248..dd03b55 100644 --- a/tpblite/models/utils.py +++ b/tpblite/models/utils.py @@ -38,6 +38,7 @@ class QueryParser: @classmethod def browse(cls, base_url: str, category: int, page: int, order: int) -> T: + # The 0 is added to the URL to stay consistent with the manual web request segments = ("browse", str(category), str(page), str(order), "0") return cls(base_url, segments) -- cgit v1.2.3