in reply to Re^2: getstore protected image
in thread getstore protected image
- GET the original html page containing img links
- build an array of URLs for the images
- for each image URL, use LWP to GET the image. In this step, you'll need to change the referer to the URL of the original page.
See perldoc LWP and perldoc HTTP::Headers. When you use LWP you create an LWP::UserAgent object, and you can pass an HTTP::Headers object to the LWP::UserAgent's get() method. Populate the HTTP::Headers object with... headers, including 'referer' => $originalURL.
|
---|