1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

[nrktv:series] Add support for extra materials

This commit is contained in:
Sergey M․ 2018-12-07 00:54:58 +07:00
parent 15699ec8b0
commit c976873c5b
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View 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)