auto-py-torrent

Automated tool for file downloads, using torrent or magnet.


Keywords
automate, torrent, downloads, python, torrent-downloader
License
MIT
Install
pip install auto-py-torrent==1.0.8

Documentation

auto_py_torrent

auto_py_torrent is an automated tool for download files by obtaining torrents or magnets that are in different provided pages that the user can choose.

Its goal is to make it easier for users to find the files they want and download them instantly.

An auto_py_torrent command is provided in which the user can currently choose between two modes, best_rated and list mode, then it selects one of the torrent tracking pages for multimedia content and finally enter the text of what you want to download.

We Can List It Out!

https://user-images.githubusercontent.com/6371898/28991985-b72c0340-7967-11e7-97a2-c33d96d43706.png

With a Little Help from My Friends!

https://user-images.githubusercontent.com/6371898/28991984-b46bb402-7967-11e7-9d39-9f8b55362ac9.png

1   Main features

  • Simple and easy search, for file downloads using torrent.
  • Formatted and colorized terminal output.

2   Installation and an usage example.

2.1   First, check your python3 version.

$ python3 --version

Upgrade it as you wish.

2.2   Install python3-pip:

2.2.1   Mac

$ brew install python3

2.2.2   Linux

Using the package manager with different linux distributions:

# Ubuntu/Debian.
$ sudo apt-get update
$ sudo apt-get install -y python3-pip
# Fedora, CentOS, RHEL.
$ sudo dnf install python3-pip
# Arch.
$ pacman -S python3-pip

2.2.3   Windows

If C:\path\to\python\Scripts\pip3 is not there remite to:

2.3   Install virtualenv if necessary and activate it.

$ sudo pip3 install virtualenv
$ cd
$ virtualenv venv_auto_py
$ cd venv_auto_py
$ source bin/activate

2.4   Install auto_py_torrent and get an example!

# With virtual env activated:
$ pip3 install auto_py_torrent

# Without virtual env:
$ sudo pip3 install auto_py_torrent

# This way you are getting a detail list of results from ``torrent_project`` site.
$ auto_py_torrent 1 0 "The simpsons"

3   Usage

$ auto_py_torrent MODE SELECTED_PAGE STRING_TO_SEARCH

See also auto_py_torrent --help.

3.1   Examples

Using best_rated mode with torrent_project page:

$ auto_py_torrent 0 0 "The simpsons"

Using list mode with the pirate bay page:

$ auto_py_torrent 1 1 "The simpsons"

4   Meta

4.1   Dependencies

auto_py_torrent uses this incredibles libraries:

  • BeautifulSoup — Python library for pulling data out of HTML and XML files.
  • Requests — Requests is an elegant and simple HTTP library for Python, built for human beings.
  • Tabulate — Python library for tabular data print in Python, a library and a command-line utility.
  • Coloredlogs — Python package that enables colored terminal output for Python’s logging module.
  • lxml — Python library for processing XML and HTML in the Python language.

4.2   Release History

See HISTORY.

4.3   Licence

MIT: LICENSE.

4.4   Author

Gabriel Scotillo (@gabrielscotillo)

4.5   Package index

https://pypi.python.org/pypi/auto-py-torrent.