[smokeping-users] curl and websites

Peter Kristolaitis alter3d at alter3d.ca
Tue Dec 4 15:24:13 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephane Bortzmeyer wrote:
> On Tue, Dec 04, 2007 at 08:04:24AM -0500,
>  Peter Kristolaitis <alter3d at alter3d.ca> wrote 
>  a message of 56 lines which said:
> 
>> wget -r -l 1 http://www.url.com
> 
> Certainly not. -r (--recursive) downloads everything linked from the
> page, including other pages...
> 

Doh!  You're right, of course.  I had tested it with Google's main page
and it seemed to work OK, but testing with my company's website
definitely pulls in extra stuff.

Perhaps 'wget -p http://www.url.com' might work?  The -p option is

    -p,  --page-requisites    get all images, etc. needed to display
HTML page.

It seems to pull in <object>s like Flash, etc.

- --
Peter Kristolaitis
DBA / Code Monkey / General Geek

OpenPGP/GPG Key available from pgp.mit.edu

Key Fingerprint: 695D 7616 9903 6002 5756
                 D234 6E96 34B2 F974 14FE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVWMNbpY0svl0FP4RAgjzAJ9H6oBe1FFkHSSDgh89gmpEO2IQXwCdGqFi
SjlVJXo5H1peBrsPqAyYh94=
=lf/C
-----END PGP SIGNATURE-----



More information about the smokeping-users mailing list