Add html parsing error handler when constructing beautiful soup