browse/utils: Replace chardet use by charset-normalizer
Chardet does not seem really maintained and failed to properly detect some encodings, resulting in 500 errors when attempting to browse some contents. So prefer to use the charset-normalizer package instead which is better at detecting encoding while being faster than chardet.
... | ... | @@ -3,7 +3,7 @@ |
# dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html | ||
beautifulsoup4 | ||
chardet | ||
charset-normalizer | ||
cryptography | ||
django | ||
django-cors-headers | ||
... | ... |
Please register or sign in to comment