<%! import BTEdb, time %> <% db = BTEdb.Database("/dev/shm/lainchan-scraper.json") dumped = db.Dump("table") dumped.sort(key = lambda x: x["time"]) %> Lainchan scraper for IPFS IDs

IPFS Scraper

% for post in dumped[::-1]:
Post - public local - ${post["match"]} ${time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(post["time"]))}
${post["text"].replace(u"\u03bb", "lam").replace('href="/' + post["board"], 'href="https://lainchan.org/' + post["board"])}
% endfor