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

examples: captcha on every request to g2 #189

Open
tobwen opened this issue Sep 14, 2024 · 1 comment
Open

examples: captcha on every request to g2 #189

tobwen opened this issue Sep 14, 2024 · 1 comment

Comments

@tobwen
Copy link

tobwen commented Sep 14, 2024

summary

Seems like the examples are outdated... Every example with g2.com lead to a captcha:

image

code used

from botasaurus.browser import browser, Driver

@browser
def scrape_heading_task(driver: Driver, data):
    driver.google_get("https://www.g2.com/products/github/reviews.html?page=5&product_id=github", bypass_cloudflare=True)
    driver.prompt()
    heading = driver.get_text('.product-head__title [itemprop="name"]')
    return heading

scrape_heading_task()

versions

At the time of writing, I'm on latest revision of the library and Chrome on Debian Linux (Python 3.11).

addition information

IP is not blocked. "Normal" browsers (Firefox, LibreWolf, Chrome directly started) work.

@aandrewmolt
Copy link

Same issue for me

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