Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 545
  • Last Modified:

Using wget to mirror a static website


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

wget -r

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

What am i doing wrong?
Pétur Ingi Egilsson
Pétur Ingi Egilsson
  • 2
1 Solution
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.
Use the newest/lastest wget, see the bug report 
This was fixed in this April.
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now