Scrapy, a fast high-level web crawling & scraping framework for Python.
Indicate that Selector.type can be json (#6334)
Sanchay Kumaraa025d7eacb4
diff --git a/scrapy/selector/unified.py b/scrapy/selector/unified.pyindex aa9581fcd..e852aadc7 100644--- a/scrapy/selector/unified.py+++ b/scrapy/selector/unified.py@@ -47,7 +47,7 @@ class Selector(_ParselSelector, object_ref):``response`` isn't available. Using ``text`` and ``response`` together isundefined behavior.- ``type`` defines the selector type, it can be ``"html"``, ``"xml"``+ ``type`` defines the selector type, it can be ``"html"``, ``"xml"``, ``"json"``or ``None`` (default).If ``type`` is ``None``, the selector automatically chooses the best type