mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix:zhihu return HTTP401 "ZERR_NO_AUTH_TOKEN" (#248)
This commit is contained in:
@@ -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
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user