readme: rename fetch cookieJar parameter to cookieJars

cookie: trim line
This commit is contained in:
2019-11-29 01:47:17 +01:00
parent 2b1c15c64b
commit 303185c9ff
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ export default class Cookie {
// check if url is valid
new url.URL(requestURL);
const splitted = str.split("; ");
[this.name, this.value] = splitN(splitted[0], "=", 1);
if(!this.name)