Skip to content

Commit

Permalink
fix(route): elsevier (DIYgod#12948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derekmini authored and nczitzk committed Aug 26, 2023
1 parent b712ff4 commit 9051299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/elsevier/journal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 9051299

Please sign in to comment.