You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw your fix for the partitioned cookie error in python 3.12 cookies.py and have implemented a variation of this into the alexapy python package thus resolving a 3 month old issue.
Your code is version restricted though and I believe the partitioned "key : value" pair isn't going to make it into Python 3.13 cookies.pyMorsel class which would then break your code again.
My variation is version non-specific and uses _reserved.update which only adds the "key : value" pair if it does not exist and does nothing if it's already there. The _flags.add already behaves that way so it's fine. alexalogin.py:
I had to alter my implementation of your code as alexalogin.py was already using a variable named cookies thus preventing me from importing cookies from http.
The text was updated successfully, but these errors were encountered:
I saw your fix for the partitioned cookie error in python 3.12 cookies.py and have implemented a variation of this into the alexapy python package thus resolving a 3 month old issue.
Your code is version restricted though and I believe the partitioned "key : value" pair isn't going to make it into Python 3.13
cookies.py
Morsel
class which would then break your code again.My variation is version non-specific and uses
_reserved.update
which only adds the "key : value" pair if it does not exist and does nothing if it's already there. The_flags.add
already behaves that way so it's fine.alexalogin.py
:I had to alter my implementation of your code as
alexalogin.py
was already using a variable namedcookies
thus preventing me from importingcookies
fromhttp
.The text was updated successfully, but these errors were encountered: