projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4093e
)
Fixed typo in error message when no subtitles were available.
author
Ismael Mejia
<iemejia@gmail.com>
Sat, 23 Feb 2013 15:24:59 +0000
(16:24 +0100)
committer
Filippo Valsorda
<filippo.valsorda@gmail.com>
Wed, 20 Mar 2013 07:41:54 +0000
(08:41 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index ff1fab77346ad935a522c0ba183faf4b3a19f363..ab8bd21045db729fad125000cd916bdef53292fc 100755
(executable)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-247,7
+247,7
@@
class YoutubeIE(InfoExtractor):
sub_lang_list = re.findall(r'name="([^"]*)"[^>]+lang_code="([\w\-]+)"', sub_list)
sub_lang_list = dict((l[1], l[0]) for l in sub_lang_list)
if not sub_lang_list:
- return (u'WARNING: video doesn\'t have
download
', None)
+ return (u'WARNING: video doesn\'t have
subtitles
', None)
return sub_lang_list
def _list_available_subtitles(self, video_id):