aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-13 08:18:37 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-13 08:18:37 +0600
commitbc0550c262db0bc756bb7e08fb945f3285fb196e (patch)
tree204b691e537479091ef96d529eb179761b69ff7a /youtube_dl/extractor
parentb83b782dc4afeabbd356a329fd302b4410afa626 (diff)
[pluralsight] Fix new player (Closes #8215)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pluralsight.py2
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,