Take a screenshot of URL using API
Warning
Unfortunately, Vercel does not support this type of application.
Clone this repository:
git clone https://github.com/kremilly/URLShot
Install the dependencies:
pip install -r requirements.txt
To run the server, use:
python index.py
Note
IMPORTANT: Download and Install the EdgeDriver, you can download this link
http://127.0.0.1:5000/api?url=https://example.com&width=1920&height=1080
url
URL to take a screenshotwidth
Width of imageheight
Height of image
- Python
- Flask
- selenium
- EdgeDriver
- requests