question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sso_cookies.py not working when "=" equals symbol is present

See original GitHub issue

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:

  • The original JSON was extracted from Firefox’s network tab, as indicated in the Elrob’s commentary
  • I called the command in PowerShell, using the following sintax: python3 sso_cookies.py '"_dd_s":"rum=1&expire=111.......'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lorenzodifucciacommented, Jan 18, 2021

Please read the README.md. This is a Python3 program!

1reaction
gusleyvacommented, Jan 18, 2021

How to solve that error !! Traceback (most recent call last): File “sso_cookies.py”, line 13, in import safaribooks File “C:\Users*****\Desktop\safaribooks\safaribooks.py”, line 12, in import requests ModuleNotFoundError: No module named ‘requests’

That is a python dependency/library, “download” requests: $ sudo pip install requests (or pip3 install requests for python3) if you have pip installed.

If pip is installed but not in your path you can use python -m pip install requests (or python3 -m pip install requests for python3)

Read more comments on GitHub >

github_iconTop Results From Across the Web

The equal sign does not work on my keyboard
Whenever I try to press the equal sign, which is close to the backspace key it doesn't type anything. And the key does...
Read more >
Is there any command to make the math symbol "not equal ...
you could do the following : print(u'\u2260').
Read more >
Not Equal Sign – How to Type the Does Not Equal Symbol
Not Equal Sign Keyboard Shortcut On Mac. If you are using a Mac, typing the does not equal sign is as easy as...
Read more >
Equals sign - Wikipedia
Not equal. The symbol used to denote inequation (when items are not equal) is a slashed equal sign ≠ (U+2260). In LaTeX, this...
Read more >
linux mint - I suddenly can't type the equal sign (=)
I had the same problem in PuppyLinux where I could type ) but not the 0 . I then tried another Linux distro...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found