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) =========================