Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upGet peers uploaded/download info (seeders/leechers) #1255
Comments
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero It's indeed
Log:
|
This comment has been minimized.
This comment has been minimized.
|
Looks correct to me, when a peer has just connected, it hasn't downloaded or uploaded anything to the client, and speed is 0 as it hasn't started the transfer. Seems about right |
This comment has been minimized.
This comment has been minimized.
|
Yeah, but even after waiting for 30min. nothing happens, only the zero's are showing. |
This comment has been minimized.
This comment has been minimized.
|
torrent.on('wire', cb) only gets called when the wire connects. You are seeing all the logs when peers connect, but that's it. |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Hmm, would it be possible to scrape the seeds/peers on the DHT? |
This comment has been minimized.
This comment has been minimized.
|
Doesn't seem like it would be possible. https://github.com/webtorrent/bittorrent-dht doesn't support getting whether a peer is seeder/leecher. |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Could you tell me how is it possible for qBt to get the number of Seeds/Peers? I'm trying to see how they do it. :) bittorrent-dht works, but is it possible to get the down speed/downloaded of this too? |
This comment has been minimized.
This comment has been minimized.
|
I don't know anything about qBt, and I'm not proficient in DHT, as I mostly work in the browser part which doesn't have it.
no, that's only possible with the wire that you are using. |

What version of WebTorrent?
0.98.20
What operating system and Node.js version?
Linux
What browser and version? (if using WebTorrent in the browser)
/
What did you expect to happen?
To get the seed/peers stats
What actually happened?
Empty
What I'm I doing wrong?
Thanks!