Fixed problem with HTML reading and infinite loop in PythonParser __init__