Files
n8n-enterprise-unlocked/packages/nodes-base/nodes/Airtop/actions/extraction/scrape.operation.ts
2025-04-01 20:51:04 +01:00

15 lines
438 B
TypeScript

import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import { executeRequestWithSessionManagement } from '../common/session.utils';
export async function execute(
this: IExecuteFunctions,
index: number,
): Promise<INodeExecutionData[]> {
return await executeRequestWithSessionManagement.call(this, index, {
method: 'POST',
path: '/sessions/{sessionId}/windows/{windowId}/scrape-content',
body: {},
});
}