diff options
author | JPFrancoia <jeanpatrick.francoia@gmail.com> | 2019-12-25 11:14:21 +0100 |
---|---|---|
committer | JPFrancoia <jeanpatrick.francoia@gmail.com> | 2019-12-25 11:14:21 +0100 |
commit | 836fa075264a1d1f43a434c2e134d6bf6cb57943 (patch) | |
tree | 05eccc6de9c7713d5344c9b19aa7e90c4140dd77 /tpblite/models/utils.py | |
parent | 3435c5b357e7bd0bfc1ea1720230f534b14a5c15 (diff) | |
download | tpb-lite-836fa075264a1d1f43a434c2e134d6bf6cb57943.tar.gz tpb-lite-836fa075264a1d1f43a434c2e134d6bf6cb57943.tar.bz2 tpb-lite-836fa075264a1d1f43a434c2e134d6bf6cb57943.zip |
Adding comment explaining the 0 at the end of the browse URL.
Diffstat (limited to 'tpblite/models/utils.py')
-rw-r--r-- | tpblite/models/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |