Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
Announcements

Journal Porn Whitelist's Journal: I'm B-A-A-A-C-K !!! 4

Corrected Script - transposed an el and a one" (thanks to Nucleardog for pointing out I made a fuckup). Corrected script below :-)

Sorry for the hiatus (holidays, stupid dog that eats EVERYTHING, work, etc., but I'm back, and here we go with another simple script:

#!/usr/bin/perl

$site="www.met-art.com";
$dir= "g1";
$file="met-art_fl_00";
$ext=".jpg -w 4";

for ($i=1; $i<=25; $i++) {
if ($i < 10) {
$cmd = "wget $site/$dir/$file" . "0" . $i . $ext;
} else {
$cmd = "wget $site/$dir/$file" . $i . $ext;
}
`$cmd`;
}

25 large pictures (many 2000 x 3000), suitable for "testing" that large-format colour laser down the hall (I wish :-)

prior next

Total to date : 3.866 gigs of porn.

This discussion has been archived. No new comments can be posted.

I'm B-A-A-A-C-K !!!

Comments Filter:
  • Long: I was just about to submit a quick cURL line to download 'em all, but then noticed that all I was getting (instead of images) was HTML files. I tried the address in a browser and also the script you provided (in case I had misinterpreted it when I got the URL for my browser/cURL), all report the same thing...

    Short: 404'd.

    ND
    • curl "http://www.met-art.com/g1/met-art_fl_00[01-25].jp g" -o "met-art_fl_00#1.jpg"
      cURL line to download 'em all. Have fun.

      (Remember to remove the space Slashcode inserts into the URL.)

      ND
      • to automatically make curl save files with the names the server owner gave them (i.e., to save whatever6.jpg as whatever6.jpg) just use -O (capital 'oh').
        curl -O http://www.met-art.com/g1/met-art_fl_00[01-25].jpg
  • I copied the script from one computer to another over breakfast, and substituted a 1 in place of an "el". Damn!

    Thanks for pointing out the error so quickly.

    Enjoy.

Once it hits the fan, the only rational choice is to sweep it up, package it, and sell it as fertilizer.

Working...