From: Sergey M․ Date: Wed, 13 Jan 2016 02:18:37 +0000 (+0600) Subject: [pluralsight] Fix new player (Closes #8215) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=bc0550c262db0bc756bb7e08fb945f3285fb196e;p=youtube-dl.git [pluralsight] Fix new player (Closes #8215) --- 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,