diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-13 08:18:37 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-13 08:18:37 +0600 |
commit | bc0550c262db0bc756bb7e08fb945f3285fb196e (patch) | |
tree | 204b691e537479091ef96d529eb179761b69ff7a | |
parent | b83b782dc4afeabbd356a329fd302b4410afa626 (diff) |
[pluralsight] Fix new player (Closes #8215)
-rw-r--r-- | youtube_dl/extractor/pluralsight.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py index 55c11b3bf..12e1c2862 100644 --- a/youtube_dl/extractor/pluralsight.py +++ b/youtube_dl/extractor/pluralsight.py @@ -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, |