Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
47
rated 0 times [  47] [ 0]  / answers: 1 / hits: 70995  / 2 Years ago, fri, september 23, 2022, 1:12:14

Firefox was loading very slow, so I decided to use wget to save HTML files.I used the following command,



wget http://textbook.s-anand.net/ncert/class-xii/chemistry/hello-this-first-chapter


The files have been saved in my home folder.But I don't know where the images are stored.I need them to use in Anki.



So where are the images stored?


More From » downloads

 Answers
0

I prefer to use --page-requisites (-p for short) instead of -r here as it downloads everything the page needs to display but no other pages, and I don't have to think about what kind of files I want.



Actually I'm usually using something like



wget -E -H -k -p http://textbook.s-anand.net/ncert/class-xii/chemistry/hello-this-first-chapter


This means:




  • -E: Append .html to the file name if it is an HTML file but doesn't end in .html or similar

  • -H: Download files from other hosts, too

  • -k: After downloading convert any link in it so they point to the downloaded files

  • -p: Download anything the page needs for proper offline viewing


[#28498] Sunday, September 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
motivengry

Total Points: 459
Total Questions: 112
Total Answers: 108

Location: Bonaire
Member since Sat, May 1, 2021
3 Years ago
motivengry questions
Tue, Oct 4, 22, 10:02, 2 Years ago
Wed, May 31, 23, 14:33, 12 Months ago
;