X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=6b0efe059352ab252476b4df808c6cfdbfdcc121;hb=5823eda139d851e3ff3cfd1e3fd6b109e1f7c19e;hp=871ddead9e83ee2de91713b4b1a0828b21d96450;hpb=ae369738b0dfee0f62ee26102c154750f599aea5;p=youtube-dl.git diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 871ddead9..6b0efe059 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -76,6 +76,11 @@ __authors__ = ( 'Aaron McDaniel (mcd1992)', 'Magnus Kolstad', 'Hari Padmanaban', + 'Carlos Ramos', + '5moufl', + 'lenaten', + 'Dennis Scheiba', + 'Damon Timm', ) __license__ = 'Public Domain' @@ -252,8 +257,6 @@ def _real_main(argv=None): date = DateRange.day(opts.date) else: date = DateRange(opts.dateafter, opts.datebefore) - if opts.default_search not in ('auto', 'auto_warning', 'error', 'fixup_error', None) and ':' not in opts.default_search: - parser.error(u'--default-search invalid; did you forget a colon (:) at the end?') # Do not download videos when there are audio-only formats if opts.extractaudio and not opts.keepvideo and opts.format is None: @@ -366,6 +369,7 @@ def _real_main(argv=None): 'youtube_include_dash_manifest': opts.youtube_include_dash_manifest, 'encoding': opts.encoding, 'exec_cmd': opts.exec_cmd, + 'extract_flat': opts.extract_flat, } with YoutubeDL(ydl_opts) as ydl: