selectolax 0.3.33__cp312-cp312-macosx_10_13_x86_64.whl → 0.3.34__cp312-cp312-macosx_10_13_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of selectolax might be problematic. Click here for more details.
- selectolax/__init__.py +1 -1
- selectolax/lexbor/node.pxi +6 -0
- selectolax/lexbor.c +1935 -1919
- selectolax/lexbor.cpython-312-darwin.so +0 -0
- selectolax/lexbor.pyi +12 -0
- selectolax/lexbor.pyx +5 -0
- selectolax/parser.c +47 -31
- selectolax/parser.cpython-312-darwin.so +0 -0
- selectolax-0.3.34.dist-info/METADATA +32 -0
- {selectolax-0.3.33.dist-info → selectolax-0.3.34.dist-info}/RECORD +13 -13
- selectolax-0.3.33.dist-info/METADATA +0 -187
- {selectolax-0.3.33.dist-info → selectolax-0.3.34.dist-info}/WHEEL +0 -0
- {selectolax-0.3.33.dist-info → selectolax-0.3.34.dist-info}/licenses/LICENSE +0 -0
- {selectolax-0.3.33.dist-info → selectolax-0.3.34.dist-info}/top_level.txt +0 -0
selectolax/__init__.py
CHANGED
selectolax/lexbor/node.pxi
CHANGED
|
@@ -180,6 +180,12 @@ cdef class LexborNode:
|
|
|
180
180
|
Matches pattern `query` against HTML tree.
|
|
181
181
|
`CSS selectors reference <https://www.w3schools.com/cssref/css_selectors.asp>`_.
|
|
182
182
|
|
|
183
|
+
Special selectors:
|
|
184
|
+
|
|
185
|
+
- parser.css('p:lexbor-contains("awesome" i)') -- case-insensitive contains
|
|
186
|
+
- parser.css('p:lexbor-contains("awesome")') -- case-sensitive contains
|
|
187
|
+
|
|
188
|
+
|
|
183
189
|
Parameters
|
|
184
190
|
----------
|
|
185
191
|
query : str
|