aboutsummaryrefslogtreecommitdiffstats
path: root/tpblite/models/utils.py
diff options
context:
space:
mode:
authorMatt Lyon <matthewlyon18@gmail.com>2019-11-03 10:38:05 +1100
committerMatt Lyon <matthewlyon18@gmail.com>2019-11-03 10:38:05 +1100
commit612087fd74b849525c32dfc4033603808b0c2433 (patch)
treec6a015b4bb792059a9503066e8a25f8580ad95f8 /tpblite/models/utils.py
parentae9e8c258acb277eb10220c0ff3a803091efa923 (diff)
downloadtpb-lite-612087fd74b849525c32dfc4033603808b0c2433.tar.gz
tpb-lite-612087fd74b849525c32dfc4033603808b0c2433.tar.bz2
tpb-lite-612087fd74b849525c32dfc4033603808b0c2433.zip
initial commit for TPB Controller
Diffstat (limited to 'tpblite/models/utils.py')
-rw-r--r--tpblite/models/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpblite/models/utils.py b/tpblite/models/utils.py
index 72409b8..977672b 100644
--- a/tpblite/models/utils.py
+++ b/tpblite/models/utils.py
@@ -8,7 +8,7 @@ class Query(object):
Query object capable of getting html response given
a search query and other parameters.
'''
- def __init__(self, query, base_url='https://tpb.party', page=0, order=99, category=0):
+ def __init__(self, query, base_url, page, order, category):
self.base_url = base_url
segments = ('search', query, str(page), str(order), str(category))
self.url = URL(base_url, segments)