Add function add_default_info_extractors to YoutubeDL

It adds to the list the ies returned by ge_extractors
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-06-27 23:51:06 +02:00
parent 427023a1e6
commit 023fa8c440
3 changed files with 10 additions and 6 deletions

View file

@ -573,8 +573,7 @@ def _real_main(argv=None):
ydl.to_screen(u'[debug] Python version %s - %s' %(platform.python_version(), platform.platform()))
ydl.to_screen(u'[debug] Proxy map: ' + str(proxy_handler.proxies))
for extractor in extractors:
ydl.add_info_extractor(extractor)
ydl.add_default_info_extractors()
# PostProcessors
if opts.extractaudio: