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

get torrent file from magnet.- #873

Closed
jimsrc opened this Issue Mar 25, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@jimsrc

jimsrc commented Mar 25, 2017

I would like to download get the torrent file associated to a given magnet link.
I found this and this, where they suggest something like:

aria2c --bt-metadata-only=true --bt-save-metadata=true --listen-port=6881 "magnet link url goes here" # I also tried deleting the "listen-port"

As those posts are from 3 years ago, I guess the changes in aria2 implementation made them useless now?
Is aria2 implemented such that it can do it?

@tatsuhiro-t

This comment has been minimized.

Show comment
Hide comment
@tatsuhiro-t

tatsuhiro-t Mar 25, 2017

Collaborator

It should work. A torrent file whose name is hex string of info hash should be created in the directory which -d option specifies. Did you get any errors?

Collaborator

tatsuhiro-t commented Mar 25, 2017

It should work. A torrent file whose name is hex string of info hash should be created in the directory which -d option specifies. Did you get any errors?

@jimsrc

This comment has been minimized.

Show comment
Hide comment
@jimsrc

jimsrc Apr 6, 2017

Ok, now it works if I add a "-d" argument. Specifically:

aria2c -d ~/torrents --bt-metadata-only=true --bt-save-metadata=true --listen-port=6881 "magnet link url" ## Works nice

jimsrc commented Apr 6, 2017

Ok, now it works if I add a "-d" argument. Specifically:

aria2c -d ~/torrents --bt-metadata-only=true --bt-save-metadata=true --listen-port=6881 "magnet link url" ## Works nice

@jimsrc jimsrc closed this Apr 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment