diff --git a/README.md b/README.md index 7bc2fae..3656944 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ # Download podcasts + +# Example config.yaml + + entries: + - name: darknetdairies + url: https://feeds.megaphone.fm/darknetdiaries + limit: 1 + filename_type: title + + - name: changelog + url: https://changelog.fm/rss + limit: 2 + filter: '.link == "*news*"' + filename_type: title + diff --git a/down.sh b/down.sh index 9f4c5d4..133d705 100755 --- a/down.sh +++ b/down.sh @@ -6,7 +6,7 @@ mkdir -p ./{cache,state,Podcasts} -YQ=~/bin/yq +YQ=yq yqf() { $YQ "$1" config.yaml @@ -35,8 +35,6 @@ make_fname() { esac } -export ALL_PROXY="socks5h://127.0.0.1:9050" - download() { local e name url limit mp3url fname ftype title e=$1