Reformatted code to pep8 standards
Category url regex fix