@cloud411716/fancy-webnovel 0.2.14 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -143,24 +143,17 @@ function renderQidianMarkdown(rankLabel, url, books) {
|
|
|
143
143
|
`- 来源:${url}`,
|
|
144
144
|
`- 抓取方式:mobile-ssr`,
|
|
145
145
|
`- 抓取时间:${now}`,
|
|
146
|
-
`- 条目数:${books.length}`,
|
|
147
146
|
'',
|
|
148
147
|
'---',
|
|
149
148
|
'',
|
|
150
149
|
];
|
|
151
150
|
|
|
152
151
|
for (const b of books) {
|
|
153
|
-
lines.push(
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
lines.push(
|
|
158
|
-
if (b.rankValue) lines.push(`**榜单值:** ${b.rankValue}`);
|
|
159
|
-
lines.push(`**总推荐:** ${req(b.totalRecommend)}`);
|
|
160
|
-
lines.push(`**签约:** ${req(b.signStatus)}`);
|
|
161
|
-
lines.push(`**收费:** ${req(b.vipStatus)}`);
|
|
162
|
-
if (b.url) lines.push(`[作品页](${b.url})`);
|
|
163
|
-
lines.push('', '---', '');
|
|
152
|
+
lines.push(`书名:${b.title || ''}`);
|
|
153
|
+
lines.push(`题材:${b.genre || ''}`);
|
|
154
|
+
lines.push(`作者:${b.author || ''}`);
|
|
155
|
+
if (b.url) lines.push(`作品页:${b.url}`);
|
|
156
|
+
lines.push('');
|
|
164
157
|
}
|
|
165
158
|
|
|
166
159
|
return lines.join('\n');
|