diff options
author | Austin-Olacsi <138650713+Austin-Olacsi@users.noreply.github.com> | 2024-09-14 16:28:35 -0600 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-03 07:10:53 +0200 |
commit | cbf1e9097929cf851d31bfd17e87bec7d1e51422 (patch) | |
tree | 70532240b01da30e7acd54c86e53825ac9a10135 /searx/engines/google_videos.py | |
parent | f07ab6deb0f43a2d08f4f12335481825c6aa77ac (diff) | |
download | searxng-cbf1e9097929cf851d31bfd17e87bec7d1e51422.tar.gz searxng-cbf1e9097929cf851d31bfd17e87bec7d1e51422.zip |
add get_embeded_stream_url to searx.utils
Diffstat (limited to 'searx/engines/google_videos.py')
-rw-r--r-- | searx/engines/google_videos.py | 2 |
1 files changed, 2 insertions, 0 deletions
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', } ) |