diff options
author | Ismael Mejia <[email protected]> | 2013-02-23 16:24:59 +0100 |
---|---|---|
committer | Filippo Valsorda <[email protected]> | 2013-03-20 08:41:54 +0100 |
commit | c0ba10467457a58e7198b58793f3c4683b1c3ec7 (patch) | |
tree | ed787b571311e38619a29a5785d06d60cd0365fb | |
parent | 2a4093eaf3af07fa0a74926ce09cb49aba73017e (diff) | |
download | youtube-dl-c0ba10467457a58e7198b58793f3c4683b1c3ec7.tar.gz youtube-dl-c0ba10467457a58e7198b58793f3c4683b1c3ec7.zip |
Fixed typo in error message when no subtitles were available.
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
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): |