mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix RSS parser bailing out when lines have whitespace before tags
This commit is contained in:
parent
3571ef24e4
commit
eff0100971
2 changed files with 2 additions and 3 deletions
|
@ -59,7 +59,6 @@ def load_links(archive_path=OUTPUT_DIR, import_path=None):
|
|||
existing_links = []
|
||||
if archive_path:
|
||||
existing_links = parse_json_links_index(archive_path)
|
||||
existing_links = validate_links(existing_links)
|
||||
|
||||
new_links = []
|
||||
if import_path:
|
||||
|
@ -178,6 +177,7 @@ if __name__ == '__main__':
|
|||
elif stdin_raw_text:
|
||||
source = save_source(stdin_raw_text)
|
||||
|
||||
|
||||
# Step 1: Parse the links and dedupe them with existing archive
|
||||
all_links, new_links = load_links(archive_path=out_dir, import_path=source)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue