Fix typo: “ytseach” → “ytsearch”
authorAnthony J. Bentley <anthony@cathet.us>
Mon, 21 Jul 2014 00:37:44 +0000 (18:37 -0600)
committerAnthony J. Bentley <anthony@cathet.us>
Mon, 21 Jul 2014 00:37:44 +0000 (18:37 -0600)
youtube_dl/extractor/generic.py

index f97b59845706b8e33d4438b5cab968a2251b1ad9..9db27f9aa32730460af728f690ec131014667185 100644 (file)
@@ -402,7 +402,7 @@ class GenericIE(InfoExtractor):
             elif default_search == 'error':
                 raise ExtractorError(
                     ('%r is not a valid URL. '
-                     'Set --default-search "ytseach" (or run  youtube-dl "ytsearch:%s" ) to search YouTube'
+                     'Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:%s" ) to search YouTube'
                     ) % (url, url), expected=True)
             else:
                 assert ':' in default_search