mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
fix(export_browser_history): fix sqlite quote syntax error
This commit is contained in:
parent
2e1ac0409d
commit
feded9e3d4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export_firefox() {
|
|||
cp "$default" "$OUTPUT_DIR/firefox_history.db.tmp"
|
||||
fi
|
||||
|
||||
sqlite3 "$OUTPUT_DIR/firefox_history.db.tmp" "SELECT \"[\" || group_concat(json_object('timestamp', last_visit_date, 'description', title, 'href', url)) || \"]\" FROM moz_places;" > "$OUTPUT_DIR/firefox_history.json"
|
||||
sqlite3 "$OUTPUT_DIR/firefox_history.db.tmp" "SELECT '[' || group_concat(json_object('timestamp', last_visit_date, 'description', title, 'href', url)) || ']' FROM moz_places;" > "$OUTPUT_DIR/firefox_history.json"
|
||||
|
||||
sqlite3 "$OUTPUT_DIR/firefox_history.db.tmp" "
|
||||
with recursive tags AS (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue