Version 20210108.09. Ignore over18 URLs on old.reddit.com (cookie fix coming up, not a problem on www.reddit.com).

pull/5/head
arkiver 3 years ago
parent f3d41ea2e1
commit 2911934fd4

@ -54,7 +54,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 = '20210108.08'
VERSION = '20210108.09'
USER_AGENT = 'Archive Team'
TRACKER_ID = 'reddit'
TRACKER_HOST = 'trackerproxy.archiveteam.org'

@ -92,13 +92,12 @@ allowed = function(url, parenturl)
or string.match(url, "^https?://old%.reddit%.com/gallery/")
or string.match(url, "^https?://old%.reddit%.com/gold%?")
or string.match(url, "^https?://[^%.]+%.redd%.it/award_images/")
or string.match(url, "^https?://[^/]+/over18.+dest=https%%3A%%2F%%2Fold%.reddit%.com")
or string.match(url, "^https?://old%.[^%?]+%?utm_source=reddit")
or (
string.match(url, "^https?://gateway%.reddit%.com/")
and not string.match(url, "/morecomments/")
)
or (
string.match(url, "^https?://old%.[^%?]+%?utm_source=reddit")
)
or string.match(url, "/%.rss$")
or (
parenturl

Loading…
Cancel
Save