in reply to Re^3: getstore protected image
in thread getstore protected image
http://imagecash.net/image.php?file=939164675
Here is the image itself that I cannot access
http://img19.imagecash.net/files666/939164675.jpg
(Janitors note: these URLs may not be safe to access from work)
And this is the script I am working on right now. It takes a URL (as in the first one I posted here) and it scans the image links. Then it follows each of them and gets the image (well, in theory that's what it should be doing.). It can't access the image.
use warnings; use strict; use LWP::Simple; print "Copy ImageCash URL here: "; my $to_get = <STDIN>; chomp($to_get); my $page = get($to_get); my @images; push(@images, "http://www.imagecash.net/image.php?file=$1") while $pag +e =~m[image.php\?file=(\d+)]g; foreach my $image (@images) { my $num = $image; $num =~ m/(\d+\.jpg)/; $num = $1; my $new_page = get($image); $new_page =~ m#src="(http://img\d+\.imagecash\.net/files666)#; getstore("$new_page/$num.jpg", "$num.jpg"); print "Stored image $num.jpg..\n"; }
Edit: g0n - Marked URLs potentially NSFW
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: getstore protected image
by zentara (Cardinal) on Mar 31, 2006 at 23:20 UTC | |
|
Re^5: getstore protected image
by eric256 (Parson) on Mar 31, 2006 at 23:39 UTC |