diff --git a/docs/examples/assets/css_selector.png b/docs/examples/assets/css_selector.png new file mode 100644 index 00000000..39357bb9 Binary files /dev/null and b/docs/examples/assets/css_selector.png differ diff --git a/docs/examples/rest_call.py b/docs/examples/rest_call.py index 0dd39350..9e74ab47 100644 --- a/docs/examples/rest_call.py +++ b/docs/examples/rest_call.py @@ -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 = {