Downloads all rick and Morty's episodes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
386 B

#/bin/bash
for season in $(seq 1 3); do for episode in $(seq 1 11)
do
as='curl -m 0 -s http://watchseries.do/series/rick-and-morty/season/'$season'/episode/'$episode' | grep player | grep estream | cut -d "\"" --fields=4 | xargs -t curl | grep mp4 | cut -d \" -f 2'
# as='https://it.wikipedia.org/wiki/'$season''$episode
wget $(eval $as) -o "s"$season"e"$episode".mp4"
done;done