You are not logged in.

#1 2008-02-29 18:02:19

blix88
Member
Registered: 2007-11-19
Posts: 9

wget question

When i run the command...

wget -m http://www.website.com

It goes through and grabs everything except for images that are embeded in style sheets. I've searched all over looking for how to make wget process the image url in the style sheet but can't find anything. Below is an example of an image embeded in a style sheet.

body

{
    margin: 0 0 0 0;
    padding: 0 3 0 10;
    background-image: url(../images/stripe.bmp);
}

I look in the images folder and stripe.bmp is not in there once wget completes. I've also tried 'wget -m -p http://www.website.com' still the same results. No stripe.bmp in the images folder.

Any ideas or should i switch over to another recursive downloader?

Thanks,
Blix

Offline

#2 2008-03-11 00:41:47

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: wget question

how about this

wget -rmp --accept *.[html,bmp] -I * ...

httrack works too.

Offline

Board footer

Powered by FluxBB