Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

This fixes issue https://github.com/jarun/googler/issues/347 without using cookies. #363

Merged
merged 1 commit into from
Sep 9, 2020
Merged

This fixes issue https://github.com/jarun/googler/issues/347 without using cookies. #363

merged 1 commit into from
Sep 9, 2020

Conversation

lundell
Copy link
Contributor

@lundell lundell commented Sep 8, 2020

Added the option to specifiy the geolocation used by google. This is simply
done by providing the "gl" parameter in the URL. The country codes are the
as the codes used in TLDs.

This might seem unimportant to people in english-speaking countries, but
searching computer related stuff is really annoying when it mixes results
from other languages.

using cookies.

Added the option to specifiy the geolocation used by google. This is simply
done by providing the "gl" parameter in the URL. The country codes are the
as the codes used in TLDs.

This might seem unimportant to people in english-speaking countries, but
searching computer related stuff is really annoying when it mixes results
from other languages.
@msm-code
Copy link

msm-code commented Sep 9, 2020

I just wanted to try googler, had the same problem, searched language in the repository and this came up.

I confirm that this PR solves my problem:

$ ./googler -l us -n 1 test  # no flag to -l I've tried had any effect

 1.  Stiftung Warentest
     https://www.test.de/
     Aktuell auf test.de ... Die Stiftung Warentest bietet unabhängige Tests z.B. aus den Bereichen Multimedia und Haushalt, Ernährung und Gesundheit sowie ...

$ ./googler -g us -n 1 test

 1.  Speedtest by Ookla - The Global Broadband Speed Test
     https://www.speedtest.net/
     Test your Internet connection bandwidth to locations around the world with this interactive broadband speed test from Ookla.

@jarun jarun merged commit 6726bea into jarun:master Sep 9, 2020
@jarun
Copy link
Owner

jarun commented Sep 9, 2020

Thank you for your valuable contribution!

@zmwangx please take a look.

@lundell lundell deleted the with_geoloc_ar branch September 9, 2020 19:54
@lundell
Copy link
Contributor Author

lundell commented Sep 10, 2020

My pleasure!

@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants