@cloud411716/fancy-webnovel 0.2.22 → 0.2.23

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -347,7 +347,7 @@ async function scrapeRank(channelId, rankTypeId, periodId) {
347
347
 
348
348
  for (const b of books) {
349
349
  lines.push(`书名:${b.title || ""}`);
350
- lines.push(`题材:${b.genre || ""}`);
350
+ lines.push(`题材:${b.genre || ""}${b.subGenre ? " - " + b.subGenre : ""}`);
351
351
  lines.push(`作者:${b.author || ""}`);
352
352
  if (b.url) lines.push(`作品页:${b.url}`);
353
353
  lines.push("");