skip to navigation
skip to content

torrentmirror 0.0.1.dev5

TorrentMirror library

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

: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”.

 
File Type Py Version Uploaded on Size
torrentmirror-0.0.1.dev5.tar.gz (md5) Source 2017-08-15 3KB