mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[nrk] Change initial chapters variable from None to empty list
This commit is contained in:
parent
b5a111eeb8
commit
6d7eb0e827
1 changed files with 1 additions and 1 deletions
|
@ -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