From 7f4db173480ae74de46c1a17bf8ebc9b87f92918 Mon Sep 17 00:00:00 2001 From: arkiver Date: Fri, 21 Oct 2022 01:11:46 +0200 Subject: [PATCH] Version 20221021.01. Ignore /tailwind-build.css URL from comment in HTML. --- pipeline.py | 2 +- reddit.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline.py b/pipeline.py index bf0e82f..0b74a08 100644 --- a/pipeline.py +++ b/pipeline.py @@ -61,7 +61,7 @@ if not WGET_AT: # # Update this each time you make a non-cosmetic change. # It will be added to the WARC files and reported to the tracker. -VERSION = '20221005.01' +VERSION = '20221021.01' TRACKER_ID = 'reddit' TRACKER_HOST = 'legacy-api.arpa.li' MULTI_ITEM_SIZE = 20 diff --git a/reddit.lua b/reddit.lua index 0e1b8cd..d00d0ad 100644 --- a/reddit.lua +++ b/reddit.lua @@ -107,6 +107,7 @@ allowed = function(url, parenturl) or string.match(url, "%?sort=") or string.match(url, "%?limit=500$") or string.match(url, "%?ref=readnext$") + or string.match(url, "/tailwind%-build%.css$") or string.match(url, "^https?://v%.redd%.it/.+%?source=fallback$") or string.match(url, "^https?://[^/]*reddit%.app%.link/") or string.match(url, "^https?://out%.reddit%.com/r/")