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

Request, Stealth Mode not working #74

Closed
surmatech opened this issue Mar 10, 2024 · 1 comment
Closed

Request, Stealth Mode not working #74

surmatech opened this issue Mar 10, 2024 · 1 comment

Comments

@surmatech
Copy link

surmatech commented Mar 10, 2024

from botasaurus import *

@request(use_stealth=True)
def scrape_heading_task(request: AntiDetectRequests, data):
response = request.get('ANY_CF_UAM_WEBSITE')
print(response.status_code)
return response.text

scrape_heading_task()

This shares output almost instantaneously for all cloudflare UAM websites and doesn't work.
Tried with and without proxies.
In the browser alternative, it waits for those 8 seconds making it work. What could be wrong here?

Any way to simulate wait here too, the wait argument doesn't work.

@Chetan11-dev
Copy link
Contributor

Please run the following commands:

python -m pip install bota botasaurus_api botasaurus_driver bota botasaurus-proxy-authentication botasaurus_server --upgrade

And read the documentation at https://github.com/omkarcloud/botasaurus.

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