Skip to content

Torrent magnet links #21

Description

@Rabelaiss

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions