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

Support on code #458

Open
brivexvs opened this issue Nov 30, 2024 · 0 comments
Open

Support on code #458

brivexvs opened this issue Nov 30, 2024 · 0 comments

Comments

@brivexvs
Copy link

Hi, this is my code: https://hastebin.skyra.pw/tiwigacuho.py

While it works, it's not the best and sometimes Cloudflare flags the browser and has the endless loop of you having to check & wait and check & wait etc etc.

Is there an easier way to do this, and more importantly, can I utilize the package to manipulate the mouse movements to make it more "humanised". Bearing in mind, this is how I'm invoking the class:

driver = ChromiumPage(addr_or_opts=options)
            driver.get(url)
            Cloudflare(driver).bypass()
            time.sleep(2)
            for _ in range(50):
                tab = driver.new_tab()
                tab.set.activate()
                tab.get(url)
            driver.quit()

Thanks in advance

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

1 participant