n8n-nodes-web-crawler
Version:
Node tùy chỉnh cho n8n để cào dữ liệu từ trang web, trích xuất nội dung và hình ảnh
6 lines (5 loc) • 422 B
TypeScript
import { INodeExecutionData } from 'n8n-workflow';
/**
* Lấy bài viết ngẫu nhiên từ trang web
*/
export declare function execute(url: string, articleSelector: string, titleSelector: string, linkSelector: string, contentSelector: string, fetchFullContent?: boolean, paginationSelector?: string, maxPages?: number, useProxies?: boolean, proxyList?: string, requestTimeout?: number): Promise<INodeExecutionData>;