diff --git a/docs/en/journal.md b/docs/en/journal.md index 9d46ff99e8..bfbdd6d3bb 100644 --- a/docs/en/journal.md +++ b/docs/en/journal.md @@ -112,13 +112,13 @@ The parameter id in the route is the id in the URL of the user's Google Scholar ### Latest Research - + ### Latest Research (Last 2 month) - + New items may always at the end of the list, when the number of paper entries is too large. So we only filtered those articles published in the current month and the previous month. diff --git a/docs/journal.md b/docs/journal.md index 6da4013203..0c3bcf4814 100644 --- a/docs/journal.md +++ b/docs/journal.md @@ -90,7 +90,7 @@ pageClass: routes ### 指定卷中的文章 - + diff --git a/lib/v2/heu/job/list.js b/lib/v2/heu/job/list.js index 71526c2a56..15ac9760dc 100644 --- a/lib/v2/heu/job/list.js +++ b/lib/v2/heu/job/list.js @@ -33,7 +33,7 @@ module.exports = async (ctx) => { const list = $('li.list_item.i1') .map((_, item) => { let link = $(item).find('a').attr('href'); - if (link.indexOf('.shtml') !== -1) { + if (link.indexOf('HrbeuJY') !== -1) { link = rootUrl.concat(link); } return { @@ -47,7 +47,7 @@ module.exports = async (ctx) => { await Promise.all( list.map((item) => ctx.cache.tryGet(item.link, async () => { - if (item.link.indexOf('.shtml') !== -1) { + if (item.link.indexOf('HrbeuJY') !== -1) { const detailResponse = await got({ method: 'get', url: item.link,