Remove quotes from cookies
This commit is contained in:
parent
081a64d1b9
commit
a406dbcf95
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def get_visitor_id(request_func):
|
|||
|
||||
def sapisid_from_cookie(raw_cookie):
|
||||
cookie = SimpleCookie()
|
||||
cookie.load(raw_cookie)
|
||||
cookie.load(raw_cookie.replace("\"", ""))
|
||||
return cookie['__Secure-3PAPISID'].value
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue