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

pull/17/head
arkiver 1 year ago
parent fe17191306
commit 15a0a1a6f5

@ -59,7 +59,7 @@ if not WGET_AT:
# #
# Update this each time you make a non-cosmetic change. # Update this each time you make a non-cosmetic change.
# It will be added to the WARC files and reported to the tracker. # It will be added to the WARC files and reported to the tracker.
VERSION = '20230607.05' VERSION = '20230607.06'
TRACKER_ID = 'reddit' TRACKER_ID = 'reddit'
TRACKER_HOST = 'legacy-api.arpa.li' TRACKER_HOST = 'legacy-api.arpa.li'
MULTI_ITEM_SIZE = 20 MULTI_ITEM_SIZE = 20

@ -152,6 +152,11 @@ allowed = function(url, parenturl)
parenturl parenturl
and string.match(parenturl, "^https?://[^/]*reddit%.com/user/[^/]+/duplicates/") and string.match(parenturl, "^https?://[^/]*reddit%.com/user/[^/]+/duplicates/")
and string.match(url, "^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 ) then
return false return false
end end

Loading…
Cancel
Save