-1

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.

1

1 Answer 1

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/
2
  • 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 Aug 20, 2018 at 3:09
  • bummer... you might have to write a script that accomplishes this Aug 20, 2018 at 4:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .