Indicate that Selector.type can be json (#6334)

This commit is contained in:
Sanchay Kumar 2024-05-06 14:59:35 +05:30 committed by Adrián Chaves
parent 1f4523f1a2
commit 7ad9eb64c4
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Selector(_ParselSelector, object_ref):
``response`` isn't available. Using ``text`` and ``response`` together is
undefined 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