1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-04 00:55:15 +00:00

[cleanup] Misc

Closes #5897
This commit is contained in:
pukkandan
2023-02-17 17:52:22 +05:30
parent 30031be974
commit a538772969
26 changed files with 84 additions and 47 deletions

View File

@ -1031,7 +1031,7 @@ def create_parser():
metavar='URL', dest='referer', default=None,
help=optparse.SUPPRESS_HELP)
workarounds.add_option(
'--add-header',
'--add-headers',
metavar='FIELD:VALUE', dest='headers', default={}, type='str',
action='callback', callback=_dict_from_options_callback,
callback_kwargs={'multiple_keys': False},