mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-06 21:37:47 +02:00
fix: issue of data missing caused by title being null
This commit is contained in:
@@ -73,7 +73,7 @@ func (c *ChromiumHistory) Length() int {
|
|||||||
type FirefoxHistory []history
|
type FirefoxHistory []history
|
||||||
|
|
||||||
const (
|
const (
|
||||||
queryFirefoxHistory = `SELECT id, url, last_visit_date, title, visit_count FROM moz_places where title not null`
|
queryFirefoxHistory = `SELECT id, url, COALESCE(last_visit_date, 0), COALESCE(title, ''), visit_count FROM moz_places`
|
||||||
closeJournalMode = `PRAGMA journal_mode=off`
|
closeJournalMode = `PRAGMA journal_mode=off`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user