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 upWebseed without .torrent #1645
Closed
Webseed without .torrent #1645
Comments
This comment has been minimized.
This comment has been minimized.
|
Hey,
Its not possible to do this.
You require both the magnet and metadata in order to download a torrent
from a WebSeed using a magnet uri.
In a typical scenario with peers who hold the metadata, this option will
work, but if there are no peers with the metadata, this won't work.
Like you've discovered, when using a torrent file, which includes the
needed metadata, this works fine.
If you need any more help with this, please let me know.
Edit:
Just to add to this, you can specify the &xs property in a magnet URI to specify the location of a .torrent file and this will be loaded by WebTorrent and load the metadata from here.
…On Wed, 19 Jun 2019, 16:40 pimboli, ***@***.***> wrote:
Hello,
Is it possible to stream/download a file only having a magnet link and a
webseed?
I have a file called 2.mp4, then I create create a .torrent file with the
command:
create-torrent -urlList 'https://free-cdn.domain.com/2.mp4' 2.mp4 -o
2.torrent
and with *webtorrent info 2.torrent* I extract the info hash.
The Hash I've got: e78341f222031b8c35076c722e5bbf4877d7f5e2
But unfortunatly I cant access the torrent via this magnet link (with
embedded webseed):
magnet:?xt=urn:btih:e78341f222031b8c35076c722e5bbf4877d7f5e2&dn=2.mp4&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%
2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us
%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%
2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz
&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%
2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Ffree-cdn.domain.com%2F2.mp4
When I create a torrent file with
create-torrent -urlList 'https://free-cdn.domain.com/2.mp4' 2.mp4 -o
2.torrent
and open the torrent file I can download and seed the video, then It works
also via the magnet link.
It seems that webtorrent can't handle downloading via magnet if not at
least one peer is connected even tough there is a ws defined...
Why??? What am I doing wrong?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1645?email_source=notifications&email_token=ADS6FYKPDWLTF77ZLJHHZETP3JHOFA5CNFSM4HZK55HKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2N3MVA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADS6FYJGUUAKF7RG7BQFV43P3JHOFANCNFSM4HZK55HA>
.
|
This comment has been minimized.
This comment has been minimized.
|
Hey @pimboli, I'm going to close the ticket as the question has been answered but if you require further help regarding this issue, please feel free to continue in this ticket and we'll try and help you. Many thanks, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Is it possible to stream/download a file only having a magnet link and a webseed?
I have a file called 2.mp4, then I create create a .torrent file with the command:
create-torrent -urlList 'https://free-cdn.domain.com/2.mp4' 2.mp4 -o 2.torrentand with webtorrent info 2.torrent I extract the info hash.
The Hash I've got: e78341f222031b8c35076c722e5bbf4877d7f5e2
But unfortunatly I cant access the torrent via this magnet link (with embedded webseed):
magnet:?xt=urn:btih:e78341f222031b8c35076c722e5bbf4877d7f5e2&dn=2.mp4&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Ffree-cdn.domain.com%2F2.mp4When I create a torrent file with
create-torrent -urlList 'https://free-cdn.domain.com/2.mp4' 2.mp4 -o 2.torrentand open the torrent file I can download and seed the video, then It works also via the magnet link.
It seems that webtorrent can't handle downloading via magnet if not at least one peer is connected even tough there is a ws defined...
Why??? What am I doing wrong?
Thanks.