Get the latest tech news

Show HN: An API that takes a URL and returns a file with browser screenshots


An API that takes a URL and gives back a file with browser screenshots. - US-Artificial-Intelligence/scraper

You run the API on your machine, you send it a URL, and you get back the website data as a file plus screenshots of the site. Scrolls through the page and takes screenshots of different sections Runs in a docker container Browser-based (will run websites' Javascript) Gives you the HTTP status code and headers from the first request Automatically handles 302 redirects Handles download links properly Tasks are processed in a queue with configurable memory allocation Blocking API Zero state or other complexity The only other path is/scrape, to which you send a JSON formatted POST request and (if all things go well) receive a multipart/mixed type response.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Screenshots

Screenshots

Photo of self

self

Photo of URL

URL

Related news:

News photo

Google Lifts Self-Imposed Ban on Using AI for Weapons and Surveillance

News photo

Self-healing Asphalt Could Prevent Potholes and Save Costs on Vehicle Repairs | By embedding tiny plant spores filled with recycled oils into asphalt, scientists have created a material that can mend its own cracks.

News photo

UK Team Invents Self-Healing Road Surface To Prevent Potholes