LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to get website offline (https://www.linuxquestions.org/questions/linux-software-2/how-to-get-website-offline-499177/)

SentralOrigin 11-06-2006 02:20 PM

How to get website offline
 
I want to view a whole website offline. Not just the home page of it, the whole site so that I can click on the links as well, and view it at the time I had ripped it (doesn't have to be up-to-date offline). How can I do this? I knew how to do this with Internet Explorer but Firefox doesn't have this option in Bookmarks.

kotnik 11-06-2006 02:24 PM

Well, you'll have to go down to the terminal to do this the fastest way. Look the man page for utility called wget. In short, this is how I'd mirror a web site:

wget -m -k http://www.slackware.com

Instead of -m you can use -r -l N, where N is your depth level.

SentralOrigin 11-06-2006 02:29 PM

Can I view the saved pages on Firefox like a website if I were online?

farslayer 11-06-2006 02:30 PM

If it's a dynamic website make sure you use that option to set the depth..

I once pulled a dynamic site that had a calendar on it.. so if you can tell me when a calendar ends I'll tell you how deep this thing was trying to drill... ugh

SentralOrigin 11-06-2006 02:32 PM

I'm trying to download a DVD store website so I can look at their products offline. How would I go about doing this?

kotnik 11-06-2006 02:33 PM

Quote:

Originally Posted by SentralOrigin
Can I view the saved pages on Firefox like a website if I were online?

Yup. -k options does just that - it converts (konverts :) ) links so you'll never go for a online link instead of local one.

SentralOrigin 11-06-2006 02:36 PM

I've been using HTTrack to rip this site.
Where does wget save the pages to?

SentralOrigin 11-06-2006 02:40 PM

If I only want to save a specific part of a website, like all the sites but not everything else in the home page, like www.blahblah.com/onlythis, how can I do that? I think ripping the whole site might take up too much space and time

kotnik 11-06-2006 03:44 PM

wget -m -k -np http://www.blahblah.com/onlythis

-np stands for no-parent.


All times are GMT -5. The time now is 09:23 PM.