Downloading Images from lightbox interface

Questions and answers about anything related to Helium Scraper
Post Reply
ecollectica
Posts: 3
Joined: Fri Apr 01, 2011 4:28 am

Downloading Images from lightbox interface

Post by ecollectica » Fri May 20, 2011 1:11 am

Hello,

I wanted to see if there are any examples or help on this forum that download images from the lightbox javascript library. The web site http://www.liveauctioneers.com uses it for displaying their images. Before I try and figure it out, I want to know if anyone have any similar js code they used for a job like this.
Thank you,
Ryan

webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Downloading Images from lightbox interface

Post by webmaster » Fri May 20, 2011 5:37 pm

Hi Ryan,

If you select one of those thumbs while on selection mode, and I think this applies to every lightbox page, and then press the "Select parent" button in the selection panel, and then click on the "View code" button, you should see there the URL of the large version of the picture in the "href" attribute of the "A" element.

So if you create a JavaScript gatherer with the following code in it:

Code: Select all

return element.parentNode.getAttribute("href");
It will give you the URL of the picture from any thumb.
Juan Soldi
The Helium Scraper Team

Post Reply