mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 04:42:52 +08:00
Update acast.py
This commit is contained in:
parent
48c7e85178
commit
eb662ecd9f
@ -8,7 +8,7 @@ from .common import InfoExtractor
|
|||||||
from ..compat import compat_str
|
from ..compat import compat_str
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
int_or_none,
|
int_or_none,
|
||||||
parse_iso8601,
|
unified_timestamp,
|
||||||
OnDemandPagedList,
|
OnDemandPagedList,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ class ACastIE(InfoExtractor):
|
|||||||
'title': e['name'],
|
'title': e['name'],
|
||||||
'description': e.get('description'),
|
'description': e.get('description'),
|
||||||
'thumbnail': e.get('image'),
|
'thumbnail': e.get('image'),
|
||||||
'timestamp': parse_iso8601(e.get('publishingDate')),
|
'timestamp': unified_timestamp(e.get('publishingDate')),
|
||||||
'duration': int_or_none(e.get('duration')),
|
'duration': int_or_none(e.get('duration')),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user