From ec4f40de81d75d54764ab16915aefd082585ea4a Mon Sep 17 00:00:00 2001 From: JPFrancoia Date: Wed, 25 Dec 2019 10:47:29 +0100 Subject: Addressing some comments in the PR (mainly code cleaning). --- tpblite/models/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tpblite/models') 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): -- cgit v1.2.3