scripts: filter history records

We don't need to import history records about `moz-extensions`, `about` pages, `dactyl` and so on...
This commit is contained in:
Andrea Scarpino 2018-01-04 19:46:18 +01:00 committed by GitHub
parent c3bcb1d9ba
commit 16fb9bc80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,8 @@ def run():
source, dest = args.source, args.dest
query = {
'firefox': 'select url,title,last_visit_date/1000000 as date '
'from moz_places',
'from moz_places where url like "http%" or url '
'like "ftp%" or url like "file://%"',
'chrome': 'select url,title,last_visit_time/10000000 as date '
'from urls',
}