createchen / simdownloader Goto Github PK
View Code? Open in Web Editor NEWDownload metadata from DHT network directly.
License: GNU General Public License v2.0
Download metadata from DHT network directly.
License: GNU General Public License v2.0
请问,我请求本机的bt客户端时候可以,一下就成功了.
而请求announce传来的的infohash和地址,却没一个成功的.
有的直接 connetion refused; 有的发了bitfield后就发好多have, 然后就超时了.
应该是哪里出问题啊?
在dht协议中,get_peers的response的参数中的id不应该是请求node的ID么?还有announce_peer的response中id不应该是info_hash么?为什么代码都是用get_neighbor函数代替?函数的target[:end]+nid[end:]是什么含义?
你好,问你一个问题
def send_ext_handshake(the_socket):
# the handshake message after the first handshake message
msg = chr(BT_MSG_ID) + chr(EXT_HANDSHAKE_ID) + bencode({"m":{"ut_metadata": 1}})
send_message(the_socket, msg)
这里的{"ut_metadata": 1}为什么是1,
sudo python simMetadata.py
Traceback (most recent call last):
File "simMetadata.py", line 10, in <module>
from simDHT import entropy
File "/home/simDownloader/simDHT.py", line 16, in <module>
import simMetadata
File "/home/simDownloader/simMetadata.py", line 10, in <module>
from simDHT import entropy
ImportError: cannot import name entropy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.