Coder Social home page Coder Social logo

simdownloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simdownloader's Issues

download_metadata基本不成功

请问,我请求本机的bt客户端时候可以,一下就成功了.
而请求announce传来的的infohash和地址,却没一个成功的.
有的直接 connetion refused; 有的发了bitfield后就发好多have, 然后就超时了.
应该是哪里出问题啊?

get_neighbor(target, nid, end)作用是什么?

在dht协议中,get_peers的response的参数中的id不应该是请求node的ID么?还有announce_peer的response中id不应该是info_hash么?为什么代码都是用get_neighbor函数代替?函数的target[:end]+nid[end:]是什么含义?

ut_metadata的id问题

你好,问你一个问题
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,

Python error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.