diff options
author | Matt Lyon <matthewlyon18@gmail.com> | 2019-11-26 21:33:18 +1100 |
---|---|---|
committer | Matt Lyon <matthewlyon18@gmail.com> | 2019-11-26 21:33:18 +1100 |
commit | 34d91e75d871c55b82775e169d5ebc51837d20b0 (patch) | |
tree | 0d8038ad71505de80993f70b72e222ea398c8763 /tpblite/tpblite.py | |
parent | a3fa73495141fc240ea0ad9b54d7a2882264db20 (diff) | |
download | tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.tar.gz tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.tar.bz2 tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.zip |
small fixes
Diffstat (limited to 'tpblite/tpblite.py')
-rw-r--r-- | tpblite/tpblite.py | 9 |
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 |