diff --git a/lib/routes/ssmh/index.js b/lib/routes/ssmh/index.js index ac1c8bb97..2ba998e94 100644 --- a/lib/routes/ssmh/index.js +++ b/lib/routes/ssmh/index.js @@ -19,7 +19,7 @@ module.exports = async (ctx) => { item: list .map((index, item) => { item = $(item); - thumbnail_url = 'https:' + `${ item.find('a > img').attr('src') ? item.find('a > img').attr('src') : item.find('a > img').attr('data-original') }`; + thumbnail_url = 'https:' + `${item.find('a > img').attr('src') ? item.find('a > img').attr('src') : item.find('a > img').attr('data-original')}`; link_url = 'https://wnacg.org' + `${item.find('a').attr('href')}`; return { title: item.find('a').attr('title'),