1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-24 15:13:03 +02:00

sort links before uniqueifying

This commit is contained in:
Nick Sweeting
2018-04-17 09:14:13 -04:00
parent 52a2ddd2b6
commit 1776bdfe07

View File

@@ -46,8 +46,8 @@ from config import ANSI
def validate_links(links):
links = archivable_links(links) # remove chrome://, about:, mailto: etc.
links = uniquefied_links(links) # merge/dedupe duplicate timestamps & urls
links = sorted_links(links) # deterministically sort the links based on timstamp, url
links = uniquefied_links(links) # merge/dedupe duplicate timestamps & urls
if not links:
print('[X] No links found :(')