[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: annas-archive-2615228553.png (1.27 MB, 1024x1024)
1.27 MB
1.27 MB PNG
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.
>>
>>107720396
the 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 attempts
https://www.bittorrent.org/beps/bep_0003.html
https://www.bittorrent.org/beps/bep_0023.html
https://www.bittorrent.org/beps/bep_0020.html
>>
also there's a python wrapper for transmission API, if making a BitTorrent client is not your goal
https://pypi.org/project/transmission-rpc/



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.