fix:zhihu return HTTP401 "ZERR_NO_AUTH_TOKEN" (#248)

This commit is contained in:
yingziwu 2018-06-02 11:49:55 +08:00 committed by DIYgod
parent 8b490af03e
commit 3d9eff1703
2 changed files with 2 additions and 0 deletions

View File

@ -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
},
});

View File

@ -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
},
});