SaveText.Ru

kvu
  1. curl https://knigavuhe.org/genre/fantastika/|grep 'bookkitem_cover'|grep href|cut -d '"' -f 4|awk '{print "https://knigavuhe.org"$0}'>list.txt
  2.  
  3. while read LINE;do ldir=$(echo $LINE|awk -F '/' '{print $(NF-1)}');echo "cd /media/mint/BA403F67403F2991/KvU;mkdir "$ldir";cd "$ldir;curl -s $LINE|grep mp3|grep audio|tr -s '"' 'n'|grep audio|sed 's/https/curl -O https/g';done < list.txt >worker.sh

Share with your friends:

Print