fix(route): elsevier (#12948)
This commit is contained in:
parent
656c8bc08f
commit
db0b637da0
|
|
@ -16,7 +16,7 @@ module.exports = async (ctx) => {
|
|||
});
|
||||
const $ = cheerio.load(response.data);
|
||||
const jrnlName = $('.anchor.js-title-link').text();
|
||||
const issueUrl = `${host}${$('.anchor.js-volume').attr('href')}`;
|
||||
const issueUrl = `${host}${$('.link-anchor.u-clr-black').attr('href')}`;
|
||||
let issue = '';
|
||||
if (issueUrl.match('suppl') !== null) {
|
||||
issue = 'Volume ' + issueUrl.match('vol/(.*)/suppl')[1];
|
||||
|
|
|
|||
Loading…
Reference in New Issue