${(pg.description || '')
.split('\n')
diff --git a/lib/routes/ncm/playlist.js b/lib/routes/ncm/playlist.js
index f6ab58d48..6b4b886c2 100644
--- a/lib/routes/ncm/playlist.js
+++ b/lib/routes/ncm/playlist.js
@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
const singer = item.ar.length === 1 ? item.ar[0].name : item.ar.reduce((prev, cur) => (prev.name || prev) + '/' + cur.name);
return {
title: `${item.name} - ${singer}`,
- description: `歌手:${singer}
`,
link: `https://music.163.com/#/song?id=${item.id}`,
};
}),
diff --git a/lib/routes/ncm/userplaylist.js b/lib/routes/ncm/userplaylist.js
index 49ff789da..959b5a1d0 100644
--- a/lib/routes/ncm/userplaylist.js
+++ b/lib/routes/ncm/userplaylist.js
@@ -32,7 +32,7 @@ module.exports = async (ctx) => {
updated: response.headers.date,
icon: avatarUrl,
item: playlist.map((pl) => {
- const image = `
${(pl.description || '')
.split('\n')
diff --git a/lib/routes/nga/forum.js b/lib/routes/nga/forum.js
index abc5daf20..2bf855cb0 100644
--- a/lib/routes/nga/forum.js
+++ b/lib/routes/nga/forum.js
@@ -6,7 +6,7 @@ module.exports = async (ctx) => {
content
.replace(/\[img\](.+?)\[\/img\]/g, (match, p1) => {
const src = p1.replace(/\?.*/g, '');
- return `

`;
+ return `

`;
})
.replace(/\[url\](.+?)\[\/url\]/g, `
$1`);
const homePage = await got({
diff --git a/lib/routes/nga/post.js b/lib/routes/nga/post.js
index ddc446ff1..24586424e 100644
--- a/lib/routes/nga/post.js
+++ b/lib/routes/nga/post.js
@@ -29,7 +29,7 @@ module.exports = async (ctx) => {
const eraseTag = (str) => str.replace(/\[(\w+)\].+?\[\/\1\]/g, '');
const eraseQuote = (str) => str.replace(/\[quote\](.+?)\[\/quote\]/, (m, b) => b).replace(/\[b\].*?\[uid=\d+\](.+?)\[\/uid\].+?\[\/b\]/, (m, user) => `@${user} `);
- const pipeImg = (str) => str.replace(/\[img\](.+?)\[\/img\]/g, (m, src) => `

`);
+ const pipeImg = (str) => str.replace(/\[img\](.+?)\[\/img\]/g, (m, src) => `

`);
const tid = ctx.params.tid;
const pageId = await getLastPageId(tid);
diff --git a/lib/routes/nhentai/util.js b/lib/routes/nhentai/util.js
index 5b5cedbb7..fdec16018 100644
--- a/lib/routes/nhentai/util.js
+++ b/lib/routes/nhentai/util.js
@@ -23,7 +23,7 @@ const parseSimpleDetail = ($ele) => {
title: $ele.children('.caption').text(),
link,
pubDate: new Date().toUTCString(), // 要获得准确时间需要对每个本子都请求一遍,很麻烦
- description: `

`,
+ description: `

`,
};
};
@@ -38,7 +38,7 @@ const getDetail = async (simple) => {
.map((src) => src.replace(/(.+)(\d+)t\.(.+)/, (_, p1, p2, p3) => `${p1}${p2}.${p3}`)) // thumb to high-quality
.map((src) => src.replace('t.nhentai.net', 'i.nhentai.net'));
- const renderImg = (src) => `

`;
+ const renderImg = (src) => `

`;
return {
...simple,
title: $('div#info > h2').text() || $('div#info > h1').text(),
diff --git a/lib/routes/nhk/news_web_easy.js b/lib/routes/nhk/news_web_easy.js
index f80608668..e2204fa42 100644
--- a/lib/routes/nhk/news_web_easy.js
+++ b/lib/routes/nhk/news_web_easy.js
@@ -14,7 +14,7 @@ module.exports = async (ctx) => {
items.push({
title: article.title,
- description: `
${article.title_with_ruby}

`,
+ description: `
${article.title_with_ruby}

`,
guid: article.news_id,
pubDate: pub_date_utc.toUTCString(),
link: `https://www3.nhk.or.jp/news/easy/${article.news_id}/${article.news_id}.html`,
diff --git a/lib/routes/nintendo/direct.js b/lib/routes/nintendo/direct.js
index 8262b5cce..d3d5a1ca1 100644
--- a/lib/routes/nintendo/direct.js
+++ b/lib/routes/nintendo/direct.js
@@ -33,7 +33,7 @@ module.exports = async (ctx) => {
description: `最新的任天堂直面会日程信息`,
item: result.map((item) => ({
title: item.title,
- description: `

${item.des}`,
+ description: `

${item.des}`,
link: item.url,
})),
};
diff --git a/lib/routes/nintendo/eshop_hk.js b/lib/routes/nintendo/eshop_hk.js
index 68eb0f2ab..9449b191b 100644
--- a/lib/routes/nintendo/eshop_hk.js
+++ b/lib/routes/nintendo/eshop_hk.js
@@ -17,9 +17,9 @@ module.exports = async (ctx) => {
description: `Nintendo eShop (港服) 新上架的游戏`,
item: result.map((item) => ({
title: item.title,
- description: `
发售日期:${item.release_date}
价格:${
- item.price
- }港币
支持中文:${item.lang === 'CN' ? '是' : '否'}
发行商:${item.maker_publisher}
${item.content}`,
+ description: `
发售日期:${item.release_date}
价格:${item.price}港币
支持中文:${
+ item.lang === 'CN' ? '是' : '否'
+ }
发行商:${item.maker_publisher}
${item.content}`,
link: item.link,
})),
};
diff --git a/lib/routes/nintendo/eshop_jp.js b/lib/routes/nintendo/eshop_jp.js
index 8c983300e..8c69a024a 100644
--- a/lib/routes/nintendo/eshop_jp.js
+++ b/lib/routes/nintendo/eshop_jp.js
@@ -13,7 +13,7 @@ module.exports = async (ctx) => {
description: `Nintendo eShop (日服) 新上架的游戏`,
item: data.map((item) => ({
title: item.title,
- description: `
发售日期:${item.pdate}
价格:${item.dprice}円`,
+ description: `
发售日期:${item.pdate}
价格:${item.dprice}円`,
link: `https://ec.nintendo.com/JP/ja/titles/${item.id}`,
})),
};
diff --git a/lib/routes/nintendo/eshop_us.js b/lib/routes/nintendo/eshop_us.js
index d1fa49e8e..9ac051356 100644
--- a/lib/routes/nintendo/eshop_us.js
+++ b/lib/routes/nintendo/eshop_us.js
@@ -33,9 +33,7 @@ module.exports = async (ctx) => {
description: `Nintendo eShop (美服) 新上架的游戏`,
item: data.map((item) => ({
title: item.title,
- description: `
发售日期:${new Date(item.releaseDateMask).toLocaleString()}
价格:$${
- item.msrp
- }
${item.description}`,
+ description: `
发售日期:${new Date(item.releaseDateMask).toLocaleString()}
价格:$${item.msrp}
${item.description}`,
link: `https://www.nintendo.com${item.url}`,
})),
};
diff --git a/lib/routes/nintendo/utils.js b/lib/routes/nintendo/utils.js
index 490b0ae32..7c4552eb0 100644
--- a/lib/routes/nintendo/utils.js
+++ b/lib/routes/nintendo/utils.js
@@ -26,7 +26,7 @@ async function loadNews(link) {
const $ = cheerio.load(data);
let description = $('.detail-body-container').html();
const date = $('.topics-articleHead__date').html();
- description = description.replace(new RegExp('src="/topics/', 'g'), ' referrerpolicy="no-referrer" src="https://www.nintendo.com.hk/topics/');
+ description = description.replace(new RegExp('src="/topics/', 'g'), ' src="https://www.nintendo.com.hk/topics/');
return {
content: description,
date: new Date(date).toUTCString(),
diff --git a/lib/routes/pigtails/index.js b/lib/routes/pigtails/index.js
index 85c226e37..4b6844363 100644
--- a/lib/routes/pigtails/index.js
+++ b/lib/routes/pigtails/index.js
@@ -22,7 +22,7 @@ module.exports = async (ctx) => {
.split('(')[1];
items.push({
title: $item.text(),
- description: `

`,
+ description: `

`,
link: `${base_url}${$item.attr('href')}`,
});
});
diff --git a/lib/routes/pixiv/bookmarks.js b/lib/routes/pixiv/bookmarks.js
index 623edd66d..8cfb91a2e 100644
--- a/lib/routes/pixiv/bookmarks.js
+++ b/lib/routes/pixiv/bookmarks.js
@@ -26,10 +26,10 @@ module.exports = async (ctx) => {
item: illusts.map((illust) => {
const images = [];
if (illust.page_count === 1) {
- images.push(`

`);
+ images.push(`

`);
} else {
for (let i = 0; i < illust.page_count; i++) {
- images.push(`

`);
+ images.push(`

`);
}
}
return {
diff --git a/lib/routes/pixiv/ranking.js b/lib/routes/pixiv/ranking.js
index c77bd5971..ea355979d 100644
--- a/lib/routes/pixiv/ranking.js
+++ b/lib/routes/pixiv/ranking.js
@@ -57,10 +57,10 @@ module.exports = async (ctx) => {
item: illusts.map((illust, index) => {
const images = [];
if (illust.page_count === 1) {
- images.push(`

`);
+ images.push(`

`);
} else {
for (let i = 0; i < illust.page_count; i++) {
- images.push(`

`);
+ images.push(`

`);
}
}
return {
diff --git a/lib/routes/pixiv/search.js b/lib/routes/pixiv/search.js
index 7cae21cc3..50915d146 100644
--- a/lib/routes/pixiv/search.js
+++ b/lib/routes/pixiv/search.js
@@ -30,10 +30,10 @@ module.exports = async (ctx) => {
item: illusts.map((illust) => {
const images = [];
if (illust.page_count === 1) {
- images.push(`

`);
+ images.push(`

`);
} else {
for (let i = 0; i < illust.page_count; i++) {
- images.push(`

`);
+ images.push(`

`);
}
}
return {
diff --git a/lib/routes/pixiv/user.js b/lib/routes/pixiv/user.js
index b1dcfe97b..d54f6ea7b 100644
--- a/lib/routes/pixiv/user.js
+++ b/lib/routes/pixiv/user.js
@@ -25,10 +25,10 @@ module.exports = async (ctx) => {
item: illusts.map((illust) => {
const images = [];
if (illust.page_count === 1) {
- images.push(`

`);
+ images.push(`

`);
} else {
for (let i = 0; i < illust.page_count; i++) {
- images.push(`

`);
+ images.push(`

`);
}
}
return {
diff --git a/lib/routes/qdaily/notch/explore.js b/lib/routes/qdaily/notch/explore.js
index 5ba946fca..4c8af1698 100644
--- a/lib/routes/qdaily/notch/explore.js
+++ b/lib/routes/qdaily/notch/explore.js
@@ -9,7 +9,7 @@ const ProcessFeed = async (type, item) => {
const processPhoto = (pics) => {
let description = '
';
pics.forEach((pic) => {
- description += `
下载原图 `;
+ description += `
下载原图 `;
});
description += '
';
@@ -18,7 +18,7 @@ const ProcessFeed = async (type, item) => {
switch (type) {
case 'lab':
- return `
${item.post.description}
参与讨论`;
+ return `
${item.post.description}
参与讨论`;
case 'long_photo':
return processPhoto(item.long_photos);
case 'photo':
diff --git a/lib/routes/qidian/free-next.js b/lib/routes/qidian/free-next.js
index 41996025e..49b26f5a7 100644
--- a/lib/routes/qidian/free-next.js
+++ b/lib/routes/qidian/free-next.js
@@ -24,7 +24,7 @@ module.exports = async (ctx) => {
.map((index, item) => {
item = $(item);
- const img = `
.attr('src')})
`;
+ const img = `
.attr('src')})
`;
const rank = `
评分:${item.find('.img-box span').text()}
`;
return {
diff --git a/lib/routes/qidian/free.js b/lib/routes/qidian/free.js
index 750912dfa..7d3720ea2 100644
--- a/lib/routes/qidian/free.js
+++ b/lib/routes/qidian/free.js
@@ -24,7 +24,7 @@ module.exports = async (ctx) => {
.map((index, item) => {
item = $(item);
- const img = `
.attr('src')})
`;
+ const img = `
.attr('src')})
`;
const rank = `
评分:${item.find('.score').text()}
`;
const update = `
a').attr('href')}>${item.find('p.update > a').text()}`;
diff --git a/lib/routes/rs05/rs05.js b/lib/routes/rs05/rs05.js
index 3fe1656de..a58cbc043 100644
--- a/lib/routes/rs05/rs05.js
+++ b/lib/routes/rs05/rs05.js
@@ -26,7 +26,7 @@ module.exports = async (ctx) => {
item = $(item);
return {
title: item.find('.intro h2 a').attr('title'),
- description: item.find('.brief').text() + '
.attr('data-original') + ')
',
+ description: item.find('.brief').text() + '
.attr('data-original') + ')
',
pubDate: new Date(item.find('.time').data('shared-at')).toUTCString(),
link: item.find('.intro h2 a').attr('href'),
};
diff --git a/lib/routes/shuhui/comics.js b/lib/routes/shuhui/comics.js
index 9f70009d5..e1f3490eb 100644
--- a/lib/routes/shuhui/comics.js
+++ b/lib/routes/shuhui/comics.js
@@ -60,7 +60,7 @@ module.exports = async (ctx) => {
const index = response.data.data.numberEnd;
const updateTime = response.data.data.updateTime;
for (let i = 0; i < picUrlArray.length; i++) {
- description += `

`;
+ description += `

`;
}
const item = {
diff --git a/lib/routes/smzdm/keyword.js b/lib/routes/smzdm/keyword.js
index 589b79690..3cbb4ab74 100644
--- a/lib/routes/smzdm/keyword.js
+++ b/lib/routes/smzdm/keyword.js
@@ -44,7 +44,7 @@ module.exports = async (ctx) => {
.trim()}
${item
.find('.feed-block-extras span')
.text()
- .trim()}
.attr('src')})
`,
+ .trim()}
.attr('src')})
`,
pubDate: formatPubDate(
item
.find('.feed-block-extras')
diff --git a/lib/routes/smzdm/ranking.js b/lib/routes/smzdm/ranking.js
index cc913bb6f..3159b28f1 100644
--- a/lib/routes/smzdm/ranking.js
+++ b/lib/routes/smzdm/ranking.js
@@ -29,7 +29,7 @@ module.exports = async (ctx) => {
link: 'https://www.smzdm.com/top/',
item: list.map((item) => ({
title: `${item.article_title} - ${item.article_price}`,
- description: `${item.article_title} - ${item.article_price}

`,
+ description: `${item.article_title} - ${item.article_price}

`,
pubDate: new Date(item.article_pubdate).toUTCString(),
link: item.article_url,
})),
diff --git a/lib/routes/sogou/doodles.js b/lib/routes/sogou/doodles.js
index 2475d2191..e7b592e41 100644
--- a/lib/routes/sogou/doodles.js
+++ b/lib/routes/sogou/doodles.js
@@ -16,7 +16,7 @@ module.exports = async (ctx) => {
return {
title: `${item[2]}-${item[5]}`,
- description: `

`,
+ description: `

`,
pubDate: new Date(item[5]).toUTCString(),
link: item[7],
guid: item[4],
diff --git a/lib/routes/sspai/topics.js b/lib/routes/sspai/topics.js
index 12b4bd5d5..bc9d2a138 100644
--- a/lib/routes/sspai/topics.js
+++ b/lib/routes/sspai/topics.js
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
if (value) {
description = value;
} else {
- description = `${item.intro}

如有兴趣,请复制链接订阅
https://rsshub.app/sspai/topic/${item.id}
`;
+ description = `${item.intro}

如有兴趣,请复制链接订阅
https://rsshub.app/sspai/topic/${item.id}
`;
ctx.cache.set(key, description);
}
diff --git a/lib/routes/t66y/index.js b/lib/routes/t66y/index.js
index f73f3e471..af0605286 100644
--- a/lib/routes/t66y/index.js
+++ b/lib/routes/t66y/index.js
@@ -80,12 +80,12 @@ module.exports = async (ctx) => {
// Handle img tag
let images = $('img');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('data-src')})
`);
+ $(images[k]).replaceWith(`
.attr('data-src')})
`);
}
// Handle input tag
images = $('input');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('data-src')})
`);
+ $(images[k]).replaceWith(`
.attr('data-src')})
`);
}
// Handle links
diff --git a/lib/routes/t66y/post.js b/lib/routes/t66y/post.js
index 04bf21f8e..bd8f2f63b 100644
--- a/lib/routes/t66y/post.js
+++ b/lib/routes/t66y/post.js
@@ -64,12 +64,12 @@ function parseContent(htmlString) {
// Handle img tag
let images = $('img');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('data-src')})
`);
+ $(images[k]).replaceWith(`
.attr('data-src')})
`);
}
// Handle input tag
images = $('input');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('data-src')})
`);
+ $(images[k]).replaceWith(`
.attr('data-src')})
`);
}
// Handle links
diff --git a/lib/routes/tanwu/products.js b/lib/routes/tanwu/products.js
index 95b19838f..9d5dafee0 100644
--- a/lib/routes/tanwu/products.js
+++ b/lib/routes/tanwu/products.js
@@ -16,7 +16,7 @@ module.exports = async (ctx) => {
title: productName,
link: `https://m.tanwuapp.com/?source=mobile#/productDetails?productId=${productId}`,
description: `
-

+
${productName}
价格: ¥${productRent} / ${rentUnit}
评分: ${appraiseAvgScore}
diff --git a/lib/routes/taobao/zhongchou.js b/lib/routes/taobao/zhongchou.js
index 025b23926..5b3e18a91 100644
--- a/lib/routes/taobao/zhongchou.js
+++ b/lib/routes/taobao/zhongchou.js
@@ -25,7 +25,7 @@ module.exports = async (ctx) => {
const title = item.name;
const link = `https://izhongchou.taobao.com/dreamdetail.htm?id=${item.id}`;
const description = `
-

+
达成率: ${item.finish_per}%
已筹金额: ${item.curr_money}元
支持人数: ${item.buy_amount}
diff --git a/lib/routes/telegram/channel.js b/lib/routes/telegram/channel.js
index c7577ec22..9dc342ae5 100644
--- a/lib/routes/telegram/channel.js
+++ b/lib/routes/telegram/channel.js
@@ -21,7 +21,7 @@ module.exports = async (ctx) => {
let img = '';
const generateImg = (selector) => {
if (item.find(selector).length) {
- return `

{
link: `https://t.me/addstickers/${name}`,
item: data.stickers.map((item, index) => ({
title: item.emoji,
- description: `

`,
+ description: `

`,
guid: item.file_id,
link: links[index],
})),
diff --git a/lib/routes/tencent/tucaoqq/post.js b/lib/routes/tencent/tucaoqq/post.js
index 9018a748a..264df4f76 100644
--- a/lib/routes/tencent/tucaoqq/post.js
+++ b/lib/routes/tencent/tucaoqq/post.js
@@ -24,7 +24,7 @@ module.exports = async (ctx) => {
let imgHTML = '';
if (data.images) {
for (let i = 0; i < data.images.length; i++) {
- imgHTML += `

`;
+ imgHTML += `

`;
}
}
return {
diff --git a/lib/routes/the-economist/gre-vocabulary.js b/lib/routes/the-economist/gre-vocabulary.js
index b71b45f1a..0429e9f10 100644
--- a/lib/routes/the-economist/gre-vocabulary.js
+++ b/lib/routes/the-economist/gre-vocabulary.js
@@ -16,7 +16,7 @@ module.exports = async (ctx) => {
{
title: `${wordInfo.word} - ${time}`,
description: `
-

+

Source:
${wordInfo.sourceTitle}
`,
pubDate: new Date(time).toUTCString(),
diff --git a/lib/routes/tieba/forum.js b/lib/routes/tieba/forum.js
index 74182a2cd..28eed2273 100644
--- a/lib/routes/tieba/forum.js
+++ b/lib/routes/tieba/forum.js
@@ -71,7 +71,7 @@ module.exports = async (ctx) => {
.find('.threadlist_media img')
.map((index, element) => {
const item = $(element);
- return `
})
`; // prettier-ignore
+ return `
})
`; // prettier-ignore
})
.get()
.join('');
diff --git a/lib/routes/titsguru/util.js b/lib/routes/titsguru/util.js
index caa2b6e1d..d013dcf04 100644
--- a/lib/routes/titsguru/util.js
+++ b/lib/routes/titsguru/util.js
@@ -40,7 +40,7 @@ exports.mapDetail = (ele) => {
title,
pubDate: exports.parseDate(dateStr.trim()).toUTCString(),
description: `
-

+

`.trim(),
};
};
diff --git a/lib/routes/twitter/utils.js b/lib/routes/twitter/utils.js
index 0735fe93a..0d8819b08 100644
--- a/lib/routes/twitter/utils.js
+++ b/lib/routes/twitter/utils.js
@@ -60,7 +60,7 @@ const ProcessFeed = ({ data = [] }, showAuthor = false) => {
case 'photo':
default:
- content = `
})
`;
+ content = `
})
`;
break;
}
@@ -102,7 +102,7 @@ const ProcessFeed = ({ data = [] }, showAuthor = false) => {
return {
title: `${showAuthor ? item.user.name + ': ' : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${replaceBreak(item.full_text)}`,
- description: `${showAuthor ? `
${item.user.name}:` : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${
+ description: `${showAuthor ? `
${item.user.name}:` : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${
item.full_text
}${url}${img}${quote}`,
pubDate: new Date(item.created_at).toUTCString(),
diff --git a/lib/routes/universities/nuaa/jwc/jwc.js b/lib/routes/universities/nuaa/jwc/jwc.js
index bdb917e89..d84ce30c4 100644
--- a/lib/routes/universities/nuaa/jwc/jwc.js
+++ b/lib/routes/universities/nuaa/jwc/jwc.js
@@ -22,7 +22,7 @@ async function load(link) {
).toUTCString();
const images = $('img');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('src'))})
`);
+ $(images[k]).replaceWith(`
.attr('src'))})
`);
}
const description = $('.detail-div').html();
return { pubDate, description };
diff --git a/lib/routes/universities/nuaa/yjsy/yjsy.js b/lib/routes/universities/nuaa/yjsy/yjsy.js
index 48574057d..4455f0d20 100644
--- a/lib/routes/universities/nuaa/yjsy/yjsy.js
+++ b/lib/routes/universities/nuaa/yjsy/yjsy.js
@@ -20,7 +20,7 @@ async function load(link, ctx) {
const $ = cheerio.load(response.data);
const images = $('img');
for (let k = 0; k < images.length; k++) {
- $(images[k]).replaceWith(`
.attr('src'))})
`);
+ $(images[k]).replaceWith(`
.attr('src'))})
`);
}
const description = $('.wp_articlecontent').html();
await ctx.cache.set(link, description);
diff --git a/lib/routes/verge/index.js b/lib/routes/verge/index.js
index 439947691..0b1aa2fa2 100644
--- a/lib/routes/verge/index.js
+++ b/lib/routes/verge/index.js
@@ -21,7 +21,7 @@ module.exports = async (ctx) => {
const cover = $('meta[property="og:image"]');
if (cover.length > 0) {
- $(`

`).insertBefore(content[0].childNodes[0]);
+ $(`

`).insertBefore(content[0].childNodes[0]);
}
// 处理封面视频
@@ -58,7 +58,7 @@ module.exports = async (ctx) => {
.text();
}
- const figure = `
${caption ? `
${caption}` : ''}`;
+ const figure = `
${caption ? `
${caption}` : ''}`;
$(figure).insertBefore(e);
diff --git a/lib/routes/vol/lastupdate.js b/lib/routes/vol/lastupdate.js
index 5026bc441..728efc3c1 100644
--- a/lib/routes/vol/lastupdate.js
+++ b/lib/routes/vol/lastupdate.js
@@ -33,7 +33,7 @@ module.exports = async (ctx) => {
return {
title: `${title} ${detail} ${match}`,
description: `
-

+
${title}
${match}
${detail}
diff --git a/lib/routes/weibo/utils.js b/lib/routes/weibo/utils.js
index cac7d3d7e..45cb1aa6e 100644
--- a/lib/routes/weibo/utils.js
+++ b/lib/routes/weibo/utils.js
@@ -32,7 +32,7 @@ const weiboUtils = {
// 添加微博配图
if (status.pics) {
status.pics.forEach(function(item) {
- temp += '

';
+ temp += '

';
});
}
return temp;
diff --git a/lib/routes/weidian/goods.js b/lib/routes/weidian/goods.js
index 7cb501969..f547a1a33 100644
--- a/lib/routes/weidian/goods.js
+++ b/lib/routes/weidian/goods.js
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
const out = goods.map((good) => {
const item = {
title: good.itemName,
- description: `价格:${parseInt(good.itemPrice) / 100}

`,
+ description: `价格:${parseInt(good.itemPrice) / 100}

`,
link: `https://weidian.com/item.html?itemID=${good.itemId}`,
};
return item;
diff --git a/lib/routes/weseepro/circle.js b/lib/routes/weseepro/circle.js
index d966e0d3c..1041a1ffe 100644
--- a/lib/routes/weseepro/circle.js
+++ b/lib/routes/weseepro/circle.js
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
if (item.message.link) {
imgs = item.message.link.url.split(',').reduce((imgs, img) => {
imgs += `
-

+

`;
return imgs;
}, '');
diff --git a/lib/routes/weseepro/newest-direct.js b/lib/routes/weseepro/newest-direct.js
index fe265f3e5..8ff38aed5 100644
--- a/lib/routes/weseepro/newest-direct.js
+++ b/lib/routes/weseepro/newest-direct.js
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
}
return `
-

+
${message.link.summary}
${name}: ${content}
`;
@@ -50,7 +50,7 @@ module.exports = async (ctx) => {
title = special.title;
link = `https://www.weseepro.com/mine/album?uuid=${special.uuid}`;
description = `
-

+

${special.description}
${messages}
`;
diff --git a/lib/routes/weseepro/newest.js b/lib/routes/weseepro/newest.js
index bfa76bbed..2e3b6a5c4 100644
--- a/lib/routes/weseepro/newest.js
+++ b/lib/routes/weseepro/newest.js
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
}
return `
-

+
${message.link.summary}
${name}: ${content}
`;
@@ -50,7 +50,7 @@ module.exports = async (ctx) => {
title = special.title;
link = `https://www.weseepro.com/mine/album?uuid=${special.uuid}`;
description = `
-

+

${special.description}
${messages}
`;
diff --git a/lib/routes/westore/new.js b/lib/routes/westore/new.js
index abe4a475a..0808da5b0 100644
--- a/lib/routes/westore/new.js
+++ b/lib/routes/westore/new.js
@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
description: '微信周边',
item: response.data.brands.map(({ name, img, vipprice, id }) => {
const description = `
-

+
价格: ${+vipprice / 100}元
`;
diff --git a/lib/routes/wired/tag.js b/lib/routes/wired/tag.js
index 9b04111ed..2ed8ebf29 100644
--- a/lib/routes/wired/tag.js
+++ b/lib/routes/wired/tag.js
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
title: $(content_)
.find('.archive-item-component__title')
.text(),
- description: `

.find('.image-group-component img')
.attr('src')})
diff --git a/lib/routes/xiachufang/utils.js b/lib/routes/xiachufang/utils.js
index 550c6b397..2b9f9c2f8 100644
--- a/lib/routes/xiachufang/utils.js
+++ b/lib/routes/xiachufang/utils.js
@@ -31,7 +31,7 @@ const generateItems = ($, timeframe) => {
title,
link,
description: `
-

+
${title}
${desc}
`,
diff --git a/lib/routes/xiaoheihe/discount.js b/lib/routes/xiaoheihe/discount.js
index d84579601..32e0e4e21 100644
--- a/lib/routes/xiaoheihe/discount.js
+++ b/lib/routes/xiaoheihe/discount.js
@@ -12,8 +12,9 @@ module.exports = async (ctx) => {
link: 'https://xiaoheihe.cn/games/index',
item: data.map((item) => ({
title: (item.price.discount === item.price.lowest_discount ? '[史低] ' : '') + item.name + (item.name_en ? ' / ' + item.name_en : ''),
- description: `
原价¥${item.heybox_price.original_coin / 1000},现价¥${item.heybox_price.cost_coin /
- 1000},折扣力度 ${item.heybox_price.discount}%,${item.price.deadline_date}
评分:${item.score}
简介:${item.about_the_game}`,
+ description: `
原价¥${item.heybox_price.original_coin / 1000},现价¥${item.heybox_price.cost_coin / 1000},折扣力度 ${
+ item.heybox_price.discount
+ }%,${item.price.deadline_date}
评分:${item.score}
简介:${item.about_the_game}`,
link: `https://store.steampowered.com/app/${item.appid}/?l=zh&cc=cn`,
})),
};
diff --git a/lib/routes/yande.re/post_popular_recent.js b/lib/routes/yande.re/post_popular_recent.js
index 9e57c5ff3..9f6a03afd 100644
--- a/lib/routes/yande.re/post_popular_recent.js
+++ b/lib/routes/yande.re/post_popular_recent.js
@@ -37,7 +37,7 @@ module.exports = async (ctx) => {
author: post.author,
pubDate: new Date(post.created_at * 1e3).toUTCString(),
description: (() => {
- const result = [`

`];
+ const result = [`

`];
result.push(`
Rating:${post.rating}
Score:${post.score}
`);
if (post.source) {
result.push(`
Source`);
diff --git a/lib/routes/youku/channel.js b/lib/routes/youku/channel.js
index 46c4b96cc..37b44634a 100644
--- a/lib/routes/youku/channel.js
+++ b/lib/routes/youku/channel.js
@@ -42,7 +42,7 @@ module.exports = async (ctx) => {
description: `
${embed ? iframe : ''}
-

+

`,
link,
};
diff --git a/lib/routes/youtube/channel.js b/lib/routes/youtube/channel.js
index aa9060630..34c537355 100644
--- a/lib/routes/youtube/channel.js
+++ b/lib/routes/youtube/channel.js
@@ -26,7 +26,7 @@ module.exports = async (ctx) => {
title: snippet.title,
description: `${
embed ? '
' : ''
- }${utils.formatDescription(snippet.description)}

`,
+ }${utils.formatDescription(snippet.description)}

`,
pubDate: new Date(snippet.publishedAt).toUTCString(),
link: `https://www.youtube.com/watch?v=${videoId}`,
};
diff --git a/lib/routes/youtube/playlist.js b/lib/routes/youtube/playlist.js
index 7be645884..5e24667ff 100644
--- a/lib/routes/youtube/playlist.js
+++ b/lib/routes/youtube/playlist.js
@@ -25,7 +25,7 @@ module.exports = async (ctx) => {
return {
title: snippet.title,
description: `${embed ? '
' : ''}
- ${utils.formatDescription(snippet.description)}

`,
+ ${utils.formatDescription(snippet.description)}

`,
pubDate: new Date(snippet.publishedAt).toUTCString(),
link: `https://www.youtube.com/watch?v=${videoId}`,
};
diff --git a/lib/routes/youtube/user.js b/lib/routes/youtube/user.js
index 9d810f31b..5df5ffe40 100644
--- a/lib/routes/youtube/user.js
+++ b/lib/routes/youtube/user.js
@@ -26,7 +26,7 @@ module.exports = async (ctx) => {
title: snippet.title,
description: `${
embed ? '
' : ''
- }${utils.formatDescription(snippet.description)}

`,
+ }${utils.formatDescription(snippet.description)}

`,
pubDate: new Date(snippet.publishedAt).toUTCString(),
link: `https://www.youtube.com/watch?v=${videoId}`,
};
diff --git a/lib/routes/youzan/goods.js b/lib/routes/youzan/goods.js
index df50398f4..2dc471530 100644
--- a/lib/routes/youzan/goods.js
+++ b/lib/routes/youzan/goods.js
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
const out = goods.map((good) => {
const item = {
title: good.title,
- description: `价格:${good.price}

`,
+ description: `价格:${good.price}

`,
link: `https://detail.youzan.com/show/goods?alias=${good.alias}`,
};
return item;
diff --git a/lib/routes/yxdzqb/index.js b/lib/routes/yxdzqb/index.js
index 75897547d..c579c2ec6 100644
--- a/lib/routes/yxdzqb/index.js
+++ b/lib/routes/yxdzqb/index.js
@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
item = $(item);
const title = item.find('div table:nth-child(1) tr td:nth-child(1)').text();
- const description = `

tbody > tr > td:nth-child(1) > img').attr('src')}>` + item.find('div.collapse').html();
+ const description = `

tbody > tr > td:nth-child(1) > img').attr('src')}>` + item.find('div.collapse').html();
const link = item.find('div.collapse table.cell_tabs > tbody > tr > td:nth-child(1) > a').attr('href');
const guid = link + item.find('div.cell_price span:nth-child(2)').text();
diff --git a/lib/routes/zhihu/activities.js b/lib/routes/zhihu/activities.js
index 56955434d..b7e1e20c4 100644
--- a/lib/routes/zhihu/activities.js
+++ b/lib/routes/zhihu/activities.js
@@ -48,7 +48,7 @@ module.exports = async (ctx) => {
if (contentItem.type === 'text') {
text = `
${contentItem.own_text}
`;
} else if (contentItem.type === 'image') {
- images.push(`
})
`);
+ images.push(`
})
`);
} else if (contentItem.type === 'link') {
link = `
${contentItem.title}
`;
} else if (contentItem.type === 'video') {
@@ -69,7 +69,7 @@ module.exports = async (ctx) => {
break;
case 'column':
title = detail.title;
- description = `
${detail.intro}

`;
+ description = `
${detail.intro}

`;
url = `https://zhuanlan.zhihu.com/${detail.url.split('/').pop()}`;
break;
case 'topic':
diff --git a/lib/routes/zhihu/bookstore/newest.js b/lib/routes/zhihu/bookstore/newest.js
index 65ae747e2..b1e99bd2f 100644
--- a/lib/routes/zhihu/bookstore/newest.js
+++ b/lib/routes/zhihu/bookstore/newest.js
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
title: item.title,
link: item.url,
description: `
-
})
+
${item.title}
作者: ${authors}
${item.description}
diff --git a/lib/routes/zhihu/pin/utils.js b/lib/routes/zhihu/pin/utils.js
index 7e49f2ec1..36f3893ed 100644
--- a/lib/routes/zhihu/pin/utils.js
+++ b/lib/routes/zhihu/pin/utils.js
@@ -13,7 +13,7 @@ module.exports = {
break;
case 'image':
- description += `
})
`;
+ description += `
})
`;
break;
case 'video':
@@ -27,7 +27,7 @@ module.exports = {
break;
case 'link':
- description += `
`;
+ description += `
`;
break;
default:
diff --git a/lib/routes/zhihu/zhuanlan.js b/lib/routes/zhihu/zhuanlan.js
index 7d943df76..afe3a1ae7 100644
--- a/lib/routes/zhihu/zhuanlan.js
+++ b/lib/routes/zhihu/zhuanlan.js
@@ -87,7 +87,7 @@ module.exports = async (ctx) => {
item: articles,
// list.map((item) => ({
// title: item.title,
- // description: item.content.replace(/ src="/g, ' referrerpolicy="no-referrer" src="https://pic4.zhimg.com/'),
+ // description: item.content.replace(/ src="/g, ' src="https://pic4.zhimg.com/'),
// pubDate: new Date(item.publishedTime).toUTCString(),
// link: `https://zhuanlan.zhihu.com${item.url}`,
// })),
diff --git a/lib/routes/ziroom/room.js b/lib/routes/ziroom/room.js
index a2dd8749c..11555de6c 100644
--- a/lib/routes/ziroom/room.js
+++ b/lib/routes/ziroom/room.js
@@ -44,7 +44,7 @@ module.exports = async (ctx) => {
description: `自如的${keyword}${iswhole !== '0' ? '整租' : '合租'}${room}室房源`,
item: data.map((item) => ({
title: item.title,
- description: `${item.room_name}

`,
+ description: `${item.room_name}

`,
link: `http://${domain}/${city.toUpperCase()}/room/${item.id}.html`,
})),
};