Skip to content

Docker with puppeeter and node js to serve html content by url

Notifications You must be signed in to change notification settings

FrancescoErmini/ecco_wget

Repository files navigation

import requests import os

ECCO_WGET_URL = os.environ.get("ECCO_WGET_URL", "http://0.0.0.0:3000")

data = { 'url': 'http://francescoermini.it', 'custom_js': 'mark_hidden_elements' }

response = requests.post(ECCO_WGET_URL, data=data) print(response.text)

TEST FOR PAGINATION:

{"url":"https://scrapeme.live/shop/", "wait_until":"networkidle0", "viewport":"1920x3000", "headless":true, "pagination":{ "type": "selector", "value": "#main > div > nav > ul > li:nth-child(6) > a" } }

About

Docker with puppeeter and node js to serve html content by url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published