From 996b2e2084c1798126bd91dd950c063982398bec Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 9 Nov 2021 15:46:20 -0800 Subject: more iteration on short wayback timestamp cleanup --- notes/cleanups/scripts/fetch_full_cdx_ts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notes/cleanups/scripts') diff --git a/notes/cleanups/scripts/fetch_full_cdx_ts.py b/notes/cleanups/scripts/fetch_full_cdx_ts.py index 6f67c7e1..d5b0c476 100644 --- a/notes/cleanups/scripts/fetch_full_cdx_ts.py +++ b/notes/cleanups/scripts/fetch_full_cdx_ts.py @@ -137,7 +137,7 @@ def process_file(fe, session) -> dict: if short in full_urls: continue - if original_url in self_urls: + if original_url in self_urls and ts in self_urls[original_url]: full_urls[short] = self_urls[original_url] status = "success-self" continue -- cgit v1.2.3