Implentation in python that parses the html from the clarity server and returns relevant JSON