#!/usr/bin/python # Generate the status config based on the exozyme explore page import re import sys deny = { 'Status', # Make sure we don't include the status page itself!! 'exolinux', 'Recursion', 'Unicode Visualizer', '69!=', 'April Gools', 'Diagonal Scroll', 'flexozyme', 'Multiple Pendulum Animation', 'Dumb Physics Engine', 'Hex Color Clock', 'blank' } rules = { 'PixivFE': 'about', 'LiteXiv': 'main.css', 'Priviblur': 'priviblur/licences', 'Redlib': 'info', } sites = [] with open('/srv/http/www/explore.html') as f: for l in f.readlines(): m = re.search('