Fix typo: “ytseach” → “ytsearch”

This commit is contained in:
Anthony J. Bentley 2014-07-20 18:37:44 -06:00
parent 246168bd72
commit eef4a7a304

View file

@ -402,7 +402,7 @@ def _real_extract(self, url):
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