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

Does the library give "sec-ch-ua*" headers? #38

Open
iPherian opened this issue Apr 27, 2021 · 1 comment
Open

Does the library give "sec-ch-ua*" headers? #38

iPherian opened this issue Apr 27, 2021 · 1 comment

Comments

@iPherian
Copy link

My chrome (windows desktop) sends these headers related to user-agent / device identification:

sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36

Obviously this pkg provides User-Agent, but does it give things like sec-ch-ua*? It'd be pretty cool if it did, closer to a real world browser that way.

@iPherian
Copy link
Author

Admittedly, it may be harder than it seemed at first glance, found a commit that says Chrome partially randomizes the sec-ch-ua header:

chromium/chromium@19ad8d3

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