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

Generate user-agent string [Feature Request] #6

Open
Tahlor opened this issue Feb 1, 2021 · 0 comments
Open

Generate user-agent string [Feature Request] #6

Tahlor opened this issue Feb 1, 2021 · 0 comments

Comments

@Tahlor
Copy link

Tahlor commented Feb 1, 2021

I think I need requests to have the same user-agent string as my browser to re-use the cookie on some sites.

If this is the case, it would be nice if the module could get the user-agent string of the browser. Is there an easy way to get the user agent string without opening the browser? If someone knows of one, I'd be happy to implement it.

I know you can get the version of Chromium by running chromium-browser --version, not sure of the best way of how to translate this into a user-agent string though.

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