TorrentMirror API and CLI interface


Install
pip install torrentmirror==2.0.3

Documentation

📺 TorrentMirror CLI and python library

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

📺 torrentmirror - TorrentMirror CLI Interface

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

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

⭐ Usage

TorrentMirror.

    Usage: torrentmirror [<torrent_mirror_url>]

⭐ Installation

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

📓 Library Usage

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
    }
  ]
}