Automatically download stuff from YLE Areena.
Downloads the latest episode of given shows. Run daily (or more often) to get all episodes.
- Install yle-dl. On OS X you can install via homebrew.
- Put Areena search/program URLs into
muumi-dl.list. - Run
muumi-dl. Note that yle-dl output goes into log file.
Use cron or launchd.
export EDITOR=nano.crontab -e.- Add line:
@daily ~/scripts/muumi-dl. - Now muumi-dl runs daily at midnight.
- Copy
fi.sampumon.muumi-dl.plistinto~/Library/LaunchAgents/. - Modify
ProgramArgumentspath in plist to where you installed muumi-dl. Note that you can't use~. - Add to launchd:
launchctl load ~/Library/LaunchAgents/fi.sampumon.muumi-dl.plist(or reboot). - Now muumi-dl runs daily at noon. Start manually anytime:
launchctl start fi.sampumon.muumi-dl.