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.