mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
Extra Debug Logging
This commit is contained in:
parent
a29e8a0d06
commit
1d3822d307
1 changed files with 4 additions and 0 deletions
|
|
@ -257,6 +257,10 @@ export default class Hidive implements ServiceClass {
|
|||
};
|
||||
}
|
||||
|
||||
if (this.debug) {
|
||||
console.debug(apiReq.res.body);
|
||||
}
|
||||
|
||||
if (!isGet && apiReq.res.headers && apiReq.res.headers['set-cookie']) {
|
||||
const newReqCookies = shlp.cookie.parse(apiReq.res.headers['set-cookie'] as unknown as Record<string, string>);
|
||||
this.session = Object.assign(this.session, newReqCookies);
|
||||
|
|
|
|||
Loading…
Reference in a new issue