How to take screenshots for free in Python

Viewed 45

For a university machine learning project I want to gather full-page website screenshots of ~100,000 websites.

The website URLs are located in a CSV file which I've managed to load into my Python program. I now want to loop through those URLS and screenshot the contents of the sites, and save the images locally.

After some Googling I found a few APIs such as this one but they all have paid plans, and are quite expensive for the amount of screenshots I want to take.

Does anyone know how to take a screenshot of a website without using a paid service in Python?

0 Answers
Related