diff --git a/baozi.js b/baozi.js index d786dae..2f3d8b3 100644 --- a/baozi.js +++ b/baozi.js @@ -5,7 +5,7 @@ class Baozi extends ComicSource { // 唯一标识符 key = "baozi" - version = "1.0.0" + version = "1.0.1" minAppVersion = "1.0.0" @@ -30,7 +30,7 @@ class Baozi extends ComicSource { let json = JSON.parse(res.body) let token = json.data Network.setCookies(this.baseUrl, [ - Cookie('TSID', token, '.baozimh.com'), + new Cookie({name: 'TSID', value: token, domain: '.baozimh.com'}), ]) return 'ok' }, diff --git a/index.json b/index.json index 34a9003..ea56f02 100644 --- a/index.json +++ b/index.json @@ -21,7 +21,7 @@ "name": "包子漫画", "fileName": "baozi.js", "key": "baozi", - "version": "1.0.0" + "version": "1.0.1" }, { "name": "Picacg",