the tags command has a bigger problem than the rest. email.utils.parsedate returns a tuple or None, so subtracting two of them blows up, which means those cadence numbers can’t have come from this exact code. the outbound check is also sloppy, since endswith tumblr.com swallows nottumblr.com
a missing pubDate crashes the parser, and because collect only catches Blocked, one bad item takes down the whole blog. the retry header can also be an http date, and a plain int call on it will blow up, so wrap that in a try and fall back to backoff. calling json.loads before checking the status means an html error page throws an exception instead of a clean error