mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #107] [MERGED] Optionally import only new links #4075
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#4075
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?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/107
Author: @f0086
Created: 10/19/2018
Status: ✅ Merged
Merged: 10/26/2018
Merged by: @pirate
Base:
master← Head:import-only-new-links📝 Commits (4)
69c007cOptionally import only new linksb1b6be4merge_links() used wrong indexebc327bMake O(n^2) loop to an O(n) problem.a2f5fa8Use a more appropriate coding style from @pirate.📊 Changes
4 files changed (+32 additions, -6 deletions)
View changed files
📝
README.md(+6 -0)📝
archiver/archive.py(+17 -6)📝
archiver/config.py(+1 -0)📝
archiver/links.py(+8 -0)📄 Description
When importing a huge list of links periodically (from a big dump of
links from a bookmark service for example) with a lot of broken links,
this links will always be rechecked. To skip this, the environment
variable ONLY_NEW can be used to only import new links and skip the rest
altogether. This partially fixes #95.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.