I'm trying to get the browser history programmatically. Here's what I've done (in python, using sqlite3):
connection = sqlite3.connect('/home/quantka/.mozilla/firefox/35lwme56.profile0/places.sqlite') cursor=connection.cursor() cursor.execute("SELECT url FROM moz_places") history = cursor.fetchall()
This always returns the same 11 results that only include default mozilla sites like "http://www.mozilla.com/en-US/firefox/central/", even after I use the browser and go to other websites. I have verified that I am querying the correct profile (I think I checked all the profiles and all of them have the same 11 default sites).
Just for context, I am using the browser to go to websites through mozrepl, I don't think that should cause this problem, but maybe it is?
I have seen this same approach work on a different computer where I have only one profile and browsed using firefox's GUI.