removed print of html in case of error in extract_data