Created
April 6, 2013 16:26
-
-
Save appastair/5326670 to your computer and use it in GitHub Desktop.
Automated Torrents with Bash, RTorrent and RSS Torrent Feeds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@hourly "sh ~/torrent-feeds.sh" # add this line by editing your cron jobs ("crontab -e") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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