Bug: Adding two different links with the same timestamp (e.g. from JSON) errors out and stops the entire import #1188
Labels
expected: next release
good first ticket
help wanted
size: easy
status: backlog
Work is planned someday but is not the highest priority at the moment
Describe the bug
If you have two links with the same timestamp, ArchiveBox throws this error:
and stops the import. If the links don't match, it should just make separate records, not stop the entire import process. I see that the directories for these two snapshots are created in a way that resolves this (increments the timestamp for the "duplicate" snapshot's directory by 1, so we get
1611619200.0
and1611619201.0
. That's goodSteps to reproduce
AssertionError: Cannot merge two links with different URLs
.Screenshots or log output
Source:
Log:
ArchiveBox version
The text was updated successfully, but these errors were encountered: