瀏覽代碼

[pluralsight] Fix subtitles extraction (closes #17671)

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

+ 1 - 1
youtube_dl/extractor/pluralsight.py

@@ -213,7 +213,7 @@ query viewClip {
     def _get_subtitles(self, author, clip_idx, lang, name, duration, video_id):
         captions_post = {
             'a': author,
-            'cn': clip_idx,
+            'cn': int(clip_idx),
             'lc': lang,
             'm': name,
         }