I cant find a specification for the client side of the BitTorrent protocol, please help. If someone knows a good BitTorrent client with a python API then let me know. I'm trying to build a python package for downloading PDFs from annas archives.
>>107720396the spec is easy to find. if you want an api, look at rtorrent. i remember it being packaged as a library.
unironically just ask ai to point you at protocol specs, it will nudge you to the relevant ones and even notify you about undocumented shit.For example, while I was testing my DNS resolver I didnt understand why single packet multiple domain resolution request wasn't working, turns out all online DNS servers either discard entire packet or anything after 1st domain to prevent DOS attemptshttps://www.bittorrent.org/beps/bep_0003.htmlhttps://www.bittorrent.org/beps/bep_0023.htmlhttps://www.bittorrent.org/beps/bep_0020.html
also there's a python wrapper for transmission API, if making a BitTorrent client is not your goalhttps://pypi.org/project/transmission-rpc/