Extraction Rules
Using the extract_rules
parameter, you can get the scraped site based on various extraction rules.
Extraction rules can be applied with both JavaScript rendering enabled or disabled.
Possible extraction rules:
Parameter | Required | Details |
---|---|---|
selector | true | The CSS selector. |
output | false | Choose between html , text or @[attr] . Default value is html |
all | false | Set this parameter to "1" to return all the html elements. Default value is "0" . |
Extraction Rules examples