by showerst · 1y ago · 0 comments
If a website isn't using Cloudflare or a JS-only design, it's generally better to skip playwright. All the major AIs understand beautifulsoup pretty well, and they're likely to write you a faster, less brittle scraper.
At scale, dropping the heavier dependencies and network traffic of a browser is meaningful.
They aren't enough for anything that's login-protected, or requires interacting with wizards (eg JS, downloading files, etc)