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

[nodriver] How to set language #1953

Open
stoneone1 opened this issue Jul 19, 2024 · 2 comments
Open

[nodriver] How to set language #1953

stoneone1 opened this issue Jul 19, 2024 · 2 comments

Comments

@stoneone1
Copy link

config.add_argument("--accept-lang=en")
config.add_argument("--accept-lang=en-us")
config.add_argument("--accept-lang=en-US")
config.add_argument("--accept-en")
config.add_argument("--lang=en-us")
config.add_argument("--lang=en")

I've tested everything, but it either reports an error or it doesn't work.

@sohaib17
Copy link

--lang=en-US

@akift12
Copy link

akift12 commented Jul 25, 2024

I think you are asking for nodriver. You need to delete this line first : https://github.com/ultrafunkamsterdam/nodriver/blob/main/nodriver/core/config.py#L202 then you can use config.add_argument("--lang=en")

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

3 participants