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

mag2tor.py: KeyError: 'unknown name in torrent params: paused' #3

Open
booshnelli opened this issue Oct 14, 2022 · 3 comments
Open

Comments

@booshnelli
Copy link

Hello there!
This little program of yours is exactly what I'm looking for, although unfortunately it doesn't seem to work at the moment. I have libtorrent-rasterbar10, libtorrent-rasterbar-dev, and python3-libtorrent all installed. Running python3 mag2tor.py [MAGNET] results in:

Traceback (most recent call last):
  File "/mnt/data/shared1/Projects/mag2tor/mag2tor.py", line 41, in <module>
    for mag_link in sys.argv[1:]: mag2tor(mag_link)
  File "/mnt/data/shared1/Projects/mag2tor/mag2tor.py", line 20, in mag2tor
    torr = libtorrent.add_magnet_uri(sess, mag_link, prms)
KeyError: 'unknown name in torrent params: paused'

According to some stuff online, the add_magnet_uri function of libtorrent has been deprecated, so I suppose that probably has something to do with it!

Here's a couple references to that:

Hope this can be of some help! :)

@booshnelli
Copy link
Author

Ah splendid! Had no idea about aria2 but it seems to work like a charm, thanks a bunch for the heads up! 👍
Out of curiosity, where'd you get that list of trackers from though?

@zvezdochiot
Copy link

@booshnelli say:

Out of curiosity, where'd you get that list of trackers from though?

Collected. https://github.com/Network-BEncode-inside/torreadwrite . But haven't updated in a long time!

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

2 participants