mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[NRK] Extract timestamp (#3231)
Closes #3211 Authored by: hatienl0i261299
This commit is contained in:
parent
b52e788eb2
commit
ab0970b233
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
ExtractorError,
|
||||
int_or_none,
|
||||
parse_duration,
|
||||
parse_iso8601,
|
||||
str_or_none,
|
||||
try_get,
|
||||
urljoin,
|
||||
|
@ -247,6 +248,7 @@ def call_playback_api(item, query=None):
|
|||
'age_limit': age_limit,
|
||||
'formats': formats,
|
||||
'subtitles': subtitles,
|
||||
'timestamp': parse_iso8601(try_get(manifest, lambda x: x['availability']['onDemand']['from'], str))
|
||||
}
|
||||
|
||||
if is_series:
|
||||
|
|
Loading…
Reference in a new issue