Skip to content

Instantly share code, notes, and snippets.

@appastair
Created April 6, 2013 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appastair/5326670 to your computer and use it in GitHub Desktop.
Save appastair/5326670 to your computer and use it in GitHub Desktop.
Automated Torrents with Bash, RTorrent and RSS Torrent Feeds
@hourly "sh ~/torrent-feeds.sh" # add this line by editing your cron jobs ("crontab -e")
cd ~/torrents/ # where your .torrent files will download and where the data will be saved to
curl "www.dailytvtorrents.org/rss/allshows" | grep -o '<a href="[^"]*' | grep -o '[^"]*$' | xargs wget -c # download the feed, hunt for .torrent urls then save them all locally
rtorrent ./*.torrent # launch rtorrent and load all torrents in this (working) directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment