Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 1.47 KB

Readme.rst

File metadata and controls

72 lines (43 loc) · 1.47 KB

📺 TorrentMirror CLI and python library

Python library to expose torrentmirror as a command and python library.

You can invoke torrentmirror command to have a nice tabulated list of mirrors in your terminal

http://i.imgur.com/HdY0NIl.png

TorrentMirror.

    Usage: torrentmirror [<torrent_mirror_url>]

This is a python package available on pypi.

With python3.8 installed just execute

pip3.8 install torrentmirror

If it asks about permissions and you don't know what to do, you should probably read Jamie Matthews's article about virtualenvs

TorrentMirror exposes a simple get_proxies method

get_proxies(url="https://www.torrentmirror.net/", renew=False)

It returns a dict in the form

{
  "site_name": [
    {
      "link": "http://foo.com",
      "status": "ONLINE",
      "percentage": 40
    },
    {
      "link": "http://foo.com",
      "status": "ONLINE",
      "percentage": 40
    }
  ]
}