mirror of
https://github.com/searxng/searxng.git
synced 2026-08-04 22:31:25 +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"
|
- "minor"
|
||||||
- "patch"
|
- "patch"
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
day: "friday"
|
|
||||||
target-branch: "master"
|
|
||||||
commit-message:
|
|
||||||
prefix: "[upd] docker:"
|
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
certifi==2025.7.14
|
certifi==2025.8.3
|
||||||
babel==2.17.0
|
babel==2.17.0
|
||||||
flask-babel==4.0.0
|
flask-babel==4.0.0
|
||||||
flask==3.1.1
|
flask==3.1.1
|
||||||
|
|||||||
@@ -101,6 +101,9 @@ def _video(item):
|
|||||||
title = title.replace("_vapp.mxf", "")
|
title = title.replace("_vapp.mxf", "")
|
||||||
title = re.sub(r"APP\d+ (FC-)?", "", title, count=1)
|
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 {
|
return {
|
||||||
'template': 'videos.html',
|
'template': 'videos.html',
|
||||||
'title': title,
|
'title': title,
|
||||||
@@ -108,5 +111,5 @@ def _video(item):
|
|||||||
'publishedDate': datetime.strptime(item['date'][:19], '%Y-%m-%dT%H:%M:%S'),
|
'publishedDate': datetime.strptime(item['date'][:19], '%Y-%m-%dT%H:%M:%S'),
|
||||||
'content': item.get('firstSentence', ''),
|
'content': item.get('firstSentence', ''),
|
||||||
'iframe_src': video_url,
|
'iframe_src': video_url,
|
||||||
'url': video_url,
|
'url': url,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user