简体   繁体   中英

PHP get seeders/leechers of .torrent file

我需要一个易于使用的torrent跟踪器,可以输入torrent文件,PHP库将向我发送该torrent文件的种子和水cher虫吗?

You need to use a tracker to get this information, there are a couple out there now XBTT was the most popular for years, now a private site has written their own in house tracker known as ocelot. XBTT responds to a torrent clients http requests and stores information about that torrent in a database. If you are interested in writing your own tracker the point to start is by inspecting the packets that a tracker sends and receives.

All torrent communication is handled via a RESTful GET request so packet inspection is easy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM