mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 18:13:27 +00:00
parent
be4a824d74
commit
500b8b41c1
1 changed files with 10 additions and 0 deletions
|
@ -179,6 +179,16 @@ def _hide_login_info(opts):
|
||||||
metavar='IP', dest='source_address', default=None,
|
metavar='IP', dest='source_address', default=None,
|
||||||
help='Client-side IP address to bind to (experimental)',
|
help='Client-side IP address to bind to (experimental)',
|
||||||
)
|
)
|
||||||
|
network.add_option(
|
||||||
|
'-4', '--force-ipv4',
|
||||||
|
action='store_const', const='0.0.0.0', dest='source_address',
|
||||||
|
help='Make all connections via IPv4 (experimental)',
|
||||||
|
)
|
||||||
|
network.add_option(
|
||||||
|
'-6', '--force-ipv6',
|
||||||
|
action='store_const', const='::', dest='source_address',
|
||||||
|
help='Make all connections via IPv6 (experimental)',
|
||||||
|
)
|
||||||
|
|
||||||
selection = optparse.OptionGroup(parser, 'Video Selection')
|
selection = optparse.OptionGroup(parser, 'Video Selection')
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
|
|
Loading…
Reference in a new issue