CorralPeltzer / newTrackon

newTrackon, a public open BitTorrent trackers monitoring tool
https://newtrackon.com
MIT License
599 stars 58 forks source link

[Request] Web Torrent Support #7

Open zero77 opened 7 years ago

zero77 commented 7 years ago

Can you add support for web torrent in your list (ws:// and wss://).

wss://tracker.openwebtorrent.com

wss://tracker.btorrent.xyz

wss://tracker.fastcast.nz

Thanks

bug-me-not commented 6 years ago

+1 :: wss://tracker.webtorrent.io

aronanda commented 3 years ago

@CorralPeltzer I'm more versed in js than python but I've been digging through much of the webtorrent codebase and working with the ws side of the tracker. I might be able to help implement a solution.

CorralPeltzer commented 3 years ago

Hi! Sure, PRs are welcomed. If you're thinking on using the official webtorrent tracker client implementation, I guess using Python bindings to call Javascript should be doable. Otherwise, there's a couple of solid Python websockets libraries like [1] or [2]

Keep in mind that if you want to provide meaningful error messages, you might need to go fairly low level (timeout, DNS resolution failure, etc). Not a hard requirement anyways.