0

I need to get html content of a web page that I need to run from command prompt Is it possible to get open a web page and also to get html content of that web page by running from command prompt?

  • Do you want to extract the html of a web page that is already opened in the browser? Please explain in more detail what exactly you want to achieve. – danzel Jan 30 at 15:09
0

Use wget (you may have to sudo apt install wget).

   GNU Wget is a free utility for non-interactive download of files from the Web.  It
   supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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