From 0f072b15376f6e137cb1df3de1ffc9fdb1a764f8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 Feb 2018 10:37:43 -0500 Subject: [PATCH] Update README.rst --- README.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.rst b/README.rst index 2515eb9..5355075 100644 --- a/README.rst +++ b/README.rst @@ -111,6 +111,21 @@ XPath is also supported: >>> r.html.xpath('a') [] +Using without Requests +====================== + +You can also use this library without Requests: + +.. code-block:: pycon + + >>> from requests_html import HTML + >>> doc = """""" + + >>> html = HTML(html=doc, url='fakeurl', default_encoding='utf-8') + >>> html.links + {'https://httpbin.org'} + + Other Fun (with Markdown) =========================