mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
style: auto format
This commit is contained in:
@@ -43,10 +43,10 @@ module.exports = async (ctx) => {
|
||||
item.catalogNs.mappings && item.catalogNs.mappings.length > 0
|
||||
? item.catalogNs.mappings[0].pageSlug
|
||||
: item.offerMappings && item.offerMappings.length > 0
|
||||
? item.offerMappings[0].pageSlug
|
||||
: item.productSlug
|
||||
? item.productSlug
|
||||
: item.urlSlug;
|
||||
? item.offerMappings[0].pageSlug
|
||||
: item.productSlug
|
||||
? item.productSlug
|
||||
: item.urlSlug;
|
||||
link += linkSlug;
|
||||
contentUrl += linkSlug;
|
||||
let description = item.description;
|
||||
|
||||
@@ -27,10 +27,10 @@ const fetchDesc = (list, browser, tryGet) =>
|
||||
const content = $('.news-article-content--featured').length
|
||||
? $('.news-article-content--featured').html()
|
||||
: $('.news-article-content').length
|
||||
? $('.news-article-content').html()
|
||||
: $('.info-panel__formats a.btn__request-access').length || $('.info-panel__formats a.btn--access').length
|
||||
? ''
|
||||
: $('section#bodymatter').html();
|
||||
? $('.news-article-content').html()
|
||||
: $('.info-panel__formats a.btn__request-access').length || $('.info-panel__formats a.btn--access').length
|
||||
? ''
|
||||
: $('section#bodymatter').html();
|
||||
|
||||
item.description = art(path.join(__dirname, 'templates/article.art'), {
|
||||
abs: abstract,
|
||||
|
||||
Reference in New Issue
Block a user