# This regex attempts to find IPFS hashes. Right now it just looks for 46 letter long words. There's a better way because they all start with the same two character string but I will add that in a later update
i=0# From here down is a hack to actually get the matching text (the id) out of the regex results so we can actually generate URLs and print it to the site
# Last scrape at (current time). Next scrape at (next hour after the current time)
# We take the current time and modulo it 3600 to get the seconds since the last hour. We then take 3600 - that value to get the seconds until the next hour. We add the result of that to the current time to get the time of the next "o'clock" hour
status.write("Last scrape at <span class=\"date\">"+str(int(time.time()))+"</span><br /> Next scrape at <span class=\"date\">"+str(3600-(int(time.time())%3600)+int(time.time()))+"</span>")