summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-09-26 09:27:40 +0700
committerSergey M․ <dstftw@gmail.com>2018-09-26 09:27:40 +0700
commitc17e100b96e3a1c1d2115226c9a2f166c8338031 (patch)
treef90bf698574038e372e6510c8dc21eb68d040b20
parent8fd12a083131550476fb771c180a0734794d0b9d (diff)
downloadyoutube-dl-c17e100b96e3a1c1d2115226c9a2f166c8338031.tar.gz
youtube-dl-c17e100b96e3a1c1d2115226c9a2f166c8338031.tar.xz
youtube-dl-c17e100b96e3a1c1d2115226c9a2f166c8338031.zip
[pluralsight] Fix subtitles extraction (closes #17671)
-rw-r--r--youtube_dl/extractor/pluralsight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index 1257841e4..ec67381bb 100644
--- a/youtube_dl/extractor/pluralsight.py
+++ b/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,
         }