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

Torrents from https://archive.org omit schemes and hostnames #783

Open
Shawn-Huang-Tron opened this issue Nov 6, 2022 · 1 comment
Open
Labels

Comments

@Shawn-Huang-Tron
Copy link

Shawn-Huang-Tron commented Nov 6, 2022

I have got some torrent's file from here:https://archive.org/
But sounds like that all of these torrent can't be downloaded.

There are some logs below:

2022-11-06T19:09:57+0800 NIL [torrent 55e5f8c36e7cb3208b164f31d3e0b28b0e687d04 github.com/anacrolix/torrent.(*webseedPeer).requestResultHandler:169]: "alice_in_wonderland_librivox": webseed peer for "/8/items/": Request {0 {49152 16384}} rejected: reading "/8/items/alice_in_wonderland_librivox/AliceInWonderland_librivox.m4b" at "bytes=49152-65535": Get "/8/items/alice_in_wonderland_librivox/AliceInWonderland_librivox.m4b": unsupported protocol scheme ""
2022-11-06T19:09:57+0800 NIL [github.com/anacrolix/torrent.(*webseedPeer).requestResultHandler:174]: closing webseed peer for "/8/items/"
2022-11-06T19:09:57+0800 NIL [github.com/anacrolix/torrent.(*webseedPeer).requester.func1:97]: requester 3: error doing webseed request {0 {49152 16384}}: reading "/8/items/alice_in_wonderland_librivox/AliceInWonderland_librivox.m4b" at "bytes=49152-65535": Get "/8/items/alice_in_wonderland_librivox/AliceInWonderland_librivox.m4b": unsupported protocol scheme ""

It shows 'unsupported protocol scheme ""'.
I see your internal examples had this case,and this library support webseed. But why all my case from here(https://archive.org/) is failed? BTW, magnet or torrent file from other origins works well.Thanks.

@anacrolix
Copy link
Owner

It looks like the torrents there omit host names and schemes. This probably requires a small fix to infer them from context.

@anacrolix anacrolix changed the title Sounds like that i can't download all of it Torrents from https://archive.org omit schemes and hostnames May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants