Bug Fix
- Fixed XPath detection for expressions wrapped in parentheses
- XPath expressions like
(//div[@class='coordinate lat'])[1]are now correctly recognized as XPath instead of being incorrectly treated as CSS selectors - Enhanced the
is_xpathfunction with additional pattern recognition for XPath-specific syntax including attribute predicates, position predicates, and XPath functions
Installation
pip install scrape_cli==1.2.0