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/URLShotInstall the dependencies:
pip install -r requirements.txtTo run the server, use:
python index.pyNote
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=1080urlURL to take a screenshotwidthWidth of imageheightHeight of image
- Python
- Flask
- selenium
- EdgeDriver
- requests