[NRK] Extract timestamp (#3231)

Closes #3211
Authored by: hatienl0i261299
pull/3343/head
Ha Tien Loi 2 years ago committed by GitHub
parent b52e788eb2
commit ab0970b233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,7 @@ from ..utils import (
ExtractorError,
int_or_none,
parse_duration,
parse_iso8601,
str_or_none,
try_get,
urljoin,
@ -247,6 +248,7 @@ class NRKIE(NRKBaseIE):
'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…
Cancel
Save