Skip to main content

TorrentMirror API and CLI interface

Project description

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

:tv: 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

:star: Usage

TorrentMirror.

    Usage: torrentmirror [<torrent_mirror_url>]

:star: 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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for torrentmirror, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size torrentmirror-2.0.1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size torrentmirror-2.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page