Saturday, July 9, 2022

How to Save Entire HTML Page as Image

How to Save Entire HTML Page as Image

This python script helps you to download entire html page as image(png). There are lots of online tools available to do the same. But, I hope this is also helpful to you as well. There are set of prerequisites need to be installed before execute the script. 

Note: This script only work in Linux environment.

Prerequisites

  • Python3 package
  • Selenium webdriver (pip3 install -U selenium, pip3 install webdriver-manager
In your PC you may experience some other package missing. Please install them as well.

Source Code

Download the source code from GitHub repository.

Link: Download

Execute

Execute the program as follow. Enter URL as command line argument.

No comments:

Post a Comment