mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[pluralsight] Fix new player (Closes #8215)
This commit is contained in:
parent
b83b782dc4
commit
bc0550c262
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ def guess_allowed_qualities():
|
||||||
# { a = author, cn = clip_id, lc = end, m = name }
|
# { a = author, cn = clip_id, lc = end, m = name }
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': clip['clipName'],
|
'id': clip.get('clipName') or clip['name'],
|
||||||
'title': '%s - %s' % (module['title'], clip['title']),
|
'title': '%s - %s' % (module['title'], clip['title']),
|
||||||
'duration': int_or_none(clip.get('duration')) or parse_duration(clip.get('formattedDuration')),
|
'duration': int_or_none(clip.get('duration')) or parse_duration(clip.get('formattedDuration')),
|
||||||
'creator': author,
|
'creator': author,
|
||||||
|
|
Loading…
Reference in a new issue