summaryrefslogtreecommitdiff
path: root/searx/engines/google_videos.py
diff options
context:
space:
mode:
authorEmilien Devos <github@emiliendevos.be>2022-07-09 23:08:08 +0200
committerGitHub <noreply@github.com>2022-07-09 21:33:24 +0000
commit6face215b83a268962f2fcc0a1b72719d6bff8c7 (patch)
treee58e3a31135d30efd3bf9ffed3cf79e5e1d2d874 /searx/engines/google_videos.py
parent641e39b0df38ec84f77362c070b5974b31c81a6c (diff)
downloadsearxng-6face215b83a268962f2fcc0a1b72719d6bff8c7.tar.gz
searxng-6face215b83a268962f2fcc0a1b72719d6bff8c7.zip
bypass google consent with ucbcb=1
Diffstat (limited to 'searx/engines/google_videos.py')
-rw-r--r--searx/engines/google_videos.py10
1 files changed, 1 insertions, 9 deletions
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: