diff --git a/morss/crawler.py b/morss/crawler.py index fd471ab..621ac6f 100644 --- a/morss/crawler.py +++ b/morss/crawler.py @@ -142,7 +142,7 @@ def detect_encoding(data, con=None): if match: return match.groups()[0].lower().decode() - return None + return 'utf-8' class EncodingFixHandler(BaseHandler):