diff options
Diffstat (limited to 'tpblite/tpblite.py')
-rw-r--r-- | tpblite/tpblite.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tpblite/tpblite.py b/tpblite/tpblite.py new file mode 100644 index 0000000..c987e49 --- /dev/null +++ b/tpblite/tpblite.py @@ -0,0 +1,11 @@ +from .models.torrents import Torrents, Torrent +from .models.utils import Query + + + +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 |