LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   How do i get wget to mirror images referenced in CSS files (https://www.linuxquestions.org/questions/general-10/how-do-i-get-wget-to-mirror-images-referenced-in-css-files-836351/)

Spawn10 10-05-2010 12:01 PM

How do i get wget to mirror images referenced in CSS files
 
Newbie here...how do I get wget to mirror images in .css files? I am currently able to use wget to grab the content i want, but the .css images are not being mirrored. How to I get this to work? I am using version 1.11.4 of wget.
Thanks

cargod_hera 10-15-2010 09:57 PM

I'm not entirely certain what you mean when you say you're using wget to "grab the content" you want but not getting the .css files.

Is this your own site, presumably? Or one on which you have permission? Are you saying there are definitely .css files that wget isn't picking up?
I'm a little confused by your question.

If you use the code:

Quote:

wget -p url
you should not only get the webpage but also all other content on the server that goes with it.

Hope this helps.

angilina 10-19-2010 12:58 PM

Check your robots.txt file: make sure that you are not blocking access to the images:


All times are GMT -5. The time now is 04:50 AM.