newTrackon icon indicating copy to clipboard operation
newTrackon copied to clipboard

[Request] Web Torrent Support

Open zero77 opened this issue 8 years ago • 3 comments

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

zero77 avatar May 06 '17 10:05 zero77

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

bug-me-not avatar Jan 09 '18 08:01 bug-me-not

@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.

aronanda avatar Aug 14 '21 03:08 aronanda

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.

CorralPeltzer avatar Aug 14 '21 18:08 CorralPeltzer