I am wondering if there is any software available in OS X that can download all mp3s or specific type of file from a URL. For e.g. I have a url http://www.parweztv.com/Khan%20Adeeb/SURA-04/ and I want to grab all mp3 from this url instead of right clicking one by one and saving it.

Also wondering, if that can be done using wget or some terminal command in OS X?


3 Answers 3


You can use wget like this:

wget -r -nd -A.mp3 http://www.parweztv.com/Khan%20Adeeb/SURA-04/

-r to recursively download all files below the level of the URL specified

-nd to not create a hierarchy of directories in your download location (not necessary)

-A to specify the files you want to download (all files ending in .mp3 in your case)

You can obtain wget for OSX via homebrew or macports.

  • 1
    I like the wget solution since you can specify the type of files. Although I used it with --no-parent and -l1 options so that it will not go to the parent directory and max depth will be 1 therefore my final command was wget -r -nd -l1 --no-parent -A mp3 http://www.parweztv.com/Khan%20Adeeb/SURA-04/
    – Arsal
    Commented Aug 3, 2013 at 15:10

My recommendation would be SiteSucker. It's a great (free) application! It will allow you to download folders from a site. So, just enter in your URL and click "Download"

sitesucker image

SiteSucker is a Macintosh application that automatically downloads Web sites from the Internet. It does this by asynchronously copying the site's Web pages, images, backgrounds, movies, and other files to your local hard drive, duplicating the site's directory structure. Just enter a URL (Uniform Resource Locator), press return, and SiteSucker can download an entire Web site.

  • It is nice, but does not answer the specific question for downloading mp3 only.
    – Ruskes
    Commented Aug 3, 2013 at 10:29
  • 1
    Haven't used Site Sucker in years, but the settings icon in the screenshot above does reveal a File Types dialog which would solve this specific question.
    – AllInOne
    Commented Aug 3, 2013 at 12:29
  • @AllInOne Yes sorry I didn't mention that...
    – daviesgeek
    Commented Aug 5, 2013 at 5:07

You can write a script for that (preferably in PHP or python, or any other scripting language which has bindings to libxml). but I'm not aware of any solutions that use curl or wget only.

However, there exist GUI level programs for batch downloading. One example is the DownThemAll! Add-On for Firefox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .