aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJPFrancoia <jeanpatrick.francoia@gmail.com>2019-12-25 10:47:29 +0100
committerJPFrancoia <jeanpatrick.francoia@gmail.com>2019-12-25 10:47:29 +0100
commitec4f40de81d75d54764ab16915aefd082585ea4a (patch)
tree2c048349a5b5dceb2989d27a25a554201da1cd92
parent4f00535cc83f57aac4b2a420907497e15f7c2f35 (diff)
downloadtpb-lite-ec4f40de81d75d54764ab16915aefd082585ea4a.tar.gz
tpb-lite-ec4f40de81d75d54764ab16915aefd082585ea4a.tar.bz2
tpb-lite-ec4f40de81d75d54764ab16915aefd082585ea4a.zip
Addressing some comments in the PR (mainly code cleaning).
-rw-r--r--tpblite/models/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tpblite/models/utils.py b/tpblite/models/utils.py
index eb24f8c..1d5bda6 100644
--- a/tpblite/models/utils.py
+++ b/tpblite/models/utils.py
@@ -1,4 +1,4 @@
-from typing import Tuple, Type
+from typing import Tuple
import random
from urllib.request import Request, urlopen
import urllib.error
@@ -35,9 +35,7 @@ class QueryParser:
@classmethod
def from_browse(cls, base_url: str, category: int, page: int, order: int):
- print("browsing")
segments = ("browse", str(category), str(page), str(order), "0")
-
return cls(base_url, segments)
def _sendRequest(self):