Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodriver cookies.get_all hangs (after exception inside CookiePartitionKey.from_json) on specific cookies ... #2053

Open
yoori opened this issue Oct 22, 2024 · 0 comments

Comments

@yoori
Copy link

yoori commented Oct 22, 2024

In my case chrome 130 return cookies in next format :

{"id":147,"result":{"cookies":[{"name":"cf_clearance","value":"eJvpmn.XUvkpkI9QeGYMIcGTy9VJmoB.TJGi5OWGn.I-1729617561-1.2.1.1-JZPBkF9hDHOligug6vCKuajfgzKEJshFnMm1XD2a6o53u6Ry5S_EIIoBh3IqvheBDe4pqOQKSDSvCiVOn672cjtPNpLpQmFun9_u8QDxFhHkpYHrfWEhMytrZa5HbCTcOcyDdELI0TF3IKjoqSP5UhfHDAP4LU3mPNGrQtDuJ6Qtzj98cneRFr3Av8RBX013xF4qKUIQLbvyZzoMCod1Mw5Balur5WYd9CqfXTuElbUwSmFe8KDV5GjfT3VMwXr8_V7IMbqCmAal8LJCtl16Px42rbwRoslfd8R.ylLNnQhz_ukQG6CEDykGSd43aMa8Azd84a0LgCr78GC7_g6K72VODtvrbgPr5pEFLMTuhHL9E2QF3tCUfbhg9Jn2RRcVbwFdWqDsQGfXpRxrIdju2duxBno186RYqLJ4A3AeZLY","domain":".torrentleech.pl","path":"/","expires":1761153567.091596,"size":502,"httpOnly":true,"secure":true,"session":false,"sameSite":"None","priority":"High","sameParty":false,"sourceScheme":"Secure","sourcePort":443,"partitionKey":"https://torrentleech.pl"},{"name":"PHPSESSID","value":"eornavhhs01t5k0k8c7djdvke0","domain":"torrentleech.pl","path":"/","expires":-1,"size":35,"httpOnly":false,"secure":false,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}]}}
partitionKey is string and isn't dict (with topLevelSite attribute) as expected

I created fork with fix : https://github.com/yoori/nodriver
but don't know how to pull request into nodriver
I don't want to use my fork in my projects and want switch to you repo, but can't do this wihtout this fix

Regards, Yuri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant