aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-30 00:13:00 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-30 00:13:00 +0600
commit453fe2a345358064609df9adeee302e19aa636bd (patch)
treeedf4517dfefd3456ce7e1e73364c78ae4c2b23cb /youtube_dl/extractor
parentff18735cb2440dd2e628f0bf497325b50848353b (diff)
[dramafever] Fix subtitles extraction (Closes #8049)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/dramafever.py2
1 files changed, 1 insertions, 1 deletions
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,
})