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

How to use with different languages and countries? #23

Closed
fbaeumer opened this issue Dec 4, 2017 · 1 comment
Closed

How to use with different languages and countries? #23

fbaeumer opened this issue Dec 4, 2017 · 1 comment

Comments

@fbaeumer
Copy link

fbaeumer commented Dec 4, 2017

By default the script uses google.com and English as far as I see. How can I configure the script to use German for example and google.de or google.cz?

@ecoron
Copy link
Owner

ecoron commented Dec 11, 2017

Hi, first you can try it with an custom header "Accept-Language" see example in http://serpscrap.readthedocs.io/en/latest/configuration.html#headers

Or you can try a custom search url (which is not documented and fully tested yet of corse)
config.set('google_search_url', 'https://www.google.com/search?')

ecoron pushed a commit that referenced this issue May 8, 2018
@ecoron ecoron closed this as completed May 8, 2018
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

2 participants