fix: update zhihu activity api url (#6745)

This commit is contained in:
gin3715 2021-01-21 00:01:04 -05:00 committed by GitHub
parent 6506c39239
commit 4545de7998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports = async (ctx) => {
const response = await got({
method: 'get',
url: `https://www.zhihu.com/api/v4/members/${id}/activities?limit=7`,
url: `https://www.zhihu.com/api/v3/moments/${id}/activities?limit=7&desktop=true`,
headers: {
...utils.header,
Referer: `https://www.zhihu.com/people/${id}/activities`,