MCPcopy
hub / github.com/scrapy/scrapy / jmespath

Method jmespath

scrapy/http/response/__init__.py:208–212  ·  view source on GitHub ↗

Shortcut method implemented only by responses whose content is text (subclasses of TextResponse).

(self, *a: Any, **kw: Any)

Source from the content-addressed store, hash-verified

206 raise NotSupported("Response content isn't text")
207
208 def jmespath(self, *a: Any, **kw: Any) -> SelectorList:
209 """Shortcut method implemented only by responses whose content
210 is text (subclasses of TextResponse).
211 """
212 raise NotSupported("Response content isn't text")
213
214 def xpath(self, *a: Any, **kw: Any) -> SelectorList:
215 """Shortcut method implemented only by responses whose content

Callers

nothing calls this directly

Calls 1

NotSupportedClass · 0.90

Tested by

no test coverage detected