3

I want to save a webpage with httrack including the executed JavaScript-Output. I'm using:

httrack -r1 URL -O PATH

Currently I'm only getting the .js-source:

"<script src="...js" type="text/javascript"></script>

Is there any option I can add to the httrack-command that will execute the javascript?

Thanks

night4awk
  • 51
  • 1
  • 7
  • 1
    Can you clarify what you mean by "execute the javascript", because Httrack doesn't actually do that, maybe you should try using a Webkit like the one below http://phantomjs.org – Krishnan Venkiteswaran Sep 21 '17 at 09:06
  • 2
    Instead of phantomjs, in this day and age you're better off using headless Chrome. –  Sep 21 '17 at 09:15
  • For example: If I'm mirroring the page "https://www.khanacademy.org/computing/computer-programming/html-css-js/html-css-js-intro/a/review-javascript" with HTTrack the Questions-Section is not part of the output. But if I'm saving the page with Firefox (File -> Save Page As...) the complete page is being downloaded. Is it possbile to do this process in HTTrack? – night4awk Sep 21 '17 at 11:22
  • Can anyone give me an advice? – night4awk Sep 26 '17 at 08:47
  • No reply anymore? – night4awk Nov 03 '17 at 11:52

0 Answers0