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

@ -85,15 +85,7 @@ def request(query, params):
+ lang_info['subdomain']
+ '/scholar'
+ "?"
+ urlencode(
{
'q': query,
**lang_info['params'],
'ie': "utf8",
'oe': "utf8",
'start': offset,
}
)
+ urlencode({'q': query, **lang_info['params'], 'ie': "utf8", 'oe': "utf8", 'start': offset, 'ucbcb': 1})
)
query_url += time_range_url(params)