From f7d570d4c8e11bb06cde42eddae56cf0e9bfb96c Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 18 Mar 2017 23:00:13 -1000 Subject: [PATCH] crawler: add some broken as rss mimetype Seen out there --- morss/crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/crawler.py b/morss/crawler.py index d2dfc48..b2f440e 100644 --- a/morss/crawler.py +++ b/morss/crawler.py @@ -26,7 +26,7 @@ except NameError: MIMETYPE = { - 'xml': ['text/xml', 'application/xml', 'application/rss+xml', 'application/rdf+xml', 'application/atom+xml'], + 'xml': ['text/xml', 'application/xml', 'application/rss+xml', 'application/rdf+xml', 'application/atom+xml', 'application/xhtml+xml'], 'html': ['text/html', 'application/xhtml+xml', 'application/xml']}