From 1f65ddfd1c5801258edbd68c9f162b8a79e662ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 15 Feb 2024 12:53:38 +0100 Subject: [PATCH] Scraping --- README.md | 2 +- index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d205390..f51bba9 100644 --- a/README.md +++ b/README.md @@ -2512,7 +2512,7 @@ from selenium import webdriver .click/clear() # Also .send_keys(). ``` -#### XPath — also available in browser's console via `'$x()'`: +#### XPath — also available in browser's console via `'$x()'` and by lxml library: ```python = //[/ or // ] # Child: /, Descendant: //, Parent: /.. = ///following:: # Next sibling. Also preceding/parent/… diff --git a/index.html b/index.html index a2b561a..66d7a9f 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -2074,7 +2074,7 @@ print(f'{python_url}, -

XPath — also available in browser's console via '$x(<xpath>)':

<xpath>     = //<element>[/ or // <element>]           # Child: /, Descendant: //, Parent: /..
+

XPath — also available in browser's console via '$x(<xpath>)' and by lxml library:

<xpath>     = //<element>[/ or // <element>]           # Child: /, Descendant: //, Parent: /..
 <xpath>     = //<element>/following::<element>         # Next sibling. Also preceding/parent/…
 <element>   = <tag><conditions><index>                 # `<tag> = */a/…`, `<index> = [1/2/…]`.
 <condition> = [<sub_cond> [and/or <sub_cond>]]         # For negation use `not(<sub_cond>)`.
@@ -2932,7 +2932,7 @@ $ deactivate                  # Deactivates the activ