rTorrent RSS

Sep 25, 2011·
Julio Batista Silva
Julio Batista Silva
· 2 min read
blog Tutorial
Only download legal content!
Update: consider Sonarr, Radarr, Lidarr, and so on.

If you are one of those people who constantly check whether new Linux ISOs, creative commons music and the like are available on torrent trackers, setting up your computer to check and start the download automatically can save a lot of effort and improve your ratio.

Here I will explain how I set up an rss reader to download every freeleech file from a tracker into one of the folders my rTorrent watches.

On the rtorrent site there is a list of links to RSS utilities. I tried Rssdler, which was first on the list, looked quite simple and was built with rTorrent in mind. Another program I read good things about was Flexget, which I will leave for another post if I try it in the future.

  1. Download RSSDler’s dependencies

    julio@julio-acer ~> sudo pacman -S python-feedparser python-mechanize
    
  2. Download and install RSSDler, available on the AUR

  3. Create the ~/.rssdler folder and copy the configuration file into it

    julio@julio-acer ~> mkdir ~/.rssdler
    julio@julio-acer ~> cp rssdler/config.txt ~/.rssdler
    
  4. Edit the config.txt file to suit your needs. I did not upload my own file, because it contains my keys, but it looks something like this:

    [global]
    downloadDir = /media/externo/Downloads/Torrents/rtorrent/watch/Misc
    workingDir = /home/julio/.rssdler
    minSize = 10
    maxSize = 51200
    log = 3
    logFile = downloads.log
    verbose = 3
    scanMins = 15
    sleepTime = 2
    runOnce = false
    urllib = false
    
    ###################
    # Music
    ###################
    [musicas]
    link = http://www.creativecommonstracker.fm/browse.php?q=format:"FLAC"+is:free&c=0&uid=99xx&passkey=abcdef123456789&rss=1
    minSize = 10
    maxSize = 51200
    directory = /media/externo/Downloads/Torrents/rtorrent/watch/Musicas
    
    ###################
    # Videos
    ###################
    [TV_XVID]
    link = http://on.legal-torrents.com/rss.php?feed=direct&cat=4&user=julio&passkey=abcdef123456789
    minSize = 80
    maxSize = 2048
    directory = /media/externo/Downloads/Torrents/rtorrent/watch/Seriados
    regextrue = (breaking.good|the.big.bang|^the.walking|^family.*S10|community.S03.*LOL)
    regexfalse = (HEBSUB|D0|1080p|720p|STV|R5|CAM|TS|dd5|internal)
    
    [TV_x264]
    link = http://on.legal-torrents.com/rss.php?feed=direct&cat=5&user=julio&passkey=abcdef123456789
    minSize = 100
    maxSize = 3072
    directory = /media/externo/Downloads/Torrents/rtorrent/watch/Seriados
    regextrue = (^serie1.*S08.*720p.*dimension|^serie2.S06.*720p)
    

    rssdler only lets through what matches regextrue and does not match regexfalse.

  5. Run rssdler -r to start normally, or rssdler -d to start as a daemon.


Julio Batista Silva
Authors
Senior Cloud Developer

I’m a Brazilian-German computer engineer based in Germany, passionate about tech, science, photography, and languages.

I’ve been programming for about two decades already, exploring everything from mobile apps and web development to machine learning. These days I focus on cloud SRE and data engineering.

I volunteer in the open source and Python communities, helping organize PyCon DE and PyData Berlin, serving on the PSF D&I Work Group, mentoring, and contributing code and translations.

On my blog, I share Linux tips, setup guides, and personal notes I’ve written for future reference. I hope others find them helpful as well. The content is available in multiple languages.

Browse my gallery for some of my photography.

Away from the keyboard, you’ll find me at concerts, playing clarinet, cycling, scuba diving, or exploring new places, cultures, and cuisines.

Always happy to connect! 🙂

comments powered by Disqus