feat: add example
This commit is contained in:
@@ -129,14 +129,13 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
{
|
{
|
||||||
robot && (
|
robot && (
|
||||||
<>
|
<>
|
||||||
|
<span>When to duplicate robots?</span>
|
||||||
|
<br />
|
||||||
<span>
|
<span>
|
||||||
Easily duplicate your robots to handle pages with a similar structure.
|
Example: If you've created a robot for <b>producthunt.com/topics/api</b>, you can duplicate it to scrape similar pages
|
||||||
<br />
|
like <b>producthunt.com/topics/database</b> without training a robot from scratch.
|
||||||
For instance:
|
|
||||||
If you've created a robot for <b>producthunt.com/topics/api</b>, you can duplicate it to scrape similar pages
|
|
||||||
like <b>producthunt.com/topics/database</b> without starting from scratch.
|
|
||||||
</span>
|
</span>
|
||||||
|
<br />
|
||||||
<span>
|
<span>
|
||||||
<b>⚠️ Ensure the new page has the same structure as the original page.</b>
|
<b>⚠️ Ensure the new page has the same structure as the original page.</b>
|
||||||
</span>
|
</span>
|
||||||
@@ -145,7 +144,7 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
key="Robot Target URL"
|
key="Robot Target URL"
|
||||||
value={targetUrl}
|
value={targetUrl}
|
||||||
onChange={handleTargetUrlChange}
|
onChange={handleTargetUrlChange}
|
||||||
style={{ marginBottom: '20px' }}
|
style={{ marginBottom: '20px', marginTop: '30px' }}
|
||||||
/>
|
/>
|
||||||
<Box mt={2} display="flex" justifyContent="flex-end" onClick={handleSave}>
|
<Box mt={2} display="flex" justifyContent="flex-end" onClick={handleSave}>
|
||||||
<Button variant="contained" color="primary">
|
<Button variant="contained" color="primary">
|
||||||
|
|||||||
Reference in New Issue
Block a user