Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 887 Bytes

File metadata and controls

49 lines (33 loc) · 887 Bytes

URLShot

Take a screenshot of URL using API

Warning

Unfortunately, Vercel does not support this type of application.

To locally execute the project

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

Example of request

http://127.0.0.1:5000/api?url=https://example.com&width=1920&height=1080

Queries Parameters

  • url URL to take a screenshot
  • width Width of image
  • height Height of image

Dependencies

  • Python
  • Flask
  • selenium
  • EdgeDriver
  • requests