[mod] engines: migrate video engines away from get_embedded_stream_url

This commit is contained in:
Bnyro
2026-07-29 17:56:20 +02:00
parent 86008c9dd6
commit a1144dda3e
8 changed files with 61 additions and 76 deletions

View File

@@ -60,9 +60,6 @@ from searx.exceptions import (
SearxEngineTooManyRequestsException,
)
from searx.network import raise_for_httperror
from searx.utils import (
get_embeded_stream_url,
)
from searx.result_types import EngineResults
if t.TYPE_CHECKING:
@@ -299,7 +296,6 @@ def response(resp: "SXNG_Response") -> EngineResults:
title=title,
url=res_url,
content=content,
iframe_src=get_embeded_stream_url(res_url),
publishedDate=pub_date,
thumbnail=thumbnail,
template="videos.html",