For example, I love military decorations, and here's Wikipedia's Service Ribbon, how can I download all the ribbon images at once instead of clicking them one by one and then select "Save image as"?


4 Answers 4



Use OS X's Automator.app to find, extract, and save the images from your current web page. The combination of Actions needed are:

  • Get Current Webpage from Safari
  • Get Contents of Webpages
  • Save Images From Web Content

To learn more about using Automator, see Apple's Mac Basics: Automator.



An alternative approach is to use curl through the command line, What's the fastest and easiest way to download all the images from a website.

  • Still relevant in macOS Big Sur. Thank you!
    – uotonyh
    Commented Mar 6, 2021 at 1:28

Using wget:

wget http://en.wikipedia.org/wiki/Service_Ribbon -p -A .jpg,.jpeg,.png -H -nd

-p (--page-requisites) downloads resources like images and stylesheets even when you don't use -r. -A specifies suffixes or glob-style patterns to accept. -H (--span-hosts) follows links to other domains like upload.wikimedia.org. -nd (--no-directories) downloads all files to the current directory without creating subdirectories.

You can install wget with brew install wget after installing Homebrew.

You might also just use curl:

curl example.tumblr.com | grep -o 'src="[^"]*.jpg"' | cut -d\" -f2 | 
        while read l; do curl "$l" -o "${l##*/}"; done

Downloading images from Tumblr or Blogspot:

api="http://api.tumblr.com/v2/blog/example.tumblr.com/posts?type=photo&api_key=get from tumblr.com/api"
seq 0 20 $(curl -s $api | jq .response.total_posts) |
    while read n; do
        curl -s "$api&offset=$n" |
            jq -r '.response.posts[].photos[].original_size.url'
    done | awk '!a[$0]++' | parallel wget -q

curl -L 'http://someblog.blogspot.com/atom.xml?max-results=499' |
    grep -io 'href="http://[^&]*.jpg' | 
    cut -d\; -f2 |
    awk '!a[$0]++' |
    parallel wget -q
  • Where do you get parallel from?
    – nohillside
    Commented Mar 16, 2014 at 12:43
  • You can install parallel and jq with brew install parallel jq after installing Homebrew or with sudo port install parallel jq after installing MacPorts.
    – Lri
    Commented Mar 16, 2014 at 14:05

Using Firefox (tested with v. 61), without additional software:

  1. Find the media tab of the Page Info window. This can be found through one of the following manners:

    • Context menu > View Page Info > Media
    • Context menu for image > View Image Info
  2. Select all image addresses.

  3. Click Save As... and select the folder to download all images to.

You can use Firefox and Flashgot, which is an extension which does pretty much exactly what you are looking for.

You can find Flashgot on the official Mozilla addons website here

Flashgot uses a download manager of your choice, either the one integrated in Firefox, curl, wget, or others. Personally I like DownThemAll!.

  • 1
    Hi welcome to AskDifferent, I find if a question is worth answering it is worth upvoting. Also some instructions and a link may get you more upvotes. Please take the time to read the Answer and Question section of the help page.
    – Deesbek
    Commented Feb 21, 2014 at 0:20
  • @Deesbek expanded answer :)
    – miniBill
    Commented Mar 15, 2014 at 9:54

You must log in to answer this question.

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