LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-05-2010, 12:01 PM   #1
Spawn10
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
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
 
Old 10-15-2010, 09:57 PM   #2
cargod_hera
LQ Newbie
 
Registered: Apr 2010
Location: Dallas, TX
Distribution: Simply MEPIS, OpenArtist, Ubuntu 10.04, Mint, Elive, Epidemic, Kongoni, Anibus, BackTrack4
Posts: 29

Rep: Reputation: 2
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.
 
Old 10-19-2010, 12:58 PM   #3
angilina
LQ Newbie
 
Registered: Nov 2007
Posts: 2

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS: Floating Images and H1 CoderMan Programming 2 01-20-2010 03:17 PM
wget doesn't fetch CSS in M$ Conditional Comments phptek Linux - Software 0 05-25-2009 11:37 PM
help with wget for offline webpages (CSS?) Ryzol Linux - Software 1 02-21-2008 09:01 AM
images and CSS rblampain General 2 02-28-2007 03:27 AM
wget and mirror scottrell Linux - General 1 05-30-2003 04:54 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration