Closed loleg closed 3 years ago
I see this mentioned deep in the docs.. https://micawber.readthedocs.io/en/latest/api.html?highlight=Beautifulsoup#micawber.providers.ProviderRegistry.parse_html
Perhaps it should not be optional, since in our case we can't foresee which provider will be used.
You only need an HTML-parsing library if you are using the parse_html
methods (or, if using the template filter, you are explicitly setting html=True
). Some people pass links directly to micawber, while others are only parsing plaintext, so it makes sense to make the html-parsing optional. Furthermore, the error message makes it extremely clear how to resolve the issue.
I see, I thought this was provider dependent, because I could not reproduce it at first. But our issue also had to do with differences in the environments. Thanks for the insight!
We get this error for some yet to be clarified reason. Is there a hidden dependency on the BeautifulSoup package?