mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 14:50:20 +00:00
omg another readme fix
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+2
-2
@@ -89,14 +89,14 @@ Render an Element as Markdown:
|
||||
|
||||
Search for text on the page:
|
||||
|
||||
.. code-block:: pycon
|
||||
.. code-block:: pycon
|
||||
|
||||
>>> r.html.search('Python is a {} language')[0]
|
||||
programming
|
||||
|
||||
More complex CSS Selector example (copied from Chrome dev tools):
|
||||
|
||||
.. code-block:: pycon
|
||||
.. code-block:: pycon
|
||||
|
||||
>>> r = session.get('https://github.com/')
|
||||
>>> sel = 'body > div.application-main > div.jumbotron.jumbotron-codelines > div > div > div.col-md-7.text-center.text-md-left > p'
|
||||
|
||||
Reference in New Issue
Block a user