webtranspose
webtranspose copied to clipboard
Incorrect exception handling
The following exception block catches all exceptions without logging anything, making it incredibly difficult to debug the library. For example, bs4 fails to parse the HTML because of an optional lxml parser dependency, but the exception is never raised and the library fails to crawl silently.
https://github.com/mike-gee/webtranspose/blob/61d207a829f23ca21878b18395a1cde793a0ac78/src/webtranspose/crawl.py#L174-L178