Skip to content

Instantly share code, notes, and snippets.

@kchr
Last active August 29, 2015 14:10
Show Gist options
  • Save kchr/afac6892317950fa8d14 to your computer and use it in GitHub Desktop.
Save kchr/afac6892317950fa8d14 to your computer and use it in GitHub Desktop.
Flexget config for Sveriges Radio play (podcasts)
templates:
sverigesradio:
interval: 1 hours
urlrewrite:
sr:
regexp: '/topsy/ljudfil/(?P<id>\d+).(?P<ext>.*)'
format: 'http://sverigesradio.se/topsy/ljudfil/\g<id>.\g<ext>'
regexp:
accept:
- Nytt poddradioavsnitt
# - Ny sändning
tasks:
sr_radiopsyk:
rss: http://api.sr.se/api/rss/program/3637?type=archive
download: /mnt/storage/dl/sverigesradio/p1_radiopsyk
template: sverigesradio
sr_spanarna:
rss: http://api.sr.se/api/rss/program/516?type=archive
download: /mnt/storage/dl/sverigesradio/p1_spanarna
template: sverigesradio
sr_paminuten:
rss: http://api.sr.se/api/rss/program/1307?type=archive
download: /mnt/storage/dl/sverigesradio/p1_paminuten
template: sverigesradio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment