mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
feat: Remove patch_main_index
This commit is contained in:
parent
31343c1367
commit
874403e667
3 changed files with 1 additions and 48 deletions
|
@ -679,12 +679,11 @@ def update(resume: Optional[float]=None,
|
|||
|
||||
# Step 1: Load list of links from the existing index
|
||||
# merge in and dedupe new links from import_path
|
||||
all_links: List[Link] = []
|
||||
new_links: List[Link] = []
|
||||
all_links = load_main_index(out_dir=out_dir)
|
||||
|
||||
# Step 2: Write updated index with deduped old and new links back to disk
|
||||
write_main_index(links=list(all_links), out_dir=out_dir)
|
||||
# write_main_index(links=list(all_links), out_dir=out_dir)
|
||||
|
||||
# Step 3: Filter for selected_links
|
||||
matching_links = list_links(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue