UNPKG

n8n-nodes-dumplingai

Version:
62 lines 1.81 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.scrapeUrlFields = void 0; const OutputFormatOptions_1 = require("../Common/OutputFormatOptions"); exports.scrapeUrlFields = [ { displayName: 'URL', name: 'url', type: 'string', required: true, displayOptions: { show: { resource: ['webScraping'], operation: ['scrapeUrl'], }, }, default: '', placeholder: 'https://example.com', description: 'The URL to scrape', }, { displayName: 'Output Format', name: 'format', type: 'options', displayOptions: { show: { resource: ['webScraping'], operation: ['scrapeUrl'], }, }, options: OutputFormatOptions_1.webScrapingFormatOptions, default: 'markdown', description: 'The format of the output', }, { displayName: 'Clean Output', name: 'cleaned', type: 'boolean', displayOptions: { show: { resource: ['webScraping'], operation: ['scrapeUrl'], }, }, default: true, description: 'Whether the output should be cleaned (removes nav bar, footer, etc.)', }, { displayName: 'Render JavaScript', name: 'renderJs', type: 'boolean', displayOptions: { show: { resource: ['webScraping'], operation: ['scrapeUrl'], }, }, default: false, description: 'Whether to render JavaScript before scraping (disable for faster results if not needed)', }, ]; //# sourceMappingURL=ScrapeUrlDescription.js.map