开发者

PHP get seeders/leechers of .torrent file

I need an easy to use torrent tracker that I can input the torrent file, and the PHP library will send me back seeders and leechers开发者_StackOverflow中文版 of the torrent file?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜