Using wget to mirror a static website

Hello

I'm trying to use wget to mirror website with static content.

wget -r www.site.zyx

It will download all files from the webpage, except those linked to from within .css files.

What am i doing wrong?
LVL 10
Pétur Ingi EgilssonSoftware Engineer -- ConsultantAsked:
Who is Participating?
 
IgorALConnect With a Mentor Commented:
Use the newest/lastest wget, see the bug report
https://savannah.gnu.org/bugs/index.php?20395 
This was fixed in this April.
0
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantAuthor Commented:
I tried the -m switch.. same problem.
wget does not look into the .css files it gets to check wether they are linking to other files or not.
0
 
Pétur Ingi EgilssonSoftware Engineer -- ConsultantAuthor Commented:
I'm using Debian GNU/Linux.. according the the repos the latest stable version of  Wget is version 1.10.2
Updated it and problem solved.

thanks IgorAL
0
All Courses

From novice to tech pro — start learning today.