You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BeautifulSoup4 (#19, #32) and Parcel (#33) have methods like .css(), .xpath(), etc. and we can use these to add useful and more readable way to find elements in a page. For developers/web scrapers, the words "CSS" and "XPath" sounds more familiar than the word "select".
New decorators:
@css() - for CSS selectors
@xpath() - for XPath selectors
@regex() - so as to not be confused with the standard library re
@text() - this is supported by Playwright but these can be just created from the regex support of BeautifulSoup4 and Parcel
The text was updated successfully, but these errors were encountered:
BeautifulSoup4 (#19, #32) and Parcel (#33) have methods like
.css()
,.xpath()
, etc. and we can use these to add useful and more readable way to find elements in a page. For developers/web scrapers, the words "CSS" and "XPath" sounds more familiar than the word "select".New decorators:
@css()
- for CSS selectors@xpath()
- for XPath selectors@regex()
- so as to not be confused with the standard libraryre
@text()
- this is supported by Playwright but these can be just created from the regex support of BeautifulSoup4 and ParcelThe text was updated successfully, but these errors were encountered: