Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we add support for remote CDP driven browser? #419

Open
nicoandmee opened this issue Nov 26, 2024 · 1 comment
Open

Can we add support for remote CDP driven browser? #419

nicoandmee opened this issue Nov 26, 2024 · 1 comment

Comments

@nicoandmee
Copy link

Suggestion: Allow for interfacing with chromium-based browsers using CDP protocol. This is needed for scraping "sensitive" sites and the like, where using a custom build of chromium in a docker container is required. CDP feels perfect for this use-case, but I am curious to hear your thoughts.

@snshn
Copy link
Member

snshn commented Dec 2, 2024

Hi Nico!

That's a pretty cool idea. I've used CDP just recently for a very cool scraping project working with a lovely bunch of folks; it seems to be widely utilized for an array of things. Custom builds of Chromium in a Docker container and just something cloud-based are certain use cases, there may be more. I'll look into how to make it work.

Meanwhile, I think you could achieve this by making the Docker container print the HTML into STDOUT, and then piping that to monolith, it supports STDIN via pipes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants