Returns the response as a `PyQuery `_ object. Only works with HTML and XML responses; other content-types raise AttributeError.
(self)
| 488 | |
| 489 | @property |
| 490 | def pyquery(self): |
| 491 | """ |
| 492 | Returns the response as a `PyQuery |
| 493 | <https://pypi.org/project/pyquery/>`_ object. |
| 494 | |
| 495 | Only works with HTML and XML responses; other content-types raise |
| 496 | AttributeError. |
| 497 | """ |
| 498 | return self.PyQuery(parser='html') |
| 499 | |
| 500 | def PyQuery(self, **kwargs): |
| 501 | """ |