mirror of
https://github.com/searxng/searxng.git
synced 2026-07-27 02:11:23 +00:00
Compare commits
3 Commits
612b76b75e
...
1f619248b6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f619248b6 | ||
|
|
77f10f09f9 | ||
|
|
25c327904a |
9
.github/dependabot.yml
vendored
9
.github/dependabot.yml
vendored
@@ -65,15 +65,6 @@ updates:
|
||||
- "minor"
|
||||
- "patch"
|
||||
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "friday"
|
||||
target-branch: "master"
|
||||
commit-message:
|
||||
prefix: "[upd] docker:"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
certifi==2025.7.14
|
||||
certifi==2025.8.3
|
||||
babel==2.17.0
|
||||
flask-babel==4.0.0
|
||||
flask==3.1.1
|
||||
|
||||
@@ -101,6 +101,9 @@ def _video(item):
|
||||
title = title.replace("_vapp.mxf", "")
|
||||
title = re.sub(r"APP\d+ (FC-)?", "", title, count=1)
|
||||
|
||||
# sometimes, only adaptive m3u8 streams are available, so video_url is None
|
||||
url = video_url or f"{base_url}/multimedia/video/{item['sophoraId']}.html"
|
||||
|
||||
return {
|
||||
'template': 'videos.html',
|
||||
'title': title,
|
||||
@@ -108,5 +111,5 @@ def _video(item):
|
||||
'publishedDate': datetime.strptime(item['date'][:19], '%Y-%m-%dT%H:%M:%S'),
|
||||
'content': item.get('firstSentence', ''),
|
||||
'iframe_src': video_url,
|
||||
'url': video_url,
|
||||
'url': url,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user