({ email, subject, body }:any)
| 11 | import { createControls, FileTypes } from 'botasaurus-controls' |
| 12 | |
| 13 | export function createEmailUrl({ email, subject, body }:any) { |
| 14 | const emailSubject = encodeURIComponent(subject) |
| 15 | const emailBody = encodeURIComponent(body) |
| 16 | const emailURL = `mailto:${email}?subject=${emailSubject}&body=${emailBody}` |
| 17 | return emailURL |
| 18 | } |
| 19 | const validScraperTypes = new Set([ScraperType.REQUEST, ScraperType.BROWSER, ScraperType.TASK]); |
| 20 | function getReadme(): string { |
| 21 | try { |