Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magnetURI not working in browser version (instant.io) #1758

Open
aalfiann opened this issue Oct 11, 2019 · 5 comments
Open

magnetURI not working in browser version (instant.io) #1758

aalfiann opened this issue Oct 11, 2019 · 5 comments
Labels

Comments

@aalfiann
Copy link

@aalfiann aalfiann commented Oct 11, 2019

What version of this package are you using?
v0.107.16

What operating system, Node.js, and npm version?
Ubuntu 18.04, npm 6.11.3 and node 10.16.3

What happened?
Magnet URI from kickass and piratesbay is not working in webtorrent browser version, but when I tried to use in webtorrent desktop it is working.

What did you expect to happen?
this magnetURI should be working in browser for example instant.io, because webtorrent desktop have no issue with this magnetURI.

magnet:?xt=urn:btih:223f7484d326ad8efd3cf1e548ded524833cb77e&dn=Avengers.Endgame.2019.1080p.BRRip.x264-MP4&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969

Are you willing to submit a pull request to fix this bug?
Yes I will, but at first I want to know what is the problem happened here?
Thank you

@aalfiann aalfiann changed the title magnetURI not working in magnetURI not working in browser version (instant.io) Oct 11, 2019
@RecoX

This comment has been minimized.

Copy link

@RecoX RecoX commented Oct 12, 2019

What version of this package are you using?
v0.107.16

What operating system, Node.js, and npm version?
Ubuntu 18.04, npm 6.11.3 and node 10.16.3

What happened?
Magnet URI from kickass and piratesbay is not working in webtorrent browser version, but when I tried to use in webtorrent desktop it is working.

What did you expect to happen?
this magnetURI should be working in browser for example instant.io, because webtorrent desktop have no issue with this magnetURI.

magnet:?xt=urn:btih:223f7484d326ad8efd3cf1e548ded524833cb77e&dn=Avengers.Endgame.2019.1080p.BRRip.x264-MP4&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969

Are you willing to submit a pull request to fix this bug?
Yes I will, but at first I want to know what is the problem happened here?
Thank you

The magnet link that you are trying to download from there has not active HYBRID seeders that's why is not working on webtorrent.js ("browser") and yes on webtorrent-desktop

more info here:
https://webtorrent.io/faq

@tangingw

This comment has been minimized.

Copy link

@tangingw tangingw commented Oct 12, 2019

@KayleePop KayleePop added the question label Oct 13, 2019
@RecoX

This comment has been minimized.

Copy link

@RecoX RecoX commented Oct 13, 2019

I am having the same issue. I wonder how we can obtain or include hybrid seeder?

Simply download the torrent with webtorrent-desktop and when is complete you have the first hybrid seeder for that torrent.

@aalfiann

This comment has been minimized.

Copy link
Author

@aalfiann aalfiann commented Oct 13, 2019

How to determine hybrid seeder is available or not? At least instant.io have to inform the user if the hybrid seeder is not available.

@VictorV96

This comment has been minimized.

Copy link

@VictorV96 VictorV96 commented Nov 19, 2019

How to sow the created torrent in the network, which is the web version of webtorrent.js. Ie the code below does not work
const WebTorrent = require('webtorrent-hybrid')
const client = new WebTorrent()
const filePath = '5.mp4'

console.log('filePath:', filePath)

client.seed(filePath, torrent => {
console.log('torrentId (info hash):', torrent.infoHash)
console.log('torrentId (magnet link):', torrent.magnetURI)
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.