borisbabic / browser_cookie3

This is a fork of browser_cookie
GNU Lesser General Public License v3.0
856 stars 144 forks source link

Error loading Chrome cookies #209

Closed AdamDelRio closed 5 months ago

AdamDelRio commented 5 months ago

Hello all,

I am getting this error when trying to use a function call that utilizes brower_cookie3:

` File c:\Users\\AppData\Local\Programs\Python\Python39\lib\site-packages\browser_cookie3__init__.py:494, in ChromiumBased.load(self) try:

chrome <=55

--> cur.execute('SELECT host_key, path, secure, expires_utc, name, value, encrypted_value, is_httponly ' 'FROM cookies WHERE host_key like ?;', ('%{}%'.format(self.domain_name),)) except sqlite3.OperationalError:

chrome >=56

OperationalError: no such table: cookies `

I am running Windows 11 Home Version 23H2 Chrome version 125.0.6422.142 Python version 3.9.5 (Needed for the package I'm using) browser_cookie3 version 0.19.1

I have uninstalled and reinstalled brower_cookie3 to no avail and also made sure Chrome cookies are enabled for all third party sites

Any help would be greatly appreciated.