lundi 4 mars 2019

Axios-cookiejar-support tough-cookie Error: Cookie failed to parse

So i'm writing a web scraping utility in JS and upon a web request I am getting this error. Is there something I can do to get around this? I need to store the cookies as the request sequence fails without them.

Error: Cookie failed to parse at CookieJar.setCookie (C:\Users\Cosm00\Documents\Wobble\node_modules\tough-cookie\lib\cookie.js:1013:13) at P (C:\Users\Cosm00\Documents\Wobble\node_modules\pify\index.js:32:6) at new Promise () at C:\Users\Cosm00\Documents\Wobble\node_modules\pify\index.js:6:9 at ret (C:\Users\Cosm00\Documents\Wobble\node_modules\pify\index.js:56:76) at C:\Users\Cosm00\Documents\Wobble\node_modules@3846masa\axios-cookiejar-support\lib\interceptors\response.js:39:37 at Array.forEach () at C:\Users\Cosm00\Documents\Wobble\node_modules@3846masa\axios-cookiejar-support\lib\interceptors\response.js:38:17 at new Promise () at responseInterceptor (C:\Users\Cosm00\Documents\Wobble\node_modules@3846masa\axios-cookiejar-support\lib\interceptors\response.js:21:10)




Aucun commentaire:

Enregistrer un commentaire