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.
Or read this on Hacker News