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

Torrent magnet links #21

Open
Rabelaiss opened this issue Feb 17, 2022 · 0 comments
Open

Torrent magnet links #21

Rabelaiss opened this issue Feb 17, 2022 · 0 comments

Comments

@Rabelaiss
Copy link

Rabelaiss commented Feb 17, 2022

Hi, thank you for the amazing work!
I tried many APIs to short a magnet link, for example

import pyshorteners
s = pyshorteners.Shortener()
s.tinyurl.short('magnet:?xt=urn:btih:44EA47CF8DF204C8E5DF79A255809D47AC94C21B')

and I got https://tinyurl.com/y8ykwlpb which however redirect to
http://magnet/?xt=urn:btih:44EA47CF8DF204C8E5DF79A255809D47AC94C21B
which doesn't work since it does not open the bittorrent client.
Is there a way to short a magnet link?
Thank you

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

1 participant