botasaurus
botasaurus copied to clipboard
Request, Stealth Mode not working
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.