Does streamlink support importing cookies as a file like youtube-dl? #4313
-
I'm trying to import cookies for a site with no plugin support, but I don't know where to find the cookie I need when using --http-cookie. Does streamlink support a cookie file for the while site like youtube-dl does? Or am I doing something wrong? Thank You. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As described in the docs, you can set multiple streamlink --http-cookie 'key1=value2' --http-cookie 'key2=value2' URL QUALITY
No, it does not, but you can add a custom config file that gets loaded via If one wants a |
Beta Was this translation helpful? Give feedback.
As described in the docs, you can set multiple
--http-cookie=key=value
parameters:No, it does not, but you can add a custom config file that gets loaded via
--config
which then includes thosehttp-cookie
parameters:https://streamlink.github.io/cli.html#cmdoption-config
If one wants a
--http-cookie-file
or--http-header-file
parameter for Streamlink's CLI, they can submit a pull request that will then be reviewed.