mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 13:23:20 +00:00
[nrk] Change initial chapters variable from None to empty list
This commit is contained in:
parent
b5a111eeb8
commit
6d7eb0e827
|
@ -221,7 +221,7 @@ def _real_extract(self, url):
|
|||
'url': sub_url,
|
||||
})
|
||||
|
||||
chapters = None
|
||||
chapters = []
|
||||
if data.get('skipDialogInfo'):
|
||||
chapters = [item for item in [{
|
||||
'start_time': float_or_none(traverse_obj(data, ('skipDialogInfo', 'startIntroInSeconds'))),
|
||||
|
|
Loading…
Reference in a new issue