[cookies] Allow cookiefile to be a text stream

Closes #3674
This commit is contained in:
pukkandan 2022-05-10 11:44:45 +05:30
parent fe1daad3cb
commit d76fa1f3d4
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
3 changed files with 28 additions and 5 deletions

View file

@ -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')