diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-01-01 10:31:45 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-01-01 10:31:45 -0500 |
| commit | ff2defbd0114a957ac6c660b42b29c233d52ce15 (patch) | |
| tree | 4229824513980a16cd8980ac8225cab7a081afdd /aoyb.sh | |
| parent | d8375da4c81a46357783a55955b802cd8ae0ad11 (diff) | |
| download | cgi-bin-ff2defbd0114a957ac6c660b42b29c233d52ce15.tar.gz | |
aoyb: fix url
Diffstat (limited to 'aoyb.sh')
| -rwxr-xr-x | aoyb.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aoyb.sh b/aoyb.sh index ac00698..ef1ab50 100755 --- a/aoyb.sh +++ b/aoyb.sh @@ -2,14 +2,14 @@ case "$PATH_INFO" in "") printf '20 text/gemini\r\n' - curl https://audio.oneyearbible.com/ | grep mp3 |sed 's/href="/\t/g' |cut -f2 |cut -d '"' -f1 | sed 's/^/=>/g' + curl https://audio.oneyearbibleonline.com/ | grep mp3 |sed 's/href="/\t/g' |cut -f2 |cut -d '"' -f1 | sed 's/^/=>/g' ;; *.mp3) printf "20 audio/mpeg\r\n" - curl --output - "https://audio.oneyearbible.com/$PATH_INFO" + curl --output - "https://audio.oneyearbibleonline.com/$PATH_INFO" ;; *) printf '20 text/gemini\r\n' - printf '=> https://audio.oneyearbible.com/%s' "$PATH_INFO" + printf '=> https://audio.oneyearbibleonline.com/%s' "$PATH_INFO" ;; esac |
