From 01bc8a1b99db350c95e6835b2f050c8545c34604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Dor=C3=A9?= Date: Thu, 6 Sep 2018 20:43:26 -0400 Subject: [PATCH] Formatting... --- youtube_dl/extractor/pbs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index f70db9058..c5a7452c3 100644 --- a/youtube_dl/extractor/pbs.py +++ b/youtube_dl/extractor/pbs.py @@ -680,9 +680,11 @@ class PBSIE(InfoExtractor): ttml_caption_id = int(ttml_caption_id) subtitles['en'].extend([{ 'url': closed_captions_url.replace( - ttml_caption_suffix, '/%d_Encoded.srt' % (ttml_caption_id + 1)), 'ext': 'srt', + ttml_caption_suffix, '/%d_Encoded.srt' % (ttml_caption_id + 1)), + 'ext': 'srt', }, { - 'url': closed_captions_url.replace(ttml_caption_suffix, '/%d_Encoded.vtt' % (ttml_caption_id + 2)), + 'url': closed_captions_url.replace( + ttml_caption_suffix, '/%d_Encoded.vtt' % (ttml_caption_id + 2)), 'ext': 'vtt', }]) elif info.get('cc'):