hCaptcha is a type of CAPTCHA disallows automated access to websites. To bypass this protection, you'll need to use a more complex approach.
Ensure your Selenium setup is using a realistic browser profile, including user-agent, screen resolution, and other attributes that mimic a real user.
Don’t use a traditional headless browser, consider using a tool like Puppeteer or Playwright, which are designed to simulate real-user interactions.
There are services like DeathByCaptcha, 2Captcha, or Anti-Captcha that can solve CAPTCHAs programmatically. You can integrate these services into your Selenium script.
There are libraries like `hcaptcha-bypass` or `pycaptcha` that claim to provide hCaptcha bypassing functionality.
However, please note that: hCaptcha terms of use prohibit automated access. Doing all this may will violate hCaptcha's terms of service.
Even if you manage to bypass hCaptcha, site owners may still block your bot based on other criteria.
If you are after data, sites do provide an APIs for data.