Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Parser of weekly podcasts.
- curl -s https://radio-t.com | grep "http://cdn.radio-t.com/" | grep -o "http[^>]*.mp3" | sed 'n;d' | sed '2,$d' >> /tmp/radio-t
- links=/tmp/radio-t
- wget -c -P /mnt16/radio-t/ -i $links
- # -c докачивание в случае обрыва
- # -P путь куда именно скачать
- # -i скачивание файлов из списка
- rm -f /tmp/radio-t
- echo -e '\e[32m'"Done!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement