Skip to content

Instantly share code, notes, and snippets.

@slav123
Created June 6, 2014 10:16
Show Gist options
  • Save slav123/1ce88f778f1f20c7a4ad to your computer and use it in GitHub Desktop.
Save slav123/1ce88f778f1f20c7a4ad to your computer and use it in GitHub Desktop.
wget
#Above solution does not work for me. For me only this one works:
wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off [url of website]
Options meaning:
#-r recursive
#-l1 maximum recursion depth (1=use only this directory)
#-H span hosts (visit other hosts in the recursion)
#-t1 Number of retries
#-nd Don't make new directories, put downloaded files in this one
#-N turn on timestamping
#-A.mp3 download only mp3s
#-erobots=off execute "robots.off" as if it were a part of .wgetrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment