domestika-downloader
domestika-downloader copied to clipboard
Help with code crash
I have successfully obtained the cookies, but when running the program I get the following error, which seems to be some kind of incorrect reading of the credentials or perhaps the credentials I set were wrong, but I cannot know this since I got them using the extension.
const access_token = regex_token.exec(decodeURI(_credentials_))[1]; ^ TypeError: Cannot read properties of null (reading '1') at Object.<anonymous> (C:\Users\Nacho\Documents\GitHub\domestika-downloader-main\index.js:36:64) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.10.0