Skip to content

Commit

Permalink
Improve --impersonate option description
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Mar 15, 2024
1 parent 077203d commit 9a90320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ If you fork the project on GitHub, you can run your fork's [build workflow](.git
direct connection
--socket-timeout SECONDS Time to wait before giving up, in seconds
--source-address IP Client-side IP address to bind to
--impersonate [CLIENT[:[VERSION][:[OS][:OS_VERSION]]]]
--impersonate CLIENT[:[VERSION][:OS[:OS_VERSION]]]
Client to impersonate for requests. E.g.
chrome, chrome:110, chrome::android. Pass in
an empty string (--impersonate="") to
Expand Down
2 changes: 1 addition & 1 deletion yt_dlp/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
)
network.add_option(
'--impersonate',
metavar='[CLIENT[:[VERSION][:[OS][:OS_VERSION]]]]', dest='impersonate', default=None,
metavar='CLIENT[:[VERSION][:OS[:OS_VERSION]]]', dest='impersonate', default=None,
help='Client to impersonate for requests. E.g. chrome, chrome:110, chrome::android.'
' Pass in an empty string (--impersonate="") to impersonate any client.',
)
Expand Down

0 comments on commit 9a90320

Please sign in to comment.