Browse Source

[pluralsight] Fix subtitles extraction (closes #17671)

Sergey M․ 7 years ago
parent
commit
c17e100b96
1 changed files with 1 additions and 1 deletions
  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):
     def _get_subtitles(self, author, clip_idx, lang, name, duration, video_id):
         captions_post = {
         captions_post = {
             'a': author,
             'a': author,
-            'cn': clip_idx,
+            'cn': int(clip_idx),
             'lc': lang,
             'lc': lang,
             'm': name,
             'm': name,
         }
         }