diff --git a/pipeline.py b/pipeline.py index 3a2cc28..2f39035 100644 --- a/pipeline.py +++ b/pipeline.py @@ -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 = '20230614.03' +VERSION = '20230615.01' TRACKER_ID = 'reddit' TRACKER_HOST = 'legacy-api.arpa.li' MULTI_ITEM_SIZE = 40 diff --git a/reddit.lua b/reddit.lua index f317c81..c1cfcc2 100644 --- a/reddit.lua +++ b/reddit.lua @@ -123,6 +123,7 @@ allowed = function(url, parenturl) or string.match(url, "/%?context=1$") or string.match(url, '/"$') or string.match(url, "^https?://[^/]+/message/compose") + or string.match(url, "www%.reddit%.com/avatar[/]?$") or ( string.match(url, "^https?://gateway%.reddit%.com/") and not string.match(url, "/morecomments/")