bypass google consent with ucbcb=1

This commit is contained in:
Emilien Devos 2022-07-09 23:08:08 +02:00 committed by GitHub
parent 641e39b0df
commit 6face215b8
7 changed files with 7 additions and 39 deletions

View file

@ -133,14 +133,7 @@ def request(query, params):
+ '/search'
+ "?"
+ urlencode(
{
'q': query,
'tbm': "isch",
**lang_info['params'],
'ie': "utf8",
'oe': "utf8",
'num': 30,
}
{'q': query, 'tbm': "isch", **lang_info['params'], 'ie': "utf8", 'oe': "utf8", 'num': 30, 'ucbcb': 1}
)
)