Add get-zanza.sh
This commit is contained in:
parent
80f7de1332
commit
8bee8b82f4
1 changed files with 9 additions and 0 deletions
9
get-zanza.sh
Normal file
9
get-zanza.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
cd /home/web/lazanzara.greenpirates.org/
|
||||||
|
|
||||||
|
YEAR=$(date +"%Y")
|
||||||
|
DATA=$(date -v-1d +"%y%m%d")
|
||||||
|
URL="https://podcast-radio24.ilsole24ore.com/radio24_audio/${YEAR}"
|
||||||
|
/usr/bin/fetch "${URL}/${DATA}-lazanzara.mp3?awCollectionId=lazanzara&awEpisodeId=${DATA}-lazanzara" -o ./lazanzara/${YEAR}/20${DATA}-lazanzara.mp3
|
||||||
Loading…
Add table
Add a link
Reference in a new issue