Improve custom config support (closes #10648)
[youtube-dl] / youtube_dl / __init__.py
index af99cf1c03222a3ab12a98823632fa60b960431f..dfa4ae839055621ab48b89527dbd50eb0c61c06f 100644 (file)
@@ -405,7 +405,7 @@ def _real_main(argv=None):
         'postprocessor_args': postprocessor_args,
         'cn_verification_proxy': opts.cn_verification_proxy,
         'geo_verification_proxy': opts.geo_verification_proxy,
-
+        'config_location': opts.config_location,
     }
 
     with YoutubeDL(ydl_opts) as ydl:
@@ -449,4 +449,5 @@ def main(argv=None):
     except KeyboardInterrupt:
         sys.exit('\nERROR: Interrupted by user')
 
+
 __all__ = ['main', 'YoutubeDL', 'gen_extractors', 'list_extractors']