Download all images at distance 2 using Mac OS X

0

I need to download all the images from a website on my computer. The images are not listed all in one page. Instead I have an index page that links a set of pages (page1.html, page2.html, ...) each with many images inside.

DownThemAll of Firefox only downloads the images from a single page.

There is no wget, but still I understand it would download the images from one page. In a sense I need the images at distance 2. Linked to a link from a page.

Pietro Speroni

Posted 2013-08-13T16:48:12.537

Reputation: 143

Why not ask the creator/owner of that website to mail them you you? Or to put them in an archive ? – Hennes – 2013-08-13T16:57:35.897

1What do you mean by "there is no wget"? – slhck – 2013-08-13T17:05:18.237

Their website is really badly done. I don't think they invest any time in it. So the only way to look through those pictures is offline. – Pietro Speroni – 2013-08-13T17:07:40.063

mac osx does not have wget. I would have to install it – Pietro Speroni – 2013-08-13T17:08:03.487

1Would that be an issue for you? This is the tool for that job. – slhck – 2013-08-13T17:42:06.920

ok, but how do I use it? – Pietro Speroni – 2013-08-13T18:38:07.470

Answers

2

You can install wget on OS X through Homebrew or MacPorts.*

Then, it's as simple as:

wget -nd -A jpg,gif -r http://example.com

* If this is too complicated for you. alternatively there's a 2008 blog with a prebuilt version, but it might not work in all cases.

slhck

Posted 2013-08-13T16:48:12.537

Reputation: 182 472

thanks. Installed with brew, and works like a chasm. I also learned about a really important tool. :-) – Pietro Speroni – 2013-08-13T20:40:28.203