diff --git a/src/components/molecules/action-settings/scrape.tsx b/src/components/molecules/action-settings/scrape.tsx index 5540fb98..80608b1e 100644 --- a/src/components/molecules/action-settings/scrape.tsx +++ b/src/components/molecules/action-settings/scrape.tsx @@ -14,13 +14,13 @@ export const ScrapeSettings = forwardRef((props, ref) => { return ( setSettings(e.target.value)} /> - + The scrape function uses heuristic algorithm to automatically scrape only important data from the page. If a selector is used it will scrape and automatically parse all available data inside of the selected element(s). diff --git a/src/components/molecules/action-settings/scrapeSchema.tsx b/src/components/molecules/action-settings/scrapeSchema.tsx index 3914a01a..3f60c787 100644 --- a/src/components/molecules/action-settings/scrapeSchema.tsx +++ b/src/components/molecules/action-settings/scrapeSchema.tsx @@ -4,11 +4,11 @@ import InfoIcon from "@mui/icons-material/Info"; import { KeyValueForm } from "../KeyValueForm"; export const ScrapeSchemaSettings = forwardRef((props, ref) => { - const keyValueFormRef = useRef<{getObject: () => object}>(null); + const keyValueFormRef = useRef<{ getObject: () => object }>(null); useImperativeHandle(ref, () => ({ getSettings() { - const settings = keyValueFormRef.current?.getObject() as Record + const settings = keyValueFormRef.current?.getObject() as Record return settings; } })); @@ -16,10 +16,10 @@ export const ScrapeSchemaSettings = forwardRef((props, ref) => { return (
- + The interpreter scrapes the data from a webpage into a "curated" table. - +
-); + ); });