The old driver programmer teaches you to use Python to get the seeds, the endless kind! Nutrition can't keep up.

Source: Internet
Author: User

Seed/DHT

Torrent files can be obtained by magnetic force to download, which is a matter of direct use of seed download, but less from the magnetic to the seed file a process.

    • Peer: A client/server listening on a TCP port that implements the BitTorrent protocol.
    • Node: A client/server listening on a UDP port that implements the DHT (Distributed hash table) protocol. If you are interested in the DHT protocol, be sure to look at the specific contents of the DHT protocol, which is available in Chinese translation. (If you want to read the project thoroughly, you must first understand the protocol, the Code is based on the implementation of the Protocol)

However, I want to self-sufficiency to obtain magnetic seeds, Google, and found that everyone's code is basically from SIMDHT (GITHUB.COM/FANPEI91/SIMDHT) This project, first of all, this project is very good, But one problem is that the code implementation details are basically not a single line of comments and incompatible with Python3. And many of the same kind of code on the Internet is basically a copy of this ....

So I know I'm going to start working.

After a wave of happy coding

    • Magnettotorrent_aria2c.py uses ARIA2 to convert a magnetic link to a seed file. Tried some other way to convert the magnetic force to seed, but the effect seemed to be less than ideal. Using the Python version of Libtorrent, do not know whether I open the wrong way or it would be inefficient, anyway Leng a seed has not been converted successfully.

There's a picture of the truth

But I still want you to remember the following 24 words of Proverbs

Incoming group: 125240963 to get dozens of sets of PDFs Oh!

The old driver programmer teaches you to use Python to get the seeds, the endless kind! Nutrition can't keep up.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.