到种子库里找,比如迅雷种子库。这个方法最快。 如果是实时的,那就用bep_009协议去peer端请求,可以得到metainfo,我的engiy.com磁力搜索,BT搜索就是这么干的。得到metainfo,再自己组装一个种子文件即可,种子文件是支持nodes字段的。 如果是离线的,只知道infohash,那只能加入dht,慢慢的get_peers找了,成功机率不高。
想要开发一个磁力搜索引擎,已经有 DHT 爬虫可以收集 infohash,可是这些 infohash 如何转成 torrent 成了一道难关立在面前。 先考虑用 bittorrent 官方扩展协议获取 metadata,从 github 上找到了ih2torrent安装使用后发现运行很久也无法获得数据(难道是因为没有独立 ip 的原因吗?),然后又参考了网上提供的第三方种子平...
读取Sql server数据库的t_hashcode表中hashinfo来获取种子,网上通过urlopen2或requests来下载都会返回错误,经过实践,需要添加主机头,把自己伪装成正常浏览器,才能正确下载。 下载torrent主要有两种方法:一种是通过网上的种子库,比如Bitcomet和迅雷的,这两种现在不好下,我主要是通过网络上的公用种子库下载,感觉种子库的量...
我参考你的项目解析出来种子的info_hash是33539c16ef7240c53ec803282de3578a13985f8e,但是如果用这个hash去请求tracker服务器的时候,一直提示服务器400,后来我抓BitComet的包的时候,发现BitComet发送的info_hash是3S%9C%16%EFr%40%C5%3E%C8%03%28-%E3W%8A%13%98_%8E.大佬,能请教下这个编码是什么吗? 天马...
torrentname = sys.argv[1] mangetlink = magneturi.from_torrent_file(torrentname) print (mangetlink) 然后执行下列代码: python tohash.py 20170609中国文艺周末版——向上海美术制片厂致敬.mp4.torrent 执行结果 得到的磁力链是32位hash的,这和用utorrent等软件添加任务复制的manget链接是一样的,但是基本上不...
torrentname = sys.argv[1] mangetlink = magneturi.from_torrent_file(torrentname) print (mangetlink) 然后执行下列代码: python tohash.py 20170609中国文艺周末版——向上海美术制片厂致敬.mp4.torrent 执行结果 得到的磁力链是32位hash的,这和用utorrent等软件添加任务复制的manget链接是一样的,但是基本上不...
import{toMagnetURI,toTorrentFile}from'parse-torrent'consturi=toMagnetURI({infoHash:'d2474e86c95b19b8bcfdb92bc12c9d44667cfa36'})console.log(uri)// 'magnet:?xt=urn:btih:d2474e86c95b19b8bcfdb92bc12c9d44667cfa36'constbuf=toTorrentFile({info:{/* ... */}})console.log(buf) ...
针对你的问题“if aria2 was downloading same info hash torrent at that moment”,我将根据提供的参考信息和给出的tips,分点进行回答: 确认aria2是否正在运行: 要确认aria2是否正在运行,你可以使用系统命令来检查进程。在Linux系统中,可以使用如下命令: bash ps aux | grep aria2 如果aria2正在运行,你会在...
script allows you to scrape torrent tracker information using UDP trackers to retrieve details such as the number of seeders, leechers, completed downloads, and infohash details for specified torrents. - Codefa/nodejs-UDP-Torrent-Scrape
编辑:实际上,这个值听起来就像你引用的“本编码字典”,它看起来是一个字符串。您应该如何在哈希之前...