aboutsummaryrefslogtreecommitdiffstats
path: root/tpblite/tpblite.py
diff options
context:
space:
mode:
Diffstat (limited to 'tpblite/tpblite.py')
-rw-r--r--tpblite/tpblite.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tpblite/tpblite.py b/tpblite/tpblite.py
index 0bee91a..93c812b 100644
--- a/tpblite/tpblite.py
+++ b/tpblite/tpblite.py
@@ -13,11 +13,4 @@ class TPB(object):
def search(self, query, page=0, order=99, category=0):
q = Query(query, self.base_url, page, order, category)
self.search_url = q.url
- return Torrents(q.html_source)
-
-def run():
- q = Query('avengers endgame 1080p')
- print(q.url)
- t = Torrents(q.webpage)
- torrent = t.getBestTorrent()
- print(torrent.magnetlink) \ No newline at end of file
+ return Torrents(q.html_source) \ No newline at end of file