From cbf1e9097929cf851d31bfd17e87bec7d1e51422 Mon Sep 17 00:00:00 2001 From: Austin-Olacsi <138650713+Austin-Olacsi@users.noreply.github.com> Date: Sat, 14 Sep 2024 16:28:35 -0600 Subject: add get_embeded_stream_url to searx.utils --- searx/engines/google_videos.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'searx/engines/google_videos.py') diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py index 4a032ef0f..c8fc934af 100644 --- a/searx/engines/google_videos.py +++ b/searx/engines/google_videos.py @@ -34,6 +34,7 @@ from searx.engines.google import ( detect_google_sorry, ) from searx.enginelib.traits import EngineTraits +from searx.utils import get_embeded_stream_url if TYPE_CHECKING: import logging @@ -125,6 +126,7 @@ def response(resp): 'content': content, 'author': pub_info, 'thumbnail': thumbnail, + 'iframe_src': get_embeded_stream_url(url), 'template': 'videos.html', } ) -- cgit v1.2.3