AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Scrape websites using Playwright.

Open carlosplanchon opened this issue 1 year ago • 0 comments

Duplicates

  • [X] I have searched the existing issues

Summary 💡

Since this is a technology more powerful that Selenium, I propose it as a feature to use on AutoGPT.

Playwright also support multiple browsers: https://github.com/Significant-Gravitas/Auto-GPT/issues/3027

Some days ago I made a docker image which uses Playwright with an spoofed User-Agent, AdBlocking capabilities and a "stealthy" browser configuration.

URLs: https://hub.docker.com/repository/docker/carlosplanchon/playwright_splash/general https://github.com/carlosplanchon/playwright_splash

Description: Simple Playwright scraper which receives an URL and returns the website code.

Examples 🌈

https://github.com/carlosplanchon/playwright_splash https://hub.docker.com/repository/docker/carlosplanchon/playwright_splash/general

Motivation 🔦

I made playwright_splash for a different use case, and I bring the solution here because I saw on Discord that you are also battling with this kind of problems.

carlosplanchon avatar Apr 24 '23 22:04 carlosplanchon