mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1545] Bug: netscape_html fails due to parsing sources-*-import.txt instead of bookmarks.html #2428
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#2428
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 @hrdl-github on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1545
Describe the bug
netscape_htmlfails due to parsing thesources-*-import.txtcontaining the bookmark file's filename instead of the bookmark file.Steps to reproduce
archivebox add /tmp/firefox_bookmarks_export.html, optionally with--parser netscape_htmlArchiveBox version
@pirate commented on GitHub (Oct 17, 2024):
Thanks for reporting. I'll get it fixed.
@pirate commented on GitHub (Oct 21, 2024):
I'm considering removing support for directly passing file URLs as CLI args as it's led to lots of parser ambiguity in the past, I'm leaning towards preferring piping instead.
Are you able to do this instead:
@hrdl-github commented on GitHub (Oct 22, 2024):
Yes, redirecting stdin works fine.
@pirate commented on GitHub (Oct 22, 2024):
Ok, I will document the change in the upcoming release. Please use stdin redirection moving forward for any local files. Args will only support URLs in the next release.