diff --git a/lib/routes/qstheory/magazine.ts b/lib/routes/qstheory/magazine.ts index 57f8767b7..4096ddd49 100644 --- a/lib/routes/qstheory/magazine.ts +++ b/lib/routes/qstheory/magazine.ts @@ -16,7 +16,7 @@ export const route: Route = { }, ], name: '在线读刊', - maintainers: ['TonyRL'], + maintainers: ['TonyRL', 'cscnk52'], handler, }; @@ -34,14 +34,14 @@ async function handler(ctx) { const $item = $(item); return { title: $item.text(), - link: $item.attr('href')!, + link: new URL($item.attr('href')!, baseUrl).href, }; }); const issueResponse = await ofetch(yearList[0].link); const $$ = cheerio.load(issueResponse); - const list = $$('.highlight span a') + const list = $$('.highlight a') .toArray() .map((item) => { const $item = $$(item);