6 ms·
Chromium and Firefox have all your history stored in a sqlite database. I have a script to extract the last visited website from chrome for example: https://gi
by barbuk 5y ago
Chromium and Firefox have all your history stored in a sqlite database.
I have a script to extract the last visited website from chrome for example: https://github.com/BarbUk/dotfiles/blob/master/bin/chrome_history https://github.com/BarbUk/dotfiles/blob/master/bin/chrome_hi...
For firefox, you can use something like:
sqlite3 ~/.mozilla/firefox/.[dD]efault/places.sqlite "SELECT strftime('%d.%m.%Y %H:%M:%S', visit_date/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_historyvisits WHERE moz_places.id = moz_historyvisits.place_id ORDER BY visit_date;"
- kqr 5y agoDoes this database store the full text content of the website? I believe that's what OP is asking for.
- _dain_ 5y agoYou can pipe the URLs through something like monolith[1]. https://github.com/Y2Z/monolith https://github.com/Y2Z/monolith
- alinspired 5y agoTIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile