-
Notifications
You must be signed in to change notification settings - Fork 695
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
sso_cookies.py not working when "=" equals symbol is present #220
Comments
Hi!
From your command line, navigate where you have the safaribooks project
Now execute the initial command from the basic instructions That worked for me. |
I followed your instructions and I can confirm it worked. I was using Firefox. I copy all the values of cookie tab, change the format from "key":"value","key":"value",... to key=value;key=value;... and pasted all the string in oss_cookies.py to generate the cookies.json file. Thanks a lot. |
How to solve that error !! |
That is a python dependency/library, "download" requests: If pip is installed but not in your path you can use |
Please read the README.md. |
After trying to use the sso_cookies.py to crate the cookies.json file, it couldn't authenticate due to an issue in the JSON creation.
When the following pattern is present (I have omitted the rest of the cookies and formated the JSON for obvious reason):
{ "_dd_s":"rum=1&expire=111", "_fbp":"fb.1.111.111" }
It is converting to:
{ "_dd_s:rum": "1&expire=111,_fbp:fb.1.111.111" }
Some additional info:
python3 sso_cookies.py '"_dd_s":"rum=1&expire=111.......'
The text was updated successfully, but these errors were encountered: