mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: gotOptions
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
|
||||
});
|
||||
|
||||
// 这个有个重定向,需要获取到真实地址后添加排序参数后再请求一次
|
||||
const realUrl = `${newBookLandingPage.request.gotOptions.href}?sort=time&sub_type=`;
|
||||
const realUrl = `${newBookLandingPage.request.options.url.href}?sort=time&sub_type=`;
|
||||
const newBookPage = await got({
|
||||
method: 'get',
|
||||
url: realUrl,
|
||||
|
||||
Reference in New Issue
Block a user