Scrapy, a fast high-level web crawling & scraping framework for Python.
added 3 common content-types (for feeds) to ResponseTypes class
Pablo Hoffmande48406f104f
diff --git a/scrapy/core/downloader/responsetypes/__init__.py b/scrapy/core/downloader/responsetypes/__init__.pyindex 4c09ebd83..5c9c2a4c7 100644--- a/scrapy/core/downloader/responsetypes/__init__.py+++ b/scrapy/core/downloader/responsetypes/__init__.py@@ -16,6 +16,9 @@ class ResponseTypes(object):CLASSES = {'text/html': 'scrapy.http.HtmlResponse',+ 'application/atom+xml': 'scrapy.http.XmlResponse',+ 'application/rdf+xml': 'scrapy.http.XmlResponse',+ 'application/rss+xml': 'scrapy.http.XmlResponse','application/xhtml+xml': 'scrapy.http.HtmlResponse','application/xml': 'scrapy.http.XmlResponse','text/xml': 'scrapy.http.XmlResponse',