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

Can not download torrent file #825

Closed
v0dy opened this issue Jun 5, 2016 · 2 comments
Closed

Can not download torrent file #825

v0dy opened this issue Jun 5, 2016 · 2 comments
Labels

Comments

@v0dy
Copy link
Contributor

@v0dy v0dy commented Jun 5, 2016

I'am trying to download a .torrent from butter.vodo.net API by passing the torrent URL to client.add but i'am getting CORS error, also it seems that neither instant.io nor βTorrent can handle this. Is there any workaround to get it working?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Jun 5, 2016

The webserver needs to be CORS-Enabled. There's no way to access resources from that domain through XHR from another without it. You could ask the domain owner to add CORS. Or if you want to have it on your own site have this small read: https://medium.com/@diegorbaquero/how-to-create-a-swarm-cdn-for-free-with-webtorrent-bfa09d193f71

@feross feross added the question label Jun 5, 2016
@feross feross closed this Jun 5, 2016
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

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