Automatically download torrent files from a RSS feed

I was looking for a way to parse a RSS feed I built using yahoo pipes and add new torrents to Transmission to download them automatically. I couldn’t find anything useful, so I just wrote a python script to do just that. If you want to use it, you’ll need to configure the first lines of this file to suit your needs. The script is pretty self explanatory.

You can always find the latest version of the script at my github repo

Disclaimer: I use this script to download legal torrents ;)

Comments 5

  1. DurĂ£o wrote:

    there are illegal torrents on the net? ;)

    Posted 27 Jan 2010 at 23:31
  2. admin wrote:

    Not that I am aware of ;)

    Posted 28 Jan 2010 at 02:11
  3. WaKaRu wrote:

    I am having a problemwhen running the script:
    ————
    Could not read date of last feed, using last 3 weeks 2011-04-09 19:28:08.041163
    Traceback (most recent call last):
    File “./rss_download.py”, line 55, in
    lastdate = datetime.fromtimestamp(time.mktime(feedInfo.entries[0].modified_parsed))
    IndexError: list index out of range
    ————
    Any ideas?

    Posted 30 Apr 2011 at 19:29
  4. WaKaRu wrote:

    Forget about the above error… I have just realised that is the usual output when no torrents meeting the ReGex criteria were found.
    Thanks very much for the script! :)

    Posted 30 Apr 2011 at 19:38
  5. simaom wrote:

    Hello,

    Thank you for your comments.

    I updated the script so it gives a more meaningful message when the feed does not contain valid entries.

    You can always get the latest version of the script at my github repo

    :)

    Posted 01 May 2011 at 17:52

Post a Comment

Your email is never published nor shared. Required fields are marked *