From: Sergey M․ Date: Tue, 29 Dec 2015 18:13:00 +0000 (+0600) Subject: [dramafever] Fix subtitles extraction (Closes #8049) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=453fe2a345358064609df9adeee302e19aa636bd;p=youtube-dl [dramafever] Fix subtitles extraction (Closes #8049) --- diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py index 60ed438f8..b3b21d65f 100644 --- a/youtube_dl/extractor/dramafever.py +++ b/youtube_dl/extractor/dramafever.py @@ -108,7 +108,7 @@ class DramaFeverIE(DramaFeverBaseIE): if value: subfile = value[0].get('subfile') or value[0].get('new_subfile') if subfile and subfile != 'http://www.dramafever.com/st/': - info['subtitiles'].setdefault('English', []).append({ + info.setdefault('subtitles', {}).setdefault('English', []).append({ 'ext': 'srt', 'url': subfile, })