[pluralsight] Fix subtitles extraction (closes #17671)
authorSergey M․ <dstftw@gmail.com>
Wed, 26 Sep 2018 02:27:40 +0000 (09:27 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 26 Sep 2018 02:27:40 +0000 (09:27 +0700)
youtube_dl/extractor/pluralsight.py

index 1257841e4bbcffbae999cd402f9a6c7982a3fb30..ec67381bbd1c1720d86676bd65799157284681f6 100644 (file)
@@ -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,
         }