Skip to content

Commit

Permalink
[cleanup] Misc (yt-dlp#10043)
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly authored May 27, 2024
1 parent c53c2e4 commit 5e3e19c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ If you fork the project on GitHub, you can run your fork's [build workflow](.git
--impersonate CLIENT[:OS] Client to impersonate for requests. E.g.
chrome, chrome-110, chrome:windows-10. Pass
--impersonate="" to impersonate any client.
Note that forcing impersonation for all
requests may have a detrimental impact on
download speed and stability
--list-impersonate-targets List available clients to impersonate.
-4, --force-ipv4 Make all connections via IPv4
-6, --force-ipv6 Make all connections via IPv6
Expand Down
3 changes: 2 additions & 1 deletion yt_dlp/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
metavar='CLIENT[:OS]', dest='impersonate', default=None,
help=(
'Client to impersonate for requests. E.g. chrome, chrome-110, chrome:windows-10. '
'Pass --impersonate="" to impersonate any client.'),
'Pass --impersonate="" to impersonate any client. Note that forcing impersonation '
'for all requests may have a detrimental impact on download speed and stability'),
)
network.add_option(
'--list-impersonate-targets',
Expand Down

0 comments on commit 5e3e19c

Please sign in to comment.