Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

TorrentMirror library

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.

On windows and mac you can download python3.5 here. On linux distros, python3.5 is already on most package managers :smile:

With python3.5 installed just execute:

pip3.5 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:

def get_proxies(url="https://www.torrentmirror.net/",
                filter_offline=True)

It returns a dict in the form:

{"site_name": [["proxy_1", "status"], ["proxy_2", "status]]

Where status can be “ONLINE” or anything that starts with “OFFLINE”.

Project details


Release history Release notifications

This version
History Node

0.0.1.dev5

History Node

0.0.1.dev1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
torrentmirror-0.0.1.dev5.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Aug 15, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page