aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-28 12:54:29 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-28 12:54:29 +0100
commit3511266bc39976a926a9f33a0762aa40212431ee (patch)
treeb9d4291042a12097ff6e1ecd23d4766644b0da0d /youtube_dl/__init__.py
parent9fdece5d340f24ab3c16770f71fd26943f4996c2 (diff)
[YoutubeDL] Simplify API of YoutubeDL
Calling add_default_extractors twice should be harmless since the first set of extractors will match.
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 7dc971884..3c968082c 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -293,9 +293,6 @@ def _real_main(argv=None):
}
with YoutubeDL(ydl_opts) as ydl:
- ydl.print_debug_header()
- ydl.add_default_info_extractors()
-
# PostProcessors
# Add the metadata pp first, the other pps will copy it
if opts.addmetadata: