diff options
| author | Austin-Olacsi <138650713+Austin-Olacsi@users.noreply.github.com> | 2025-03-05 18:15:32 -0700 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2025-03-08 10:47:30 +0100 |
| commit | 73d50f57481cfe2951c3231b2f5dfd70c0e6b49f (patch) | |
| tree | 7e7b5564a543640698848f3a25416a8edcc01601 /searx/engines | |
| parent | 523d2a76837cc8e94f29afc490c312e6af8398a7 (diff) | |
[feat] add bilibili support to get get_embeded_stream_url
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/360search_videos.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/360search_videos.py b/searx/engines/360search_videos.py index a4a59223d..27b3781b4 100644 --- a/searx/engines/360search_videos.py +++ b/searx/engines/360search_videos.py @@ -6,7 +6,7 @@ from urllib.parse import urlencode from datetime import datetime from searx.exceptions import SearxEngineAPIException -from searx.utils import html_to_text +from searx.utils import html_to_text, get_embeded_stream_url about = { "website": "https://tv.360kan.com/", @@ -58,6 +58,7 @@ def response(resp): 'template': 'videos.html', 'publishedDate': published_date, 'thumbnail': entry["cover_img"], + "iframe_src": get_embeded_stream_url(entry["play_url"]), } ) |