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

Adding torrent link by hash #1090

Closed
ploink opened this issue Mar 5, 2018 · 7 comments
Closed

Adding torrent link by hash #1090

ploink opened this issue Mar 5, 2018 · 7 comments
Assignees

Comments

@ploink
Copy link

ploink commented Mar 5, 2018

Adding a torrent link by hash is supported by the transmission web client and it would be very useful as some torrent sites publish the hash but require login to get the torrent.
https://forum.transmissionbt.com/viewtopic.php?t=13000

For example just press ctrl-ins and paste b13e23c89a3b31dca82fd2739b2445e389986b8b to download Fedora-Workstation-Live-x86_64-27
Current version just throws an "unable to open file" error.

Implementation should be easy:
If input identified as a hash then convert to magnet link and submit.
magnet:?xt=urn:btih:b13e23c89a3b31dca82fd2739b2445e389986b8b

@antekgla
Copy link
Contributor

antekgla commented Mar 9, 2018

I'm using torrents for several years and never see a site like you say.
It is a private tracker?
What site is?

@leonsoft-kras
Copy link
Contributor

Yes, it can be done in principle. If the link does not contain the word "magnet:? Xt", then automatically add it.

antekgla added a commit that referenced this issue Mar 10, 2018
Added the possiblity of add a magnet only by the hash.
@antekgla
Copy link
Contributor

Done! 6e5cb4c

Now TransGUI accept adding magnets only by the hash.
Implemented by entering in the Add Magnet Form and also detecting in the Clipboard.

Support SHA-1 Hashes (length=40) and legacy Base32 encoded Hashes (lengh=32)

@ploink
Copy link
Author

ploink commented Mar 10, 2018

@antekgla: Thank you for the quick implementation!

The website that prompted me for a free login to get the torrent is https://kickasstorrents.to/ and obviously I won't do that.
The site may be a fake, but it did give me the hash I needed.

@cfpp2p
Copy link

cfpp2p commented Mar 12, 2018

@ploink
sites like http://thetorrent.org/ , http://btcache.me/ and http://itorrents.org/
these can be integrated https://github.com/cfpp2p/transmission/blob/master/web-client-cfp/advanced/javascript/remote.js#L242 and result in a .torrent download directly.

@antekgla thanks for your work!

@PeterDaveHello
Copy link
Member

v5.15.0 coming.
@antekgla I wonder maybe we could close issue once it's implemented?

@PeterDaveHello
Copy link
Member

v5.15.0 released.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants