Version 20220729.03. Add url: prefix to url item.

pull/17/head
arkiver 2 years ago
parent 2d8fa4034b
commit e8fe03fbd0

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

@ -204,7 +204,7 @@ allowed = function(url, parenturl)
if not string.match(url, "^https?://v%.redd%.it/")
or string.match(url, "%.mp4$")
or string.match(url, "%.ts$") then
reddit_media_urls[url] = true
reddit_media_urls["url:" .. url] = true
return false
end
return true

Loading…
Cancel
Save