Sign inSign up

edwardaa7/chrome-api

By edwardaa7

•Updated over 8 years ago

Javascript rendering service using Google Chrome browser's headless mode

Image
0

327

edwardaa7/chrome-api repository overview

This simple application is a lightweight alternative to Scrapinghub Splash.

Only one HTTP API is implemented: render_html: Returns the HTML of the Javascript-rendered web page.

When the running the Docker image, it binds locally to port 5000, you can test it by using: curl 'http://localhost:5000/render.html?url=http://www.chromestatus.com⁠'

Replace http://www.chromestatus.com⁠ with any Javascript web page that you would like to render.

A good use case would be to combine this with scrapy when trying to scrape Javascript web pages.

Github location for source code: https://github.com/edwardaa7/chrome-api⁠

Tag summary

Content type

Image

Digest

Size

129.2 MB

Last updated

over 8 years ago

docker pull edwardaa7/chrome-api