Version 20230607.06. Ignore discovered /r/FIFA URL if coming from a /r/EASportFC parent URL.

pull/17/head
arkiver 12 months ago
parent fe17191306
commit 15a0a1a6f5

@ -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.05'
VERSION = '20230607.06'
TRACKER_ID = 'reddit'
TRACKER_HOST = 'legacy-api.arpa.li'
MULTI_ITEM_SIZE = 20

@ -152,6 +152,11 @@ allowed = function(url, parenturl)
parenturl
and string.match(parenturl, "^https?://[^/]*reddit%.com/user/[^/]+/duplicates/")
and string.match(url, "^https?://[^/]*reddit%.com/user/[^/]+/duplicates/")
)
or (
parenturl
and string.match(parenturl, "^https?://[^/]+/r/EASportsFC/")
and string.match(url, "^https?://[^/]+/r/FIFA/")
) then
return false
end

Loading…
Cancel
Save