Add css selector example

This commit is contained in:
unclecode
2024-06-07 20:47:20 +08:00
parent a19379aa58
commit 36a5847df5
2 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

View File

@@ -8,6 +8,14 @@ data = {
"screenshot": True,
}
# Example of filtering the content using CSS selectors
# data = {
# "urls": [
# "https://www.nbcnews.com/business"
# ],
# "css_selector": "article",
# "screenshot": True,
# }
# Example of executing a JS script on the page before extracting the content
# data = {