Request UK version of Google
This commit is contained in:
parent
991e4e939a
commit
e28e86aa60
|
@ -81,7 +81,8 @@ class Index:
|
|||
@property
|
||||
def search_url(self) -> str:
|
||||
"""Search URL."""
|
||||
return "https://www.google.com/search?q=" + urllib.parse.quote_plus(self.name)
|
||||
q = urllib.parse.quote_plus(self.name)
|
||||
return f"https://www.google.com/search?q={q}&gl=uk"
|
||||
|
||||
def run(self, playwright: Playwright) -> None:
|
||||
"""Run playwright."""
|
||||
|
|
Loading…
Reference in a new issue