mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[nrktv:series] Add support for extra materials
This commit is contained in:
parent
15699ec8b0
commit
c976873c5b
1 changed files with 1 additions and 0 deletions
|
@ -537,6 +537,7 @@ def _real_extract(self, url):
|
||||||
entries = []
|
entries = []
|
||||||
entries.extend(self._extract_seasons(series.get('seasons')))
|
entries.extend(self._extract_seasons(series.get('seasons')))
|
||||||
entries.extend(self._extract_entries(series.get('instalments')))
|
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)
|
return self.playlist_result(entries, series_id, title, description)
|
||||||
|
|
||||||
# Old layout (e.g. https://tv.nrksuper.no/serie/labyrint)
|
# Old layout (e.g. https://tv.nrksuper.no/serie/labyrint)
|
||||||
|
|
Loading…
Reference in a new issue