瀏覽代碼

[pluralsight] Fix new player (Closes #8215)

Sergey M․ 9 年之前
父節點
當前提交
bc0550c262
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/pluralsight.py

+ 1 - 1
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,