]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/YoutubeDL.py
[cookies] Support firefox container in `--cookies-from-browser` (#4753)
[yt-dlp.git] / yt_dlp / YoutubeDL.py
index 491e02dec69f3888eeb580524e1a040ba0c9f6ec..10c17ea007f8f15ece986f581d31f57ee3746540 100644 (file)
@@ -304,8 +304,9 @@ class YoutubeDL:
                        should act on each input URL as opposed to for the entire queue
     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/path from where cookies are loaded, and the name of the
-                       keyring, e.g. ('chrome', ) or ('vivaldi', 'default', 'BASICTEXT')
+                       name/path from where cookies are loaded, the name of the keyring,
+                       and the container name, e.g. ('chrome', ) or
+                       ('vivaldi', 'default', 'BASICTEXT') or ('firefox', 'default', None, 'Meta')
     legacyserverconnect: Explicitly allow HTTPS connection to servers that do not
                        support RFC 5746 secure renegotiation
     nocheckcertificate:  Do not verify SSL certificates