From 6face215b83a268962f2fcc0a1b72719d6bff8c7 Mon Sep 17 00:00:00 2001 From: Emilien Devos Date: Sat, 9 Jul 2022 23:08:08 +0200 Subject: bypass google consent with ucbcb=1 --- searx/engines/google_videos.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'searx/engines/google_videos.py') diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py index 06aac8ae1..3d3f6d93c 100644 --- a/searx/engines/google_videos.py +++ b/searx/engines/google_videos.py @@ -118,15 +118,7 @@ def request(query, params): + lang_info['subdomain'] + '/search' + "?" - + urlencode( - { - 'q': query, - 'tbm': "vid", - **lang_info['params'], - 'ie': "utf8", - 'oe': "utf8", - } - ) + + urlencode({'q': query, 'tbm': "vid", **lang_info['params'], 'ie': "utf8", 'oe': "utf8", 'ucbcb': 1}) ) if params['time_range'] in time_range_dict: -- cgit v1.2.3