mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-27 08:27:24 +00:00
fix #10
This commit is contained in:
4
baozi.js
4
baozi.js
@@ -5,7 +5,7 @@ class Baozi extends ComicSource {
|
|||||||
// 唯一标识符
|
// 唯一标识符
|
||||||
key = "baozi"
|
key = "baozi"
|
||||||
|
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
|
|
||||||
minAppVersion = "1.0.0"
|
minAppVersion = "1.0.0"
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ class Baozi extends ComicSource {
|
|||||||
let json = JSON.parse(res.body)
|
let json = JSON.parse(res.body)
|
||||||
let token = json.data
|
let token = json.data
|
||||||
Network.setCookies(this.baseUrl, [
|
Network.setCookies(this.baseUrl, [
|
||||||
Cookie('TSID', token, '.baozimh.com'),
|
new Cookie({name: 'TSID', value: token, domain: '.baozimh.com'}),
|
||||||
])
|
])
|
||||||
return 'ok'
|
return 'ok'
|
||||||
},
|
},
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
"name": "包子漫画",
|
"name": "包子漫画",
|
||||||
"fileName": "baozi.js",
|
"fileName": "baozi.js",
|
||||||
"key": "baozi",
|
"key": "baozi",
|
||||||
"version": "1.0.0"
|
"version": "1.0.1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Picacg",
|
"name": "Picacg",
|
||||||
|
Reference in New Issue
Block a user