mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 06:46:14 +00:00
xpath didn't actually do anything
This commit is contained in:
+3
-2
@@ -120,8 +120,9 @@ XPath is also supported:
|
||||
|
||||
.. code-block:: pycon
|
||||
|
||||
>>> r.html.xpath('a')
|
||||
[<Element 'a' class='btn' href='https://help.github.com/articles/supported-browsers'>]
|
||||
>>> r.html.xpath('/html/body/div[1]/a')
|
||||
[<Element 'a' class=('px-2', 'py-4', 'show-on-focus', 'js-skip-to-content') href='#start-of-content' tabindex='1'>]
|
||||
|
||||
|
||||
JavaScript Support
|
||||
==================
|
||||
|
||||
Reference in New Issue
Block a user