title: Python - reading History file of chrome
body: <p>I try using the following code to read chrome history file</p>
  <pre><code>import sqlite3
  con = sqlite3.connect(r'C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\History')
  cursor = con.cursor()
  cursor.execute(&quot;SELECT url FROM urls&quot;)
  urls = cursor.fetchall()
  print('\n'.join(urls))
  </code></pre>
  <p>if I run the code I get <code>Process finished with exit code 0</code>
  I tried it with chinook.db
  every website , guide , tutorial shows the same way with tweaks added nothing worked .
  tried using python3.10 &amp; python3.9</p>
  <p>I use windows10 , created VM with win10 and it works there any suggestions?</p>
  <p>I placed history file in another folder and chrome still has its history , rechecked user , path seems chrome takes his history from some another place</p>
  <p>i used chinook.db and it worked , obviously chrome history file isn't empty but nothing prints</p>
  <p>opened history.db using DB browser and it seems to be empty , but chrome shows otherwise</p>
  <p>I have deleted History file from chrome now i get the following error ( visited few sites to make sure it's not empty )</p>
  <pre><code>    cursor.execute(&quot;SELECT url FROM urls&quot;)
  sqlite3.OperationalError: no such table: urls
  </code></pre>