projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff18735
)
[dramafever] Fix subtitles extraction (Closes #8049)
author
Sergey M․
<dstftw@gmail.com>
Tue, 29 Dec 2015 18:13:00 +0000
(
00:13
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 29 Dec 2015 18:13:00 +0000
(
00:13
+0600)
youtube_dl/extractor/dramafever.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dramafever.py
b/youtube_dl/extractor/dramafever.py
index 60ed438f8cd9b254fa1ae8d25cd76ed866cab25d..b3b21d65f4c164b5a0e679e6bf6b1dfa33bcb80b 100644
(file)
--- 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,
})