cURLing sites for images
| From: | Wolf | Date: | Mon, 15 May 2006 22:36:06 +0000 |
| Subject: | cURLing sites for images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-236228@lists.php.net to get a copy of this message | ||
OK, I give up (for now at least). I've been trying to figure out a way
to run a single script and download my favorite comics. The problem is
that:
1. The URLs include numerous websites (and the image is hosted on
another server from the original)
2. The filename can change but has the same basic name
What I would love to do is use cURL to load the list of URLs, and then
save all the images within each page into a directory based off the
date. What I have not been able to figure out how to do is use CURL to
open the page and save all the *.gif and *.jpg files only.
Anyone have a good pointer on this? I've been going through the
archives and some tutorials, but most seem for posting to another site,
not snagging files.
Thanks,
Wolf