flexget.plugins.output.rtorrent_magnet module#
- class flexget.plugins.output.rtorrent_magnet.PluginRtorrentMagnet[source]#
Bases:
objectProcess Magnet URI’s into rtorrent compatible torrent files.
Magnet URI’s will look something like this:
magnet:?xt=urn:btih:190F1ABAED7AE7252735A811149753AA83E34309&dn=URL+Escaped+Torrent+Name
rTorrent would expect to see something like meta-URL_Escaped_Torrent_Name.torrent
The torrent file must also contain the text:
d10:magnet-uri88:xt=urn:btih:190F1ABAED7AE7252735A811149753AA83E34309&dn=URL+Escaped+Torrent+Namee
This plugin will check if a download URL is a magnet link, and then create the appropriate torrent file.
- Example:
rtorrent_magnet: ~/torrents/
- schema = {'format': 'path', 'type': 'string'}#