n8n-nodes-brightdata
Version:
Community node to work with BrightData service for scraping purposes
35 lines (33 loc) • 1.3 kB
JavaScript
;
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a9400b64-ef57-57ba-9d9e-39f416db8a47")}catch(e){}}();
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',
typeOptions: {
password: true,
},
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '={{"Bearer " + $credentials.token}}',
},
},
};
}
}
exports.BrightDataApi = BrightDataApi;
//# sourceMappingURL=BrightDataApi.credentials.js.map
//# debugId=a9400b64-ef57-57ba-9d9e-39f416db8a47