gaffner / PyBitTorrent

MIT License
4 stars 2 forks source link

Peer scraping limtied to 200? #21

Closed Sprooty closed 4 months ago

Sprooty commented 9 months ago

I have dug through the code and cannot work out why there is a 200 limit on peer returns?

2024-01-06 22:52:39.226 INFO UDPTracker - get_peers: success in scraping ***** got 200 peers?

Sprooty commented 9 months ago

*is this trackers limiting their return to 200?

gaffner commented 9 months ago

Hi! can you attach the full output\scriptshot? if you can give me the torrent file itself it can be great to. There should be no such restriction, and im not familiar with any global limition in the number of peers. it can be implemented in the UDP Tracker side however. Again, send me more info and i'll be happy to help you :)

Sprooty commented 9 months ago

Hey Gaffner,

I did some quick googling lastnight and there is suggestion that most trackers will only respond with the top/most appropriate peers limited to 200. Kind of a bummer given the project i'm working on (which isnt to actually download the content!).

Am now wondering if DHT, PEX or LsD may yeild more peers..

gaffner commented 8 months ago

Sorry to hear that! Maybe DHT will answer your needs. Anyway thank you for using my python library!

This research you do, is it part of your work or just for fun? Im curious.

Sprooty commented 8 months ago

Fun. Nothing to do with work thankfully!

On Fri, Jan 12, 2024 at 4:00 AM Gaffner @.***> wrote:

Sorry to hear that! Maybe DHT will answer your needs. Anyway thank you for using my python library!

This research you do, is it part of your work or just for fun? Im curious.

— Reply to this email directly, view it on GitHub https://github.com/gaffner/PyBitTorrent/issues/21#issuecomment-1887583165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7VKPD55A5BQVFL7O2FEETYOALD3AVCNFSM6AAAAABBPQBRVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGU4DGMJWGU . You are receiving this because you authored the thread.Message ID: @.***>