[nrktv:series] Add support for extra materials
authorSergey M․ <dstftw@gmail.com>
Thu, 6 Dec 2018 17:54:58 +0000 (00:54 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 6 Dec 2018 17:54:58 +0000 (00:54 +0700)
youtube_dl/extractor/nrk.py

index 48bc6fd7a643e682f5aab16d83ac6f31e0ed9f58..072f920a973a39faae363c9109196c438edc9f30 100644 (file)
@@ -537,6 +537,7 @@ class NRKTVSeriesIE(NRKTVSerieBaseIE):
             entries = []
             entries.extend(self._extract_seasons(series.get('seasons')))
             entries.extend(self._extract_entries(series.get('instalments')))
+            entries.extend(self._extract_episodes(series.get('extraMaterial')))
             return self.playlist_result(entries, series_id, title, description)
 
         # Old layout (e.g. https://tv.nrksuper.no/serie/labyrint)