allow --cookies
This commit is contained in:
parent
d6ab18ec22
commit
0881fce2ab
2 changed files with 1 additions and 4 deletions
|
|
@ -51,9 +51,6 @@ REMOVE_KEYS: list = [
|
||||||
"print_to_file": "--print-to-file",
|
"print_to_file": "--print-to-file",
|
||||||
"cookiesfrombrowser": "--cookies-from-browser",
|
"cookiesfrombrowser": "--cookies-from-browser",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cookiefile": "--cookies",
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
YTDLP_INFO_CLS: yt_dlp.YoutubeDL = None
|
YTDLP_INFO_CLS: yt_dlp.YoutubeDL = None
|
||||||
|
|
|
||||||
|
|
@ -339,7 +339,7 @@ class Config:
|
||||||
self._ytdlp_cli_mutable = self.ytdlp_cli
|
self._ytdlp_cli_mutable = self.ytdlp_cli
|
||||||
try:
|
try:
|
||||||
removed_options = []
|
removed_options = []
|
||||||
ytdl_options = arg_converter(args=self.ytdlp_cli, level=1, removed_options=removed_options)
|
ytdl_options = arg_converter(args=self.ytdlp_cli, level=True, removed_options=removed_options)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
LOG.debug("Parsed yt-dlp cli options '%s'.", ytdl_options)
|
LOG.debug("Parsed yt-dlp cli options '%s'.", ytdl_options)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue