Sign inSign up

tweedge/requests-html-layer

By tweedge

Updated over 1 year ago

Image with playright and requests-htmlc built in, for easier web scraping with Python in Docker.

Image
0

1.1K

tweedge/requests-html-layer repository overview

requests-html-layer

DockerHub Link License Written By Author Also Writes On

Python 3.12-slim with Playwright and requests-htmlc built in.

I couldn't get the original requests-html to work reliably - the original depends on pyppeteer but seems to ignore pyppeteer environment variables. For my case requests-htmlc works as a drop-in replacement.

Pretty large image. Works as a non-root user. Tested before push. Clone and build your own if you want stability or recency. :)

Environment

  • User: nonroot
  • Workdir: /home/nonroot
  • Shell: /bin/bash

Load your code wherever, set your entrypoint, and enjoy.

Tag summary

Content type

Image

Digest

sha256:078347cce

Size

1.2 GB

Last updated

over 1 year ago

docker pull tweedge/requests-html-layer