Merge pull request #3310 from bentley/master

Fix typo: “ytseach” → “ytsearch”
This commit is contained in:
Philipp Hagemeister 2014-07-21 09:22:58 +02:00
commit 1997eb0078

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