Recent submissions

Comment · 10 days ago
In that video, I did some reverse engineering to create a stealth mode in an automation framework to bypass bot-detection and CAPTCHAs. It works from GitHub Actions Linux servers without needing a proxy (which is generally unheard of).
Comment · 10 months ago
Looks like that one hasn't received any major updates in awhile.
Comment · 10 months ago
The secret ingredient is to use Playwright's `connect_over_cdp()` method to connect to an existing browser that is already stealthy. Playwright can then perform its usual actions without being detected by anti-bot services. Example setup: `browser = playwright.chromium.connect_over_cdp("http://localhost:9222")`
Comment · 1 year ago
Mix in some Python, PyAutoGUI, SeleniumBase, ThreadPoolExecutor, and then you get some serious multi-threaded CAPTCHA-bypass.
Comment · 1 year ago
You can set `browser="firefox"`, but there's no stealth mode for it.
Comment · 1 year ago
Comment · 1 year ago
It's OK. No offense was taken. It almost looked like the conversation was expanding into a "Python vs Java" debate, but (thankfully) it did not. I've seen both worlds. I've seen advantages to both. I decided to stay in the Python world.
Comment · 1 year ago
Thank you!
Comment · 1 year ago
Comment · 1 year ago
The "Python vs Java" debate is probably one for a different Hacker News post. :)
Comment · 1 year ago
SeleniumBase CDP Mode uses `DOM.scrollIntoViewIfNeeded` (https://chromedevtools.github.io/devtools-protocol/tot/DOM/#...), so it only scrolls when elements are offscreen, rather than always scrolling. This reduces the number of scrolls needed. Also, it seems that most anti-bot services are not looking at scrolling as a way of identifying users.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton