fix: broken route /douban/book/rank (#5852)
This commit is contained in:
parent
b4ebc55f2c
commit
b602141103
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue