aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2022-08-30 16:54:46 +0000
committerGitHub <noreply@github.com>2022-08-30 22:24:46 +0530
commit9bd13fe5bbe1df6bb01d4edb68f2c63a4812bf94 (patch)
tree89c3d7b12a98260c0360f569c86dc9e9b2d23c1d /yt_dlp/options.py
parent459262ac97c039a426f51f3fb3a5d780de5b9dca (diff)
downloadhypervideo-pre-9bd13fe5bbe1df6bb01d4edb68f2c63a4812bf94.tar.lz
hypervideo-pre-9bd13fe5bbe1df6bb01d4edb68f2c63a4812bf94.tar.xz
hypervideo-pre-9bd13fe5bbe1df6bb01d4edb68f2c63a4812bf94.zip
[cookies] Support firefox container in `--cookies-from-browser` (#4753)
Authored by: bashonly
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index e66738448..e50ecc579 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -1400,12 +1400,12 @@ def create_parser():
help='Do not read/dump cookies from/to file (default)')
filesystem.add_option(
'--cookies-from-browser',
- dest='cookiesfrombrowser', metavar='BROWSER[+KEYRING][:PROFILE]',
+ dest='cookiesfrombrowser', metavar='BROWSER[+KEYRING][:PROFILE[:CONTAINER]]',
help=(
- 'The name of the browser and (optionally) the name/path of '
- 'the profile to load cookies from, separated by a ":". '
+ 'The name of the browser and (optionally) the name/path of the profile to load cookies from '
+ '(and container name if Firefox) separated by a ":". '
f'Currently supported browsers are: {", ".join(sorted(SUPPORTED_BROWSERS))}. '
- 'By default, the most recently accessed profile is used. '
+ 'By default, the default container of the most recently accessed profile is used. '
'The keyring used for decrypting Chromium cookies on Linux can be '
'(optionally) specified after the browser name separated by a "+". '
f'Currently supported keyrings are: {", ".join(map(str.lower, sorted(SUPPORTED_KEYRINGS)))}'))