fix: broken route /douban/book/rank (#5852)

This commit is contained in:
Queensferry 2020-10-10 06:12:45 -07:00 committed by GitHub
parent b4ebc55f2c
commit b602141103
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 _ = async (type) => {
const response = await got({
url: `https://m.douban.com/rexxar/api/v2/subject_collection/book_${type}_hot_weekly/items?start=0&count=10`,
url: `https://m.douban.com/rexxar/api/v2/subject_collection/book_${type}/items?start=0&count=10`,
headers: { Referer: referer },
});
return response.data.subject_collection_items;