webbrowser.cdp.client: apply/retrieve cookies#6650
Merged
Conversation
- Add Streamlink session reference to `CDPClient`
- Add `{apply,retrieve}_cookies()` to `CDPClientSession` for copying
cookies between Streamlink's HTTP session and the web browser
snorkelopstesting3-bot
pushed a commit
to snorkel-marlin-repos/streamlink_streamlink_pr_6650_3499841b-b1ff-4856-a693-c0b6febf25cb
that referenced
this pull request
Oct 22, 2025
Original PR #6650 by bastimeyer Original: streamlink/streamlink#6650
snorkelopstesting3-bot
added a commit
to snorkel-marlin-repos/streamlink_streamlink_pr_6650_3499841b-b1ff-4856-a693-c0b6febf25cb
that referenced
this pull request
Oct 22, 2025
Merged from original PR #6650 Original: streamlink/streamlink#6650
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CDPClient{apply,retrieve}_cookies()toCDPClientSessionfor copying cookies between Streamlink's HTTP session and the web browserThis simplifies copying cookies between the HTTP session and the web browser, which might be necessary in other plugins.
I've been (unsuccessfully) working on the bot detection for the VK plugin a few days ago, but I'm not sure yet if copying cookies is necessary there. Having those two methods on the CDPClientSession class however is generally useful.