From b9024a02a8715ea96da205250866868dc5167569 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 Feb 2018 07:51:04 -0500 Subject: [PATCH] update readme Signed-off-by: Kenneth Reitz --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 44e7ae6..5cda54a 100644 --- a/README.rst +++ b/README.rst @@ -29,8 +29,8 @@ Make a GET request to 'python.org', using Requests: .. code-block:: pycon - >>> import requests_html - >>> session = requests_html.Session() + >>> from requests_html import HTMLSession + >>> session = HTMLSession() >>> r = session.get('https://python.org/') @@ -132,8 +132,8 @@ Let's grab some text that's rendered by JavaScript: .. code-block:: pycon - >>> from requests_html import BrowserSession - >>> session = BrowserSession() + >>> from requests_html import BrowserHTMLSession + >>> session = BrowserHTMLSession() >>> r = session.get('http://python-requests.org') >>> r.html.search('Python 2 will retire in only {months} months!')['months']