Catching exceptions to continue when pyquery parsing fails