aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-02-23 16:24:59 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-03-20 08:41:54 +0100
commitc0ba10467457a58e7198b58793f3c4683b1c3ec7 (patch)
treeed787b571311e38619a29a5785d06d60cd0365fb
parent2a4093eaf3af07fa0a74926ce09cb49aba73017e (diff)
Fixed typo in error message when no subtitles were available.
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index ff1fab773..ab8bd2104 100755
--- 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):