mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 09:49:21 +02:00
parent
a1e2b25467
commit
d456f3dd9f
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ def parse_video_item(item):
|
|||
"content": content,
|
||||
# https://en.wikipedia.org/wiki/ISO_8601#Durations
|
||||
"length": isodate.parse_duration(item["time_duration"]),
|
||||
"publishedDate": datetime.strptime(item["creation_date"], "%Y-%m-%d"),
|
||||
"publishedDate": datetime.fromisoformat(item["creation_date"]),
|
||||
"thumbnail": item["thumbnail_url"],
|
||||
"iframe_src": item["video_small_preview_url"],
|
||||
"metadata": item["asset_type"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue