[YoutubeDL] Simplify API of YoutubeDL
Calling add_default_extractors twice should be harmless since the first set of extractors will match.
This commit is contained in:
parent
9fdece5d34
commit
3511266bc3
2 changed files with 5 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue