From 25fb97f31ec4a9c0040ee55be72808f9d5741700 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 Feb 2018 20:26:55 -0500 Subject: [PATCH] lxml Signed-off-by: Kenneth Reitz --- requests_html.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/requests_html.py b/requests_html.py index 6d36e70..e2fe371 100644 --- a/requests_html.py +++ b/requests_html.py @@ -71,11 +71,16 @@ class BaseParser: @property def pq(self) -> PyQuery: - """PyQuery representation of the :class:`Element ` or :class:`HTML `.""" + """`PyQuery `_ representation + of the :class:`Element ` or :class:`HTML `. + """ return PyQuery(self.element) @property def lxml(self) -> HtmlElement: + """`lxml `_ representation of the + :class:`Element ` or :class:`HTML `. + """ return fromstring(self.html) @property