Version 20230607.03. Prevent getting URL ending with /". Ignore /message/compose URLs.

pull/17/head
arkiver 12 months ago
parent 393407520b
commit f63c8ab696

@ -59,7 +59,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 = '20230607.02'
VERSION = '20230607.03'
TRACKER_ID = 'reddit'
TRACKER_HOST = 'legacy-api.arpa.li'
MULTI_ITEM_SIZE = 20

@ -121,6 +121,8 @@ allowed = function(url, parenturl)
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, "/%?context=1$")
or string.match(url, '/"$')
or string.match(url, "^https?://[^/]+/message/compose")
or (
string.match(url, "^https?://gateway%.reddit%.com/")
and not string.match(url, "/morecomments/")

Loading…
Cancel
Save