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 upHow can I use webseed when download files with hashinfo? #1388
Comments
This comment has been minimized.
This comment has been minimized.
|
From the docs at https://webtorrent.io/docs
You could also create a magnet link using the infohash and url like this let infoHash = 'infohash here'
let webSeed = 'webseed url here'
let magnetLink = `magnet:?xt=urn:btih:${infoHash}&ws=${webSeed}` // you also need to add trackers for torrenting in browser |
This comment has been minimized.
This comment has been minimized.
|
Thank you very much, I just knew that magnet link can be created with infohash and webseed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just knew the concept of webseed and feel like it will solve our problem : downloading starts too late (about 1 minute)
Right now, we have parsed 1000+ files and get their hashinfo stored in our database. Users can search the filename to get the hashinfo, and then download the file using the hashinfo in a web app just like instant.io.
(when user click download, we will call the server host the files to start seeding the target file).
This works fine overall, but very slow. Usually, the downloading starts in about 1 minute.
Since we know where the files are, I think we can add some information, such as webseed url, to facilitate the downloading. But I can not find anything about "using webseed with hashinfo". Is this possible?
Thanks.