我正在用Python编写脚本以将我的Google Chrome密码(在Linux中)转储到文件中,但是当我连接到数据库时,它返回None,有人知道如何解决它吗?
path = os.getenv('HOME') + '/.config/google-chrome/Default/Login Data'
conn = sqlite3.connect(path)
cursor = conn.cursor()
cursor.execute('SELECT action_url, username_value, password_value FROM logins')
for result in ex.fetchall():