Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/playwright (PlaywrightCrawler)
Issue description
Create a basic Playwright project and visit this website: https://www.whatismybrowser.com/detect/what-is-my-user-agent/
The useragent will be the same as if you check within your actual browser.
Code sample
Package version
crawlee@3.1.4, playwright@1.27.1
Node.js version
v19.0.0
Operating system
Ubuntu
Apify platform
I have tested this on the
next
releaseNo response
Other context
Crawlee should set a useragent header to avoid detection, as confirmed here:
https://crawlee.dev/api/browser-crawler/interface/BrowserLaunchContext#userAgent
I believe session pools also (should) handle useragents, but I am not 100% on that.
Beta Was this translation helpful? Give feedback.
All reactions