Browse Source

[pluralsight] Fix new player (Closes #8215)

totalwebcasting
Sergey M․ 9 years ago
parent
commit
bc0550c262
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/pluralsight.py

+ 1
- 1
youtube_dl/extractor/pluralsight.py View File

@ -232,7 +232,7 @@ class PluralsightIE(PluralsightBaseIE):
# { a = author, cn = clip_id, lc = end, m = name }
return {
'id': clip['clipName'],
'id': clip.get('clipName') or clip['name'],
'title': '%s - %s' % (module['title'], clip['title']),
'duration': int_or_none(clip.get('duration')) or parse_duration(clip.get('formattedDuration')),
'creator': author,


Loading…
Cancel
Save