diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-10 11:44:45 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-11 05:52:55 +0530 |
commit | d76fa1f3d4f559e82a4c54e6f8feb0727ffc4b58 (patch) | |
tree | 5a9e1d45dbf612d94a767c0945f28057502eba95 /yt_dlp/YoutubeDL.py | |
parent | fe1daad3cb224904cc72462204da5f6427be6f44 (diff) |
[cookies] Allow `cookiefile` to be a text stream
Closes #3674
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index f9670429a..38ecd276f 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -312,7 +312,7 @@ class YoutubeDL: has been filtered out. break_per_url: Whether break_on_reject and break_on_existing should act on each input URL as opposed to for the entire queue - cookiefile: File name where cookies should be read from and dumped to + cookiefile: File name or text stream from where cookies should be read and dumped to cookiesfrombrowser: A tuple containing the name of the browser, the profile name/pathfrom where cookies are loaded, and the name of the keyring. Eg: ('chrome', ) or ('vivaldi', 'default', 'BASICTEXT') |