browsercookie
browsercookie copied to clipboard
```# -*- coding: utf-8 -*- import browsercookie import requests class Cookies: def __init__(self): self.able_cookies = None self.chrome_cookies = None def cookies_to_value(self, url): cj = browsercookie.load() # cookie = [c.value for...
The code handles v10 encrypted cookies only, but my Chrome has v11 cookies as well. All cookies have the empty string in their value field.
I think I need requests to have the same user-agent string as my browser to re-use the cookie on some sites. If this is the case, it would be nice...
Traceback (most recent call last): File "", line 1, in File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie\__init__.py", line 397, in chrome return Chrome(cookie_file).load() File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie\__init__.py", line 87, in load for cookie in self.get_cookies(): File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie\__init__.py",...
Great tool, thanks! I found myself debugging why this wouldn't work: ```python cj = browsercookie.firefox( cookie_file="/Users/cwsr/Library/Application Support/Firefox/Profiles/g653fonx.default-release/cookies.sqlite" ) ``` ``` Traceback (most recent call last): File "dump_service_now.py", line 7, in...
Ok so it seems chrome 80 decided to go abit crazy with their cookies lol Iv fixed up browsercookie to work with 80+ with alot of help from this post:...
Great project. Looking forward to have support for the Brave Browser
Hello can you help this: the cookie path for Edge on Mac should be: ~/Library/Application Support/Microsoft Edge/Profile */Cookies 
I have been using `browsercookie` in a custom script to fetch API values (for months), but it seems the latest version of Chrome changed something and `bc` is not able...
The salt should not be set as a static variable, as this will lead to reduced security. See https://github.com/richardpenman/browsercookie/blob/9d5e80788504c8b950bda31e377585252d7abc31/browsercookie/init.py#L106 for the reference.