From 2be9bcaae6497ccc869c7ab32b28edd28b91af26 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Sat, 20 Jun 2020 05:03:17 +0200 Subject: [PATCH] [nrk:base] Add alt_title This is what I consider the actual title --- youtube_dl/extractor/nrk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index c0f5eedb3..94973ab3f 100644 --- a/youtube_dl/extractor/nrk.py +++ b/youtube_dl/extractor/nrk.py @@ -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