Set your download using curl

Here is a quick and easy tip to download multiple links from a file.

for i in `cat mp3_links.txt`
do
curl -O $i -A "Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0"
sleep $[ ( $RANDOM % 10 )  + 4 ]s
done


Sample mp3_links.txt:

https://example.com/songs/gentleman.mpeg

….

 

Leave a comment

Your comment