Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Miscellaneous > Lounge

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2010, 05:26 PM   #1
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
How to use wget to download an online HTML book

I am trying to download an HTML book at NASA's History Division web site and convert it to ePub. I use the following wget command under Linux:
Code:
wget -H --level=2 -k -p --wait=0.5 http://history.nasa.gov/SP-4205/cover.html
but it downloads only 3-4 pages instead of the whole book as I would expect. What options am I missing? My wget usage is a bit rusty these days.
amoroso is offline   Reply With Quote
Old 10-13-2010, 12:48 AM   #2
Falcao
Banned
Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.Falcao ought to be getting tired of karma fortunes by now.
 
Posts: 1,344
Karma: 1028477047
Join Date: Aug 2010
Location: Nueva Andalucía
Device: Sony PRS 650
Quote:
Originally Posted by amoroso View Post
I am trying to download an HTML book at NASA's History Division web site and convert it to ePub. I use the following wget command under Linux:
Code:
wget -H --level=2 -k -p --wait=0.5 http://history.nasa.gov/SP-4205/cover.html
but it downloads only 3-4 pages instead of the whole book as I would expect. What options am I missing? My wget usage is a bit rusty these days.
I use WinHTTrack for these tasks.
Falcao is offline   Reply With Quote
 
Advertisement
Old 10-13-2010, 06:16 AM   #3
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
Quote:
Originally Posted by Falcao View Post
I use WinHTTrack for these tasks.
I use Linux.
amoroso is offline   Reply With Quote
Old 04-23-2011, 02:02 PM   #4
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
Quote:
Originally Posted by amoroso View Post
I am trying to download an HTML book at NASA's History Division web site and convert it to ePub. I use the following wget command under Linux:
Code:
wget -H --level=2 -k -p --wait=0.5 http://history.nasa.gov/SP-4205/cover.html
but it downloads only 3-4 pages instead of the whole book as I would expect. What options am I missing? My wget usage is a bit rusty these days.
I'm resurrecting this old thread in the hope that someone may be able to help.
amoroso is offline   Reply With Quote
Old 04-23-2011, 10:43 PM   #5
Who are you?
Groupie
Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.Who are you? ought to be getting tired of karma fortunes by now.
 
Who are you?'s Avatar
 
Posts: 184
Karma: 300001
Join Date: May 2009
Device: 505
You'll at least want to add -r
Who are you? is offline   Reply With Quote
Old 04-24-2011, 06:50 AM   #6
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
Quote:
Originally Posted by Who are you? View Post
You'll at least want to add -r
I've tried adding -r, but wget downloads just 3 files.
amoroso is offline   Reply With Quote
Old 04-24-2011, 06:54 AM   #7
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 26,947
Karma: 17036296
Join Date: Mar 2008
Location: Scotland
Device: Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
You have a Kindle I notice ....

Amazon have a version for $1.13 - might save you all the trouble if it's an identical copy ....
http://www.amazon.com/Chariots-for-A...=A7B2F8DUJ88VZ
GeoffC is offline   Reply With Quote
Old 04-24-2011, 07:25 AM   #8
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
Quote:
Originally Posted by GeoffC View Post
You have a Kindle I notice ....

Amazon have a version for $1.13 - might save you all the trouble if it's an identical copy ....
http://www.amazon.com/Chariots-for-A...=A7B2F8DUJ88VZ
I mentioned this book just as an example for learning to use wget, because I am also interested in other titles available at the same NASA site. These books have a similar file hierarchy, so I picked one of them as an example.

I did buy that Kindle edition of Chariots for Apollo, but asked for a refund because it is missing the many illustrations and is badly formatted. See my review.
amoroso is offline   Reply With Quote
Old 04-24-2011, 11:36 AM   #9
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by amoroso View Post
I'm resurrecting this old thread in the hope that someone may be able to help.
Ciao, Paolo!

I have just uploaded a .epub version of this SP-4205 website to our Mobileread.com epub library.

It was originally downloaded using HTTrack in July 2009 (see this post) and most recently converted to .epub using calibre. I cleaned up some irregularities using Sigil as well as manually opening the .epub using winrar and dropping corrected files therein. It took about three hours of fiddling, but I was watching a movie (sort of) at the time as well.

Enjoy!
nrapallo is offline   Reply With Quote
Old 04-24-2011, 11:52 AM   #10
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 26,947
Karma: 17036296
Join Date: Mar 2008
Location: Scotland
Device: Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Och !

Weel Nick flies in to save the day ....
GeoffC is offline   Reply With Quote
Old 04-24-2011, 11:58 AM   #11
amoroso
Groupie
amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.amoroso ought to be getting tired of karma fortunes by now.
 
amoroso's Avatar
 
Posts: 181
Karma: 1004070
Join Date: Jul 2010
Location: Italy
Device: Cybook Opus, Kindle
Quote:
Originally Posted by nrapallo View Post
I have just uploaded a .epub version of this SP-4205 website to our Mobileread.com epub library.
That's great, thanks.

I was finally able to figure how to download all the book. I had to activate recursive mode (-r) and go one level deeper (--level=3). The correct command line is:
Quote:
wget -r -H --level=3 -k -p --wait=1 http://history.nasa.gov/SP-4205/cover.html
Thanks all for the suggestions and help.
amoroso is offline   Reply With Quote
Old 04-25-2011, 06:10 AM   #12
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 26,947
Karma: 17036296
Join Date: Mar 2008
Location: Scotland
Device: Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Pleasure to have driven you around a few bends, over meaningless hills and into dark wooded lanes to get you nowhere where you really wanted to be ...
GeoffC is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
online books and manuals (mostly in html) janneman General Discussions 0 08-28-2010 09:18 AM
Converting online html ebook with Calibre andavane Calibre 6 10-04-2009 05:17 PM
html tree via wget -> epub (or other format) maynard Workshop 4 05-13-2009 07:05 PM
HTML-to-Epub Online Converter available Nate the great ePub 16 02-07-2009 08:52 PM
Online Wikipedia with the iLiad internal html viewer Michele L.M. iRex 0 07-30-2008 09:39 PM


All times are GMT -4. The time now is 01:10 PM.


MobileRead.com is a privately owned, operated and funded community.