mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1594] Feature Request: Support csv output files from browser-history python package #3968
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1over137 on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1594
Originally assigned to: @pirate on GitHub.
What type of suggestion are you making?
Proposing a new feature
What is the problem that your feature request solves?
The export_history script seems to be broken for me and I cannot get it to run for firefox.
What is your proposed solution?
The browser-history python package works nicely. It would be easier to support importing its output instead of maintaining a script.
The csv format is simple: just datetime, link, title
Example
2024-11-13 20:00:00-05:00,https://www.youtube.com/,YouTubeWhat hacks or alternative solutions have you tried to solve the problem?
I can just import the links, but that would lose the date information
What version of ArchiveBox are you currently using?
How badly do you want this new feature?
Mini Survey
@pirate commented on GitHub (Nov 14, 2024):
Ok, in the meantime you can use this quick script to convert the CSV to a JSONL format that archviebox can ingest:
Then pipe the JSONL into archivebox like so:
archivebox add --parser=jsonl < output.jsonl@1over137 commented on GitHub (Nov 14, 2024):
There is no jsonl parser, would the json one work?
Edit: I noticed now that this is present in the rc version. Will use that for now.