fix:zhihu return HTTP401 "ZERR_NO_AUTH_TOKEN" (#248)
This commit is contained in:
parent
8b490af03e
commit
3d9eff1703
|
|
@ -10,6 +10,7 @@ module.exports = async (ctx) => {
|
|||
headers: {
|
||||
...utils.header,
|
||||
Referer: `https://www.zhihu.com/people/${id}/activities`,
|
||||
Authorization: 'oauth c3cef7c66a1843f8b3a9e6a1e3160e20', //hard-coded in js
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ module.exports = async (ctx) => {
|
|||
headers: {
|
||||
...utils.header,
|
||||
Referer: `https://www.zhihu.com/people/${id}/answers`,
|
||||
Authorization: 'oauth c3cef7c66a1843f8b3a9e6a1e3160e20', //hard-coded in js
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue