n8n-nodes-brightdata
Version:
Community node to work with BrightData service for scraping purposes
28 lines • 852 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BrightDataApi = void 0;
class BrightDataApi {
constructor() {
this.name = 'brightdataApi';
this.displayName = 'BrightData API';
this.documentationUrl = 'https://docs.brightdata.com/api-reference/introduction';
this.properties = [
{
displayName: 'Token',
name: 'token',
type: 'string',
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '={{"Bearer " + $credentials.token}}',
},
},
};
}
}
exports.BrightDataApi = BrightDataApi;
//# sourceMappingURL=BrightDataApi.credentials.js.map