diff options
| author | Bnyro <bnyro@tutanota.com> | 2026-07-29 17:55:53 +0200 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2026-09-03 17:28:29 +0200 |
| commit | 86008c9dd609fb8e6e85699238ed50e9045c913a (patch) | |
| tree | 558a3c7b3dce232362f3ea2a4f525b68e425a007 /searx/utils.py | |
| parent | 8f452ee89293d9a752a776f4c33f5a5f124fff97 (diff) | |
[feat] results: automatically set embedded stream url for video results
Currently, many engines that provide video results call the same
`get_embedded_stream_url` method for setting the `iframe_src`. There
is no value in that because this logic is engine-specific and probably
many video engines forgot to implement this.
With these changes, it's done automatically, so engine implementors
don't have to worry about setting an `iframe_src` (unless the engine
explicitly has a field for it).
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py index 1ebfda12f..9c70c8cc4 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -592,7 +592,7 @@ def eval_xpath_getindex( return default -def get_embeded_stream_url(url: str): +def get_embedded_stream_url(url: str): """ Converts a standard video URL into its embed format. Supported services include Youtube, Facebook, Instagram, TikTok, Dailymotion, and Bilibili. |
