python自动下载library_auto-py-torrent-自动文件下载工具,使用torrent或magnet。-Gabriel Scotillo First, check your pyth...

auto_py_torrent是一个自动工具,用于从选定页面下载通过torrent或magnet提供的文件。它简化了寻找和即时下载用户所需文件的过程。提供两种模式:best_rated和list模式,支持多个多媒体内容的种子追踪页面。
摘要由CSDN通过智能技术生成

作者:Gabriel Scotillo

### 作者邮箱:gabrielscotillo@gmail.com

### 首页:https://github.com/ocslegna/auto_py_torrent

### 文档:None

### 下载链接

auto_py_torrent

#

autopytorrent 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!

.. image:: https://user-images.githubusercontent.com/6371898/28991985-b72c0340-7967-11e7-97a2-c33d96d43706.png :target: https://github.com/ocslegna/autopytorrent/

With a Little Help from My Friends!

.. image:: https://user-images.githubusercontent.com/6371898/28991984-b46bb402-7967-11e7-9d39-9f8b55362ac9.png :target: https://github.com/ocslegna/autopytorrent/

.. contents::

.. section-numbering::

Main features

Simple and easy search, for file downloads using torrent.

Formatted and colorized terminal output.

Installation and an usage example.

First, check your python3 version.

.. code-block:: bash

$ python3 --version

Upgrade it as you wish.

Install python3-pip:

Mac ~~~~~~~ .. code-block:: bash

$ brew install python3

Linux ~~~~~~~~ Using the package manager with different linux distributions:

.. code-block:: bash

# Ubuntu/Debian.

$ sudo apt-get update

$ sudo apt-get install -y python3-pip

.. code-block:: bash

# Fedora, CentOS, RHEL.

$ sudo dnf install python3-pip

.. code-block:: bash

# Arch.

$ pacman -S python3-pip

Windows ~~~~~~~~~~~

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

_ for Windows download.

Install virtualenv if necessary and activate it.

.. code-block:: bash

$ sudo pip3 install virtualenv

$ cd

$ virtualenv venv_auto_py

$ cd venv_auto_py

$ source bin/activate

Install autopytorrent and get an example!

.. code-block:: bash

# 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"

Usage

.. code-block:: bash

$ auto_py_torrent MODE SELECTED_PAGE STRING_TO_SEARCH

See also auto_py_torrent --help.

Examples

Using best_rated mode with torrent_project page:

.. code-block:: bash

$ auto_py_torrent 0 0 "The simpsons"

Using list mode with the pirate bay page:

.. code-block:: bash

$ auto_py_torrent 1 1 "The simpsons"

Meta

Dependencies

autopytorrent 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.

Release History

See HISTORY _.

Licence

MIT: LICENSE _.

Author

Gabriel Scotillo_ (@gabrielscotillo_)

Package index

_.

.. _Gabriel Scotillo: https://ocslegna.herokuapp.com .. _@gabrielscotillo: https://twitter.com/gabrielscotillo

.. :changelog:

Release History

Development +++++++++++

1.0.8 (2017-08-04) ++++++++++++++++++

Improve README.

Improvements

Provide images to README.

1.0.7 (2017-08-04) ++++++++++++++++++

Improve README, PARSER info and provide more explicit information to the user.

Improvements

Provide a better README, PARSER and remove back to menu option once a file was downloaded or already returned.

1.0.5 (2017-07-31) ++++++++++++++++++

Dependency fix and minor usage help.

Bugfixes

Fix bad bs4 dependency string in requires.

1.0.4 (2017-07-29) ++++++++++++++++++

Improve README.

Improvements

Provide a better README.

1.0.3 (2017-07-28) ++++++++++++++++++

Minor.

Bugfixes

Fix the select index of provided list.

1.0.2 (2017-07-28) ++++++++++++++++++

pip3 install integration.

Improvements

Provide install with pip3: sudo pip3 install auto_py_torrent.

1.0.0 (2017-07-28) ++++++++++++++++++

First launch! Gone live.

Improvements

auto_py_torrent runs best_rated and list mode.

5 different sites to search.

Now you can repeat searches and downloads until you get tired.

Can back to menu while searching.

No need of double quotes with ['B', 'b'] options to search.

Minor improvements.

Bugfixes

Fix poor decision making after found content.

Handle bad requests.

0.0.2 (2017-07-26) ++++++++++++++++++

First alpha tests.

Improvements

auto_py_torrent runs best_rated mode.

Bugfixes

Resolve bad domain paths, fix parser, fix init class function, change main function.

0.0.1 (2017-07-23) ++++++++++++++++++

First pre-alpha tests.

Improvements

auto_py_torrent has now all scheduled torrent sites.

Bugfixes

Resolve content for BeautifulSoup instantiation from requests.

Copy from pypi.org

Python3.6标准库 It contains data types that would normally be considered part of the “core” of a language, such as numbers and lists. For these types, the Python language core defines the form of literals and places some constraints on their semantics, but does not fully define the semantics. The library also contains built-in functions and exceptions — objects that can be used by all Python code without the need of an import statement. Some of these are defined by the core language, but many are not essential for the core semantics and are only described here. The bulk of the library, however, consists of a collection of modules. There are many ways to dissect this collection. Some modules are written in C and built in to the Python interpreter; others are written in Python and imported in source form. Some modules provide interfaces that are highly specific to Python, like printing a stack trace; some provide interfaces that are specific to particular operating systems, such as access to specific hardware; others provide interfaces that are specific to a particular application domain, like the World Wide Web. Some modules are available in all versions and ports of Python; others are only available when the underlying system supports or requires them; yet others are available only when a particular configuration option was chosen at the time when Python was compiled and installed. This manual is organized “from the inside out:” it first describes the built-in functions, data types and exceptions, and finally the modules, grouped in chapters of related modules. This means that if you start reading this manual from the start, and skip to the next chapter when you get bored, you will get a reasonable overview of the available modules and application areas that are supported by the Python library. Of course, you don’t have to read it like a novel — you can also browse the table of contents (in front of the manual), or look for a specific function, module or term in the index (in the back). And finally, if you enjoy learning about random subjects, you choose a random page number (see module random) and read a section or two. Regardless of the order in which you read the sections of this manual, it helps to start with chapter Built-in Functions, as the remainder of the manual assumes familiarity with this material.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值