Skip to content

A feature-rich command-line audio/video downloader

[pluralsight] Fix subtitles extraction (closes #17671)

Sergey M․c17e100b96e3
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index 1257841e4b..ec67381bbd 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,
}