简体   繁体   English

PHP获取.torrent文件的播种者/抵押者

[英]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多年来最受欢迎的,现在一个私人站点已经编写了自己的内部跟踪器ocelot。 XBTT responds to a torrent clients http requests and stores information about that torrent in a database. XBTT响应torrent客户端的http请求并将有关该torrent的信息存储在数据库中。 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. 所有种子通信都是通过RESTful GET请求处理的,因此数据包检查很容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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