✨ Use fnmatch
What's Changed
- ✨ Use fnmatch by @roniemartinez in #122
Other
- ⬆️ Bump pyproject-flake8 from 0.0.1a2 to 0.0.1a3 by @dependabot in #120
- ⬆️ Bump black from 22.1.0 to 22.3.0 by @dependabot in #121
fnmatch: URL pattern matcher now uses Unix style wildcards (fnmatch) instead of regex
See: https://docs.python.org/3/library/fnmatch.html
Wildcards are easier to understand and simpler to use compared to regular expressions
- @select(css=".title", url=r".*\.com")
+ @select(css=".title", url="*.com/*")
def result_title(element):
return {"title": element.text_content()}
Full Changelog: 0.13.0...0.14.0