We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! I want to convert a magnet link to a torrent file. For the test I took this code:
import asyncio from magnet2torrent import Magnet2Torrent, FailedToFetchException async def fetch_that_torrent(): m2t = Magnet2Torrent("magnet:?xt=urn:btih:e2467cbf021192c241367b892230dc1e05c0580e&dn=ubuntu-19.10-desktop-amd64.iso&tr=https%3A%2F%2Ftorrent.ubuntu.com%2Fannounce&tr=https%3A%2F%2Fipv6.torrent.ubuntu.com%2Fannounce") try: filename, torrent_data = await m2t.retrieve_torrent() except FailedToFetchException: print("Failed") asyncio.run(fetch_that_torrent())
I don't understand why, but this code always returns "Failed"...
Please tell me what I'm doing wrong? How can I enable debug mode?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello! I want to convert a magnet link to a torrent file. For the test I took this code:
I don't understand why, but this code always returns "Failed"...
Please tell me what I'm doing wrong? How can I enable debug mode?
The text was updated successfully, but these errors were encountered: