dani
dani

Reputation: 341

Download a complete website

I need to download a website with css files included. For example wget -r http://docs.djangoproject.com/en/1.3/ to look up it offline. I have tried to make it with wget but I coudn't (only download *.html). Is there any way to do it with wget?

Inside the downloaded html, "stylesheet" points to the online page not local file .css

<link href="http://www.djangoproject.com/m/css/base.css" rel="stylesheet" type="text/css" media="screen" />

How can I change it in all pages and css files.

Thanks for all,

Upvotes: 1

Views: 849

Answers (2)

jasonwryan
jasonwryan

Reputation: 4556

You need to include a couple more switches, at least:


--page-requisites # get all the elements that compose the page (images, CSS and so on)
--convert-links # convert links so that they work locally, off-line

See the man page for any others you may require...

Upvotes: 3

daysrunaway
daysrunaway

Reputation: 742

If you have a Mac or iPhone, I've had good experience with this app: http://www.sitesucker.us/home.html

Upvotes: 0

Related Questions