Add css selector example
This commit is contained in:
BIN
docs/examples/assets/css_selector.png
Normal file
BIN
docs/examples/assets/css_selector.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 375 KiB |
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user