[nrk:base] Add alt_title

This is what I consider the actual title
This commit is contained in:
Roxedus 2020-06-20 05:03:17 +02:00
parent cbd871084c
commit 2be9bcaae6
Signed by: Roxedus
GPG Key ID: 9B4E311961C63639

View File

@ -41,6 +41,7 @@ class NRKBaseIE(InfoExtractor):
break
title = data.get('fullTitle') or data.get('mainTitle') or data['title']
alt_title = data.get('mainTitle')
video_id = data.get('id') or video_id
entries = []
@ -170,6 +171,7 @@ class NRKBaseIE(InfoExtractor):
'categories': [category] if category else None,
'age_limit': parse_age_limit(data.get('legalAge')),
'thumbnails': thumbnails,
'alt_title':alt_title,
}
vcodec = 'none' if data.get('mediaType') == 'Audio' else None