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.

Source Distribution

torrentmirror-2.0.3.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

torrentmirror-2.0.3-py3-none-any.whl (3.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page