How to download .mp3 files whole site?

Solution 1:

With wget command you can use:

wget -c -A '*.mp3' -r -l 1 -nd http://example.org/musics/
  • -c: continue getting a partially-downloaded file.
  • -A: only accept mp3 files. change this format with another format you want to download.
  • -r: recurse
  • -l 1: one level deep (ie, only files directly linked from this page)
  • -nd: don't create a directory structure, just download all the files into current directory.