@hyperbrowser/n8n-nodes
Version:
n8n node for Hyperbrowser - enabling web scraping, crawling, and AI-powered data extraction in your workflows
45 lines • 1.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HyperbrowserApi = void 0;
class HyperbrowserApi {
constructor() {
this.name = 'hyperbrowserApi';
this.displayName = 'Hyperbrowser API';
this.documentationUrl = 'https://docs.hyperbrowser.ai/';
this.icon = 'file:hyperbrowser.svg';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'x-api-key': '={{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://app.hyperbrowser.ai/api',
url: '/scrape',
method: 'POST',
body: {
url: 'https://example.com',
scrapeOptions: {
formats: ['markdown'],
},
},
},
};
}
}
exports.HyperbrowserApi = HyperbrowserApi;
//# sourceMappingURL=HyperbrowserApi.credentials.js.map