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

Ability to paste a url of a torrent #14

Closed
RayBB opened this issue Aug 26, 2021 · 3 comments
Closed

Ability to paste a url of a torrent #14

RayBB opened this issue Aug 26, 2021 · 3 comments

Comments

@RayBB
Copy link

RayBB commented Aug 26, 2021

I think the title describes it but basically instead of just magnet/infohash it would be great to be able to paste in a url of a torrent file such as https://archive.org/download/prideprejudicewi00austuoft/prideprejudicewi00austuoft_archive.torrent

@varbhat
Copy link
Owner

varbhat commented Aug 26, 2021

@RayBB ,

exatorrent had this feature initially but had removed this feature intentionally because of :

  1. user can use this feature to make server make request/fetch content from any URL.
  2. Implementation of Denylist of Domains

Note that i had even set response size limit of 20MB but intentionally removed it because of above mentioned reasons.

It is easy to implement this feature using

func SpecfromURL(torrentURL string) (spec *torrent.TorrentSpec, reterr error) {

but wasn't implemented for above mentioned reasons.

@RayBB
Copy link
Author

RayBB commented Aug 26, 2021

It would be nice to have one day but your reasons are fair. Especially as designed with the multiple users use case.

@varbhat
Copy link
Owner

varbhat commented Aug 26, 2021

Maybe you can fork and customize for your usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants