I want to download this webpage located deep: example.com/a/b/c/d
The problem that I am having is that wget --recursive --page-requisites example.com/a/b/c/d
does not download the css or js files. It only downloads a single html file.
Asked
Active
Viewed 65 times
-1

Adeel Ahmad
- 32
-
Perhaps this might be useful: https://askubuntu.com/q/20463/57576 – andrew.46 Aug 18 '18 at 03:20
1 Answers
0
Per this page:
Downloading an Entire Web Site with wget
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains website.org \
--no-parent \
www.website.org/tutorials/html/

Joshua Besneatte
- 4,773
- 5
- 23
- 42
-
thanks for the comment, no this does not work. it only downloads a simple file, renames it with a html extension. but the depending css, js files are not downloaded at all – Adeel Ahmad Aug 20 '18 at 03:09
-
bummer... you might have to write a script that accomplishes this – Joshua Besneatte Aug 20 '18 at 04:33