Thanks to visit codestin.com
Credit goes to github.com

Skip to content

webbrowser.cdp.client: apply/retrieve cookies#6650

Merged
bastimeyer merged 2 commits into
streamlink:masterfrom
bastimeyer:webbrowser/cookies
Sep 2, 2025
Merged

webbrowser.cdp.client: apply/retrieve cookies#6650
bastimeyer merged 2 commits into
streamlink:masterfrom
bastimeyer:webbrowser/cookies

Conversation

@bastimeyer

Copy link
Copy Markdown
Member
  • Add Streamlink session reference to CDPClient
  • Add {apply,retrieve}_cookies() to CDPClientSession for copying cookies between Streamlink's HTTP session and the web browser

This 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.

- Add Streamlink session reference to `CDPClient`
- Add `{apply,retrieve}_cookies()` to `CDPClientSession` for copying
  cookies between Streamlink's HTTP session and the web browser
@bastimeyer bastimeyer merged commit b0540fa into streamlink:master Sep 2, 2025
27 checks passed
@bastimeyer bastimeyer deleted the webbrowser/cookies branch September 2, 2025 20:24
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant