Answer the question
In order to leave comments, you need to log in
How to download a web page using the command line
You need to download a web page using the command line.
I pass the URL to the input, the program executes java scripts and saves the HTML page to a file.
Like wget, but with javascript support.
How can this be done? Maybe some browser can do it?
Platform - preferably UBUNTU
Answer the question
In order to leave comments, you need to log in
phantomjs works fine with js and can take screenshots of pages. Well, plus nice things, such as running your own js on the page (for example, jquery). I used it myself - I liked it.
If you don’t find anything, I can try to roll out a console utility in Java for you. Need it - write in a personal.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question