-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.

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/
  • 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 – AdeelAhmad Aug 20 '18 at 3:09
  • bummer... you might have to write a script that accomplishes this – Joshua Besneatte Aug 20 '18 at 4:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.