rsshub 1.0.0-master.f4997c4 → 1.0.0-master.f50f5fe

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.
Files changed (450) hide show
  1. package/README.md +7 -17
  2. package/lib/api_router.js +1 -1
  3. package/lib/config.js +3 -0
  4. package/lib/maintainer.js +25 -0
  5. package/lib/radar-rules.js +0 -187
  6. package/lib/radar.js +56 -0
  7. package/lib/router.js +30 -33
  8. package/lib/routes/everything/changes.js +1 -1
  9. package/lib/v2/18comic/templates/description.art +4 -0
  10. package/lib/v2/18comic/utils.js +9 -5
  11. package/lib/v2/1point3acres/blog.js +67 -0
  12. package/lib/v2/1point3acres/category.js +17 -0
  13. package/lib/v2/1point3acres/maintainer.js +9 -0
  14. package/lib/v2/1point3acres/offer.js +69 -0
  15. package/lib/v2/1point3acres/radar.js +53 -0
  16. package/lib/v2/1point3acres/router.js +10 -0
  17. package/lib/v2/1point3acres/section.js +28 -0
  18. package/lib/v2/1point3acres/templates/image.art +1 -0
  19. package/lib/v2/1point3acres/templates/offer.art +11 -0
  20. package/lib/v2/1point3acres/thread.js +15 -0
  21. package/lib/v2/1point3acres/utils.js +79 -0
  22. package/lib/v2/2048/radar.js +13 -0
  23. package/lib/v2/591/maintainer.js +3 -0
  24. package/lib/{routes → v2}/6park/index.js +20 -12
  25. package/lib/v2/6park/maintainer.js +8 -0
  26. package/lib/v2/6park/news.js +76 -0
  27. package/lib/v2/6park/radar.js +65 -0
  28. package/lib/v2/6park/router.js +4 -0
  29. package/lib/v2/6v123/utils.js +4 -2
  30. package/lib/v2/acfun/radar.js +1 -1
  31. package/lib/v2/amazon/awsblogs.js +27 -0
  32. package/lib/v2/amazon/maintainer.js +1 -0
  33. package/lib/v2/amazon/radar.js +6 -0
  34. package/lib/v2/amazon/router.js +1 -0
  35. package/lib/v2/apache/apisix/blog.js +32 -0
  36. package/lib/v2/apache/maintainer.js +3 -0
  37. package/lib/v2/apache/radar.js +13 -0
  38. package/lib/v2/apache/router.js +3 -0
  39. package/lib/v2/apiseven/blog.js +46 -0
  40. package/lib/v2/apiseven/maintainer.js +3 -0
  41. package/lib/v2/apiseven/radar.js +13 -0
  42. package/lib/v2/apiseven/router.js +3 -0
  43. package/lib/v2/apnews/topics.js +2 -1
  44. package/lib/v2/arcteryx/maintainer.js +1 -0
  45. package/lib/v2/arcteryx/new-arrivals.js +4 -15
  46. package/lib/v2/arcteryx/outlet.js +40 -0
  47. package/lib/v2/arcteryx/radar.js +8 -0
  48. package/lib/v2/arcteryx/router.js +1 -0
  49. package/lib/v2/arcteryx/templates/product-description.art +9 -3
  50. package/lib/v2/arcteryx/utils.js +23 -0
  51. package/lib/v2/bast/index.js +74 -0
  52. package/lib/v2/bast/maintainer.js +3 -0
  53. package/lib/v2/bast/radar.js +13 -0
  54. package/lib/v2/bast/router.js +3 -0
  55. package/lib/v2/bgmlist/maintainer.js +3 -0
  56. package/lib/v2/bgmlist/onair.js +32 -0
  57. package/lib/v2/bgmlist/radar.js +13 -0
  58. package/lib/v2/bgmlist/router.js +3 -0
  59. package/lib/v2/bgmlist/templates/description.art +4 -0
  60. package/lib/v2/bilibili/bangumi.js +4 -4
  61. package/lib/v2/bilibili/dynamic.js +2 -2
  62. package/lib/v2/bilibili/followings_dynamic.js +3 -3
  63. package/lib/v2/bilibili/topic.js +2 -2
  64. package/lib/v2/bilibili/utils.js +4 -3
  65. package/lib/v2/biquge/radar.js +1 -1
  66. package/lib/{routes/openai/blog.js → v2/camchina/index.js} +16 -16
  67. package/lib/v2/camchina/maintainer.js +3 -0
  68. package/lib/v2/camchina/radar.js +13 -0
  69. package/lib/v2/camchina/router.js +3 -0
  70. package/lib/v2/cankaoxiaoxi/index.js +44 -57
  71. package/lib/v2/cankaoxiaoxi/maintainer.js +2 -1
  72. package/lib/v2/cankaoxiaoxi/radar.js +7 -52
  73. package/lib/v2/cankaoxiaoxi/router.js +2 -1
  74. package/lib/v2/cankaoxiaoxi/templates/description.art +5 -0
  75. package/lib/v2/cgtn/maintainer.js +3 -0
  76. package/lib/v2/cgtn/podcast.js +35 -0
  77. package/lib/v2/cgtn/radar.js +13 -0
  78. package/lib/v2/cgtn/router.js +3 -0
  79. package/lib/v2/chiculture/maintainer.js +3 -0
  80. package/lib/v2/chiculture/radar.js +16 -0
  81. package/lib/v2/chiculture/router.js +3 -0
  82. package/lib/{routes → v2}/chiculture/topic.js +7 -5
  83. package/lib/v2/chsi/hotnews.js +56 -0
  84. package/lib/v2/chsi/kyzx.js +51 -0
  85. package/lib/v2/chsi/maintainer.js +2 -0
  86. package/lib/v2/chsi/radar.js +12 -0
  87. package/lib/v2/chsi/router.js +2 -0
  88. package/lib/v2/civitai/discussions.js +42 -0
  89. package/lib/v2/civitai/maintainer.js +4 -0
  90. package/lib/v2/civitai/models.js +26 -0
  91. package/lib/v2/civitai/radar.js +19 -0
  92. package/lib/v2/civitai/router.js +4 -0
  93. package/lib/v2/cloudnative/blog.js +34 -0
  94. package/lib/v2/cloudnative/maintainer.js +3 -0
  95. package/lib/v2/cloudnative/radar.js +13 -0
  96. package/lib/v2/cloudnative/router.js +3 -0
  97. package/lib/v2/cls/radar.js +3 -3
  98. package/lib/v2/coindesk/index.js +5 -7
  99. package/lib/v2/cpuid/maintainer.js +3 -0
  100. package/lib/v2/cste/index.js +56 -0
  101. package/lib/v2/cste/maintainer.js +3 -0
  102. package/lib/v2/cste/radar.js +13 -0
  103. package/lib/v2/cste/router.js +3 -0
  104. package/lib/v2/ddosi/radar.js +2 -2
  105. package/lib/v2/disinformationindex/maintainer.js +1 -1
  106. package/lib/v2/disinformationindex/radar.js +1 -1
  107. package/lib/v2/dlsite/ci-en/article.js +64 -0
  108. package/lib/v2/dlsite/maintainer.js +1 -0
  109. package/lib/v2/dlsite/radar.js +8 -0
  110. package/lib/v2/dlsite/router.js +1 -0
  111. package/lib/v2/domp4/detail.js +1 -3
  112. package/lib/v2/domp4/latest.js +3 -2
  113. package/lib/v2/domp4/utils.js +3 -0
  114. package/lib/v2/douban/maintainer.js +1 -0
  115. package/lib/v2/douban/other/list.js +40 -0
  116. package/lib/v2/douban/people/wish.js +3 -24
  117. package/lib/v2/douban/radar.js +6 -0
  118. package/lib/v2/douban/router.js +1 -0
  119. package/lib/v2/douban/templates/list_description.art +25 -0
  120. package/lib/v2/earthquake/radar.js +2 -2
  121. package/lib/v2/eastmoney/maintainer.js +4 -0
  122. package/lib/v2/eastmoney/radar.js +8 -0
  123. package/lib/v2/eastmoney/router.js +1 -0
  124. package/lib/v2/eastmoney/search/index.js +55 -0
  125. package/lib/v2/epicgames/radar.js +13 -0
  126. package/lib/v2/feng/maintainer.js +3 -0
  127. package/lib/v2/ff14/radar.js +30 -0
  128. package/lib/v2/fishshell/index.js +27 -0
  129. package/lib/v2/fishshell/maintainer.js +3 -0
  130. package/lib/v2/fishshell/radar.js +13 -0
  131. package/lib/v2/fishshell/router.js +3 -0
  132. package/lib/v2/fortnite/maintainer.js +3 -0
  133. package/lib/v2/fortnite/news.js +58 -0
  134. package/lib/v2/fortnite/radar.js +16 -0
  135. package/lib/v2/fortnite/router.js +3 -0
  136. package/lib/v2/freecomputerbooks/index.js +66 -0
  137. package/lib/v2/freecomputerbooks/maintainer.js +4 -0
  138. package/lib/v2/freecomputerbooks/radar.js +31 -0
  139. package/lib/v2/freecomputerbooks/router.js +3 -0
  140. package/lib/v2/gamebase/maintainer.js +3 -0
  141. package/lib/v2/gamebase/news.js +74 -0
  142. package/lib/v2/gamebase/radar.js +13 -0
  143. package/lib/v2/gamebase/router.js +3 -0
  144. package/lib/v2/gcores/maintainer.js +1 -0
  145. package/lib/v2/gcores/radar.js +12 -0
  146. package/lib/v2/gcores/radio.js +90 -0
  147. package/lib/v2/gcores/router.js +1 -0
  148. package/lib/v2/gcores/templates/content.art +16 -0
  149. package/lib/v2/geocaching/blogs.js +30 -0
  150. package/lib/v2/geocaching/maintainer.js +3 -0
  151. package/lib/v2/geocaching/radar.js +13 -0
  152. package/lib/v2/geocaching/router.js +3 -0
  153. package/lib/v2/geocaching/templates/blogs.art +6 -0
  154. package/lib/v2/gitee/radar.js +4 -4
  155. package/lib/v2/github/maintainer.js +2 -1
  156. package/lib/v2/github/notifications.js +47 -0
  157. package/lib/v2/github/radar.js +6 -0
  158. package/lib/v2/github/router.js +1 -0
  159. package/lib/v2/github/trending.js +8 -10
  160. package/lib/v2/gov/jinan/healthcommission/medical_exam_notice.js +49 -0
  161. package/lib/v2/gov/maintainer.js +5 -2
  162. package/lib/v2/gov/news/index.js +114 -0
  163. package/lib/v2/gov/radar.js +60 -3
  164. package/lib/v2/gov/router.js +4 -1
  165. package/lib/v2/gov/sichuan/deyang/govpublicinfo.js +92 -0
  166. package/lib/v2/gov/sichuan/deyang/mztoday.js +134 -0
  167. package/lib/v2/gov/sichuan/deyang/templates/govPublicInfo.art +42 -37
  168. package/lib/v2/gov/sichuan/deyang/templates/mztoday.art +6 -0
  169. package/lib/v2/gov/stats/index.js +101 -8
  170. package/lib/v2/gov/stats/templates/description.art +12 -0
  171. package/lib/v2/gxmzu/ai.js +18 -0
  172. package/lib/v2/gxmzu/maintainer.js +4 -0
  173. package/lib/v2/gxmzu/radar.js +21 -0
  174. package/lib/v2/gxmzu/router.js +4 -0
  175. package/lib/v2/gxmzu/utils/index.js +55 -0
  176. package/lib/v2/gxmzu/yjs.js +18 -0
  177. package/lib/v2/gz-cmc/index.js +137 -0
  178. package/lib/v2/gz-cmc/maintainer.js +3 -0
  179. package/lib/v2/gz-cmc/radar.js +12 -0
  180. package/lib/v2/gz-cmc/router.js +3 -0
  181. package/lib/v2/gz-cmc/templates/description.art +3 -0
  182. package/lib/v2/gzdaily/app.js +53 -0
  183. package/lib/v2/gzdaily/maintainer.js +3 -0
  184. package/lib/v2/gzdaily/radar.js +12 -0
  185. package/lib/v2/gzdaily/router.js +3 -0
  186. package/lib/v2/gzdaily/templates/description.art +3 -0
  187. package/lib/v2/hackmd/radar.js +1 -1
  188. package/lib/v2/hk01/channel.js +2 -2
  189. package/lib/v2/hk01/latest.js +20 -0
  190. package/lib/v2/hk01/maintainer.js +1 -0
  191. package/lib/v2/hk01/radar.js +11 -5
  192. package/lib/v2/hk01/router.js +1 -0
  193. package/lib/v2/icac/radar.js +2 -2
  194. package/lib/v2/idolypride/maintainer.js +3 -0
  195. package/lib/v2/idolypride/news.js +29 -0
  196. package/lib/v2/idolypride/radar.js +13 -0
  197. package/lib/v2/idolypride/router.js +3 -0
  198. package/lib/v2/ieee/earlyaccess.js +77 -0
  199. package/lib/v2/ieee/maintainer.js +1 -0
  200. package/lib/v2/ieee/radar.js +6 -0
  201. package/lib/v2/ieee/router.js +2 -1
  202. package/lib/v2/ifi-audio/radar.js +11 -0
  203. package/lib/v2/inoreader/maintainer.js +1 -0
  204. package/lib/v2/inoreader/radar.js +6 -0
  205. package/lib/v2/inoreader/router.js +1 -0
  206. package/lib/v2/inoreader/rss.js +47 -0
  207. package/lib/v2/instructables/maintainer.js +3 -0
  208. package/lib/v2/instructables/projects.js +56 -0
  209. package/lib/v2/instructables/radar.js +19 -0
  210. package/lib/v2/instructables/router.js +3 -0
  211. package/lib/{routes/3k8 → v2/iqnew}/latest.js +19 -12
  212. package/lib/v2/iqnew/maintainer.js +3 -0
  213. package/lib/v2/iqnew/radar.js +13 -0
  214. package/lib/v2/iqnew/router.js +3 -0
  215. package/lib/v2/iwara/radar.js +2 -2
  216. package/lib/v2/jou/home.js +18 -0
  217. package/lib/v2/jou/maintainer.js +4 -0
  218. package/lib/v2/jou/radar.js +21 -0
  219. package/lib/v2/jou/router.js +6 -0
  220. package/lib/v2/jou/utils/index.js +60 -0
  221. package/lib/v2/jou/yz.js +18 -0
  222. package/lib/v2/kunchengblog/essay.js +50 -0
  223. package/lib/v2/kunchengblog/maintainer.js +3 -0
  224. package/lib/v2/kunchengblog/radar.js +13 -0
  225. package/lib/v2/kunchengblog/router.js +3 -0
  226. package/lib/v2/line/maintainer.js +1 -0
  227. package/lib/v2/line/publisher.js +53 -0
  228. package/lib/v2/line/radar.js +8 -2
  229. package/lib/v2/line/router.js +1 -0
  230. package/lib/v2/line/today.js +5 -41
  231. package/lib/v2/line/utils.js +43 -0
  232. package/lib/v2/logonews/router.js +1 -1
  233. package/lib/v2/macmenubar/maintainer.js +3 -0
  234. package/lib/v2/macmenubar/radar.js +13 -0
  235. package/lib/v2/macmenubar/recently.js +47 -0
  236. package/lib/v2/macmenubar/router.js +3 -0
  237. package/lib/v2/mckinsey/maintainer.js +3 -0
  238. package/lib/v2/modelscope/community.js +55 -0
  239. package/lib/v2/modelscope/datasets.js +55 -0
  240. package/lib/v2/modelscope/maintainer.js +6 -0
  241. package/lib/v2/modelscope/models.js +45 -0
  242. package/lib/v2/modelscope/radar.js +33 -0
  243. package/lib/v2/modelscope/router.js +6 -0
  244. package/lib/v2/modelscope/studios.js +57 -0
  245. package/lib/v2/modelscope/templates/community.art +11 -0
  246. package/lib/v2/modelscope/templates/desc.art +9 -0
  247. package/lib/v2/mrdx/radar.js +1 -1
  248. package/lib/v2/natgeo/radar.js +1 -1
  249. package/lib/v2/ncepu/radar.js +1 -1
  250. package/lib/{routes → v2}/newrank/douyin.js +4 -1
  251. package/lib/v2/newrank/maintainer.js +4 -0
  252. package/lib/v2/newrank/radar.js +15 -0
  253. package/lib/v2/newrank/router.js +4 -0
  254. package/lib/v2/newrank/wechat.js +65 -0
  255. package/lib/{routes → v2}/newzmz/index.js +7 -6
  256. package/lib/v2/newzmz/maintainer.js +4 -0
  257. package/lib/v2/newzmz/radar.js +19 -0
  258. package/lib/v2/newzmz/router.js +4 -0
  259. package/lib/{routes → v2}/newzmz/view.js +1 -1
  260. package/lib/v2/nhentai/maintainer.js +4 -0
  261. package/lib/v2/nhentai/other.js +30 -0
  262. package/lib/v2/nhentai/radar.js +19 -0
  263. package/lib/v2/nhentai/router.js +4 -0
  264. package/lib/v2/nhentai/search.js +23 -0
  265. package/lib/v2/nhentai/templates/desc.art +4 -0
  266. package/lib/v2/nhentai/util.js +146 -0
  267. package/lib/v2/nhk/maintainer.js +4 -0
  268. package/lib/v2/nikkei/cn/index.js +3 -2
  269. package/lib/v2/njglyy/maintainer.js +3 -0
  270. package/lib/v2/njglyy/radar.js +13 -0
  271. package/lib/v2/njglyy/router.js +3 -0
  272. package/lib/v2/njglyy/utils/index.js +50 -0
  273. package/lib/v2/njglyy/ygbjypx.js +18 -0
  274. package/lib/v2/njucm/grabs.js +18 -0
  275. package/lib/v2/njucm/maintainer.js +3 -0
  276. package/lib/v2/njucm/radar.js +13 -0
  277. package/lib/v2/njucm/router.js +3 -0
  278. package/lib/v2/njucm/utils/index.js +47 -0
  279. package/lib/v2/njxzc/home.js +13 -53
  280. package/lib/v2/njxzc/lib.js +26 -0
  281. package/lib/v2/njxzc/maintainer.js +1 -0
  282. package/lib/v2/njxzc/radar.js +9 -1
  283. package/lib/v2/njxzc/router.js +3 -1
  284. package/lib/v2/njxzc/utils/index.js +48 -0
  285. package/lib/v2/openai/blog.js +97 -0
  286. package/lib/v2/openai/chatgpt.js +98 -0
  287. package/lib/v2/openai/maintainer.js +3 -0
  288. package/lib/v2/openai/radar.js +27 -0
  289. package/lib/v2/openai/router.js +4 -0
  290. package/lib/v2/openai/templates/article.art +2 -0
  291. package/lib/v2/oshwhub/explore.js +116 -0
  292. package/lib/v2/oshwhub/maintainer.js +3 -0
  293. package/lib/v2/oshwhub/radar.js +16 -0
  294. package/lib/v2/oshwhub/router.js +3 -0
  295. package/lib/v2/oshwhub/templates/description.art +58 -0
  296. package/lib/v2/people/router.js +1 -1
  297. package/lib/v2/pingwest/maintainer.js +5 -0
  298. package/lib/v2/pingwest/radar.js +25 -0
  299. package/lib/v2/pingwest/router.js +5 -0
  300. package/lib/{routes → v2}/pingwest/status.js +12 -5
  301. package/lib/{routes → v2}/pingwest/tag.js +13 -20
  302. package/lib/{routes → v2}/pingwest/user.js +8 -4
  303. package/lib/v2/pingwest/utils.js +92 -0
  304. package/lib/v2/qdu/jwc.js +58 -0
  305. package/lib/v2/qdu/maintainer.js +3 -0
  306. package/lib/v2/qdu/radar.js +13 -0
  307. package/lib/v2/qdu/router.js +3 -0
  308. package/lib/v2/qweather/3days.js +1 -1
  309. package/lib/v2/qweather/maintainer.js +2 -2
  310. package/lib/v2/qweather/now.js +1 -1
  311. package/lib/v2/qweather/radar.js +15 -0
  312. package/lib/v2/readhub/index.js +3 -3
  313. package/lib/v2/readhub/maintainer.js +1 -1
  314. package/lib/v2/sass/gs/index.js +55 -0
  315. package/lib/v2/sass/maintainer.js +3 -0
  316. package/lib/v2/sass/radar.js +13 -0
  317. package/lib/v2/sass/router.js +3 -0
  318. package/lib/v2/segmentfault/channel.js +2 -2
  319. package/lib/v2/sehuatang/index.js +2 -0
  320. package/lib/v2/setn/index.js +100 -0
  321. package/lib/v2/setn/maintainer.js +3 -0
  322. package/lib/v2/setn/radar.js +53 -0
  323. package/lib/v2/setn/router.js +3 -0
  324. package/lib/v2/slowmist/maintainer.js +3 -0
  325. package/lib/v2/southcn/maintainer.js +4 -0
  326. package/lib/v2/southcn/nfapp/column.js +35 -0
  327. package/lib/v2/southcn/nfapp/reporter.js +33 -0
  328. package/lib/v2/southcn/nfapp/utils.js +23 -0
  329. package/lib/v2/southcn/radar.js +12 -0
  330. package/lib/v2/southcn/router.js +4 -0
  331. package/lib/v2/southcn/templates/description.art +6 -0
  332. package/lib/v2/stdaily/digitalpaper.js +125 -0
  333. package/lib/v2/stdaily/maintainer.js +3 -0
  334. package/lib/v2/stdaily/radar.js +11 -0
  335. package/lib/v2/stdaily/router.js +3 -0
  336. package/lib/v2/stdaily/templates/description.art +16 -0
  337. package/lib/v2/studygolang/go.js +5 -0
  338. package/lib/v2/studygolang/jobs.js +3 -33
  339. package/lib/v2/studygolang/maintainer.js +3 -1
  340. package/lib/v2/studygolang/radar.js +14 -2
  341. package/lib/v2/studygolang/router.js +2 -0
  342. package/lib/v2/studygolang/utils.js +74 -0
  343. package/lib/v2/studygolang/weekly.js +7 -0
  344. package/lib/v2/swjtu/jwc.js +67 -0
  345. package/lib/v2/swjtu/maintainer.js +2 -0
  346. package/lib/v2/swjtu/radar.js +16 -0
  347. package/lib/v2/swjtu/router.js +2 -0
  348. package/lib/v2/swjtu/xg.js +79 -0
  349. package/lib/v2/taiwannews/radar.js +1 -1
  350. package/lib/v2/techcrunch/maintainer.js +3 -0
  351. package/lib/v2/techcrunch/news.js +38 -0
  352. package/lib/v2/techcrunch/radar.js +13 -0
  353. package/lib/v2/techcrunch/router.js +3 -0
  354. package/lib/v2/tencent/maintainer.js +1 -0
  355. package/lib/v2/tencent/news/author.js +44 -0
  356. package/lib/v2/tencent/radar.js +7 -1
  357. package/lib/v2/tencent/router.js +1 -0
  358. package/lib/v2/theatlantic/maintainer.js +3 -0
  359. package/lib/v2/theatlantic/news.js +32 -0
  360. package/lib/v2/theatlantic/radar.js +13 -0
  361. package/lib/v2/theatlantic/router.js +3 -0
  362. package/lib/v2/theatlantic/templates/article-description.art +19 -0
  363. package/lib/v2/theatlantic/utils.js +54 -0
  364. package/lib/v2/themoviedb/api-key.js +23 -0
  365. package/lib/v2/themoviedb/collection.js +21 -0
  366. package/lib/v2/themoviedb/episodes.js +27 -0
  367. package/lib/v2/themoviedb/maintainer.js +7 -0
  368. package/lib/v2/themoviedb/radar.js +73 -0
  369. package/lib/v2/themoviedb/router.js +7 -0
  370. package/lib/v2/themoviedb/seasons.js +31 -0
  371. package/lib/v2/themoviedb/sheet.js +45 -0
  372. package/lib/v2/themoviedb/templates/description.art +6 -0
  373. package/lib/v2/themoviedb/trending.js +24 -0
  374. package/lib/v2/themoviedb/utils.js +34 -0
  375. package/lib/v2/tingshuitz/xiaoshan.js +3 -3
  376. package/lib/v2/twitter/utils.js +8 -6
  377. package/lib/v2/ucas/radar.js +33 -0
  378. package/lib/v2/uestc/auto.js +45 -0
  379. package/lib/v2/uestc/cqe.js +60 -0
  380. package/lib/{routes/universities → v2}/uestc/gr.js +14 -12
  381. package/lib/v2/uestc/jwc.js +52 -0
  382. package/lib/v2/uestc/maintainer.js +12 -0
  383. package/lib/v2/uestc/news.js +51 -0
  384. package/lib/v2/uestc/radar.js +69 -0
  385. package/lib/v2/uestc/router.js +12 -0
  386. package/lib/v2/uestc/scse.js +90 -0
  387. package/lib/{routes/universities → v2}/uestc/sice.js +8 -5
  388. package/lib/v2/uestc/sise.js +80 -0
  389. package/lib/v2/uraaka-joshi/radar.js +2 -2
  390. package/lib/v2/ustb/maintainer.js +1 -0
  391. package/lib/v2/ustb/radar.js +8 -0
  392. package/lib/v2/ustb/router.js +1 -0
  393. package/lib/v2/ustb/yzxc/tzgg.js +49 -0
  394. package/lib/v2/vimeo/maintainer.js +5 -0
  395. package/lib/v2/wanqu/maintainer.js +3 -0
  396. package/lib/v2/wanqu/news.js +27 -0
  397. package/lib/v2/wanqu/radar.js +13 -0
  398. package/lib/v2/wanqu/router.js +3 -0
  399. package/lib/v2/wechat/maintainer.js +1 -0
  400. package/lib/v2/wechat/radar.js +17 -0
  401. package/lib/v2/wechat/router.js +1 -0
  402. package/lib/v2/wechat/sogou.js +58 -0
  403. package/lib/v2/wechat/tgchannel.js +5 -5
  404. package/lib/v2/wfdf/maintainer.js +3 -0
  405. package/lib/v2/wfdf/news.js +29 -0
  406. package/lib/v2/wfdf/radar.js +13 -0
  407. package/lib/v2/wfdf/router.js +3 -0
  408. package/lib/v2/wise/radar.js +1 -1
  409. package/lib/v2/wsj/news.js +51 -0
  410. package/lib/v2/wsj/radar.js +2 -2
  411. package/lib/v2/wsj/router.js +1 -1
  412. package/lib/v2/wsj/templates/article-description.art +6 -0
  413. package/lib/v2/wsj/utils.js +121 -0
  414. package/lib/v2/xkb/index.js +54 -0
  415. package/lib/v2/xkb/maintainer.js +3 -0
  416. package/lib/v2/xkb/radar.js +13 -0
  417. package/lib/v2/xkb/router.js +3 -0
  418. package/lib/v2/xkb/templates/description.art +3 -0
  419. package/lib/v2/xmanhua/maintainer.js +3 -0
  420. package/lib/v2/youtube/maintainer.js +1 -0
  421. package/lib/v2/zuvio/maintainer.js +4 -0
  422. package/package.json +24 -23
  423. package/lib/routes/1point3acres/blog.js +0 -52
  424. package/lib/routes/1point3acres/offer.js +0 -211
  425. package/lib/routes/1point3acres/post.js +0 -50
  426. package/lib/routes/go-weekly/index.js +0 -29
  427. package/lib/routes/gov/news/index.js +0 -115
  428. package/lib/routes/newrank/wechat.js +0 -37
  429. package/lib/routes/nhentai/other.js +0 -25
  430. package/lib/routes/nhentai/search.js +0 -16
  431. package/lib/routes/nhentai/util.js +0 -136
  432. package/lib/routes/pingwest/utils.js +0 -76
  433. package/lib/routes/tencent/news/author.js +0 -59
  434. package/lib/routes/universities/uestc/auto.js +0 -113
  435. package/lib/routes/universities/uestc/cqe.js +0 -40
  436. package/lib/routes/universities/uestc/cs.js +0 -119
  437. package/lib/routes/universities/uestc/is.js +0 -102
  438. package/lib/routes/universities/uestc/jwc.js +0 -38
  439. package/lib/routes/universities/uestc/news.js +0 -33
  440. package/lib/utils/torrent.js +0 -163
  441. package/lib/v2/gov/sichuan/deyang/govpulicinfo.js +0 -95
  442. package/lib/v2/gov/stats/templates/attachments.art +0 -5
  443. package/lib/v2/gov/stats/utils.js +0 -75
  444. package/lib/v2/wsj/index.js +0 -141
  445. /package/lib/{routes/1point3acres/posts.js → v2/1point3acres/user/post.js} +0 -0
  446. /package/lib/{routes/1point3acres/threads.js → v2/1point3acres/user/thread.js} +0 -0
  447. /package/lib/{routes → v2}/newrank/utils.js +0 -0
  448. /package/lib/v2/qdaily/{templates/radar.js → radar.js} +0 -0
  449. /package/lib/v2/qweather/{util → templates}/3days.art +0 -0
  450. /package/lib/v2/qweather/{util → templates}/now.art +0 -0
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://i.loli.net/2019/04/23/5cbeb7e41414c.png" alt="RSSHub" width="100">
2
+ <img src="https://docs.rsshub.app/logo.png" alt="RSSHub" width="100">
3
3
  </p>
4
4
  <h1 align="center">RSSHub</h1>
5
5
 
@@ -10,7 +10,8 @@
10
10
  [![docker publish](https://img.shields.io/github/actions/workflow/status/DIYgod/RSSHub/docker-release.yml?branch=master&label=docker%20publish&logo=docker&style=flat-square)](https://hub.docker.com/r/diygod/rsshub)
11
11
  [![test](https://img.shields.io/github/actions/workflow/status/DIYgod/RSSHub/test.yml?branch=master&label=test&logo=github&style=flat-square)](https://github.com/DIYgod/RSSHub/actions/workflows/test.yml?query=event%3Apush+branch%3Amaster)
12
12
  [![Test coverage](https://img.shields.io/codecov/c/github/DIYgod/RSSHub.svg?style=flat-square&logo=codecov)](https://app.codecov.io/gh/DIYgod/RSSHub/branch/master)
13
- [![Foresight Docs](https://api-public.service.runforesight.com/api/v1/badge/success?repoId=5da20e56-cecf-4b05-9bcd-cab097fb2dca)](https://docs.runforesight.com/)
13
+ [![CodeFactor](https://www.codefactor.io/repository/github/diygod/rsshub/badge)](https://www.codefactor.io/repository/github/diygod/rsshub)
14
+ [![DeepScan grade](https://deepscan.io/api/teams/6244/projects/8135/branches/92448/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=6244&pid=8135&bid=92448)
14
15
 
15
16
  ## Introduction
16
17
 
@@ -35,21 +36,9 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
35
36
  ### Special Sponsors
36
37
 
37
38
  <p>
38
- <a href="https://rss3.io/" target="_blank"><img height="60px" src="https://i.imgur.com/vHtI4bz.png"></a>
39
+ <a href="https://rss3.io/" target="_blank"><img height="50px" src="https://i.imgur.com/vHtI4bz.png"></a>
39
40
  </p>
40
41
 
41
- <table width="100%">
42
- <tr>
43
- <td><img width="1000" height="0"><a href="https://www.runforesight.com/?utm_source=RSSHub&utm_medium=sponsorship"><img src="https://www.thundra.io/hubfs/RunForesight/GitHub%20Sponsorship%20banners/github-actions-observability.png"
44
- alt="Foresight" width="260" align="right"></a><h3>Foresight: Increase CI/CD Health & Test Performance</h3><p>
45
- Foresight provides full visibility and deep insights into the health and performance of your tests and CI pipelines. Assess the risk of code changes, deal with flaky tests, see workflow and test trends over time, and improve the contributing experience with Foresight.</p>
46
-
47
- [Sign up now!](https://runforesight.com/?utm_source=RSSHub&utm_medium=sponsorship)
48
-
49
- </td>
50
- </tr>
51
- </table>
52
-
53
42
  [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)
54
43
 
55
44
  ### Contributors
@@ -98,6 +87,7 @@ You can support RSSHub via donations.
98
87
  Recurring donors will be rewarded via express issue response, or even have your name displayed on our GitHub page and website.
99
88
 
100
89
  - Become a Sponser on [GitHub](https://github.com/sponsors/DIYgod)
90
+ - Become a Sponser on [Open Collective](https://opencollective.com/RSSHub)
101
91
  - Become a Sponser on [Patreon](https://www.patreon.com/DIYgod)
102
92
  - Become a Sponser on [爱发电](https://afdian.net/@diygod)
103
93
  - Contact us directly: i@diygod.me
@@ -106,8 +96,8 @@ Recurring donors will be rewarded via express issue response, or even have your
106
96
 
107
97
  We accept donations via the following ways:
108
98
 
109
- - [WeChat Pay](https://diygod.me/images/wx.jpg)
110
- - [Alipay](https://diygod.me/images/zfb.jpg)
99
+ - [WeChat Pay](https://archive.diygod.me/images/wx.jpg)
100
+ - [Alipay](https://archive.diygod.me/images/zfb.jpg)
111
101
  - [Paypal](https://www.paypal.me/DIYgod)
112
102
 
113
103
  ## Author
package/lib/api_router.js CHANGED
@@ -1,11 +1,11 @@
1
1
  const Router = require('@koa/router');
2
2
  const router = new Router();
3
- const maintainer = require('./maintainer');
4
3
 
5
4
  router.get('/routes/:name?', (ctx) => {
6
5
  const result = {};
7
6
  let counter = 0;
8
7
 
8
+ const maintainer = require('./maintainer');
9
9
  Object.keys(maintainer).forEach((i) => {
10
10
  const path = i;
11
11
  const top = path.split('/')[1];
package/lib/config.js CHANGED
@@ -292,6 +292,9 @@ const calculateValue = () => {
292
292
  zodgame: {
293
293
  cookie: envs.ZODGAME_COOKIE,
294
294
  },
295
+ civitai: {
296
+ cookie: envs.CIVITAI_COOKIE,
297
+ },
295
298
  };
296
299
  };
297
300
  calculateValue();
package/lib/maintainer.js CHANGED
@@ -1,4 +1,14 @@
1
1
  const dirname = __dirname + '/v2';
2
+ const fs = require('fs');
3
+ const { join } = require('path');
4
+
5
+ // Presence Check
6
+ for (const dir of fs.readdirSync(dirname)) {
7
+ const dirPath = join(dirname, dir);
8
+ if (!fs.existsSync(join(dirPath, 'maintainer.js'))) {
9
+ throw Error(`No maintainer.js in "${dirPath}".`);
10
+ }
11
+ }
2
12
 
3
13
  // 遍历整个 routes 文件夹,收集模块 maintainer.js
4
14
  const maintainerPath = require('require-all')({
@@ -11,6 +21,21 @@ const maintainers = {};
11
21
  // 将收集到的自定义模块进行合并
12
22
  for (const dir in maintainerPath) {
13
23
  const routes = maintainerPath[dir]['maintainer.js']; // Do not merge other file
24
+
25
+ // typo check e.g., ✘ module.export, ✔ module.exports
26
+ if (!Object.keys(routes).length) {
27
+ throw Error(`No maintainer in "${dir}".`);
28
+ }
29
+ for (const author of Object.values(routes)) {
30
+ if (!Array.isArray(author)) {
31
+ throw Error(`Maintainers' name should be an array in "${dir}".`);
32
+ }
33
+ // check for [], [''] or ['Someone', '']
34
+ if (author.length < 1 || author.includes('')) {
35
+ throw Error(`Empty maintainer in "${dir}".`);
36
+ }
37
+ }
38
+
14
39
  for (const key in routes) {
15
40
  maintainers['/' + dir + key] = routes[key];
16
41
  }
@@ -125,17 +125,6 @@ module.exports = {
125
125
  },
126
126
  ],
127
127
  },
128
- 'epicgames.com': {
129
- _name: 'Epic Games',
130
- www: [
131
- {
132
- title: '每周免费游戏',
133
- docs: 'https://docs.rsshub.app/game.html#epicgames-freegame',
134
- source: '/store/zh-CN/free-games',
135
- target: '/epicgames/freegames',
136
- },
137
- ],
138
- },
139
128
  'playstation.com': {
140
129
  _name: 'PlayStation',
141
130
  store: [
@@ -349,17 +338,6 @@ module.exports = {
349
338
  },
350
339
  ],
351
340
  },
352
- // 'baijingapp.com': {
353
- // _name: '白鲸出海',
354
- // www: [
355
- // {
356
- // title: '文章',
357
- // docs: 'https://docs.rsshub.app/new-media.html#bai-jing-chu-hai',
358
- // source: '',
359
- // target: '/baijing',
360
- // },
361
- // ],
362
- // },
363
341
  'xiaomi.cn': {
364
342
  _name: '小米社区',
365
343
  www: [
@@ -467,36 +445,6 @@ module.exports = {
467
445
  },
468
446
  ],
469
447
  },
470
- 'google.com': {
471
- _name: '谷歌',
472
- chrome: [
473
- {
474
- title: '插件更新',
475
- source: '/webstore/detail/:name/:id',
476
- docs: 'https://docs.rsshub.app/program-update.html#chrome-wang-shang-ying-yong-dian',
477
- target: '/chrome/webstore/extensions/:id',
478
- },
479
- ],
480
- photos: [
481
- {
482
- title: '相册',
483
- docs: 'https://docs.rsshub.app/picture.html#google-xiang-ce',
484
- source: '/share/*',
485
- target: (params, url, document) => {
486
- const id = document && document.querySelector('html').innerHTML.match(/photos.app.goo.gl\/(.*?)"/)[1];
487
- return id ? `/google/album/${id}` : '';
488
- },
489
- },
490
- ],
491
- sites: [
492
- {
493
- title: 'Sites',
494
- docs: 'https://docs.rsshub.app/blog.html#google-sites',
495
- source: ['/site/:id/*', '/site/:id'],
496
- target: '/google/sites/:id',
497
- },
498
- ],
499
- },
500
448
  'hackerone.com': {
501
449
  _name: 'HackerOne',
502
450
  '.': [
@@ -632,35 +580,6 @@ module.exports = {
632
580
  },
633
581
  ],
634
582
  },
635
- // 'nsfc.gov.cn': {
636
- // _name: '国家自然科学基金委员会',
637
- // www: [
638
- // {
639
- // title: '基金要闻',
640
- // docs: 'https://docs.rsshub.app/other.html#guo-jia-zi-ran-ke-xue-ji-jin-wei-yuan-hui',
641
- // source: '/*',
642
- // target: '/nsfc/news/jjyw',
643
- // },
644
- // {
645
- // title: '通知公告',
646
- // docs: 'https://docs.rsshub.app/other.html#guo-jia-zi-ran-ke-xue-ji-jin-wei-yuan-hui',
647
- // source: '/*',
648
- // target: '/nsfc/news/tzgg',
649
- // },
650
- // {
651
- // title: '资助成果',
652
- // docs: 'https://docs.rsshub.app/other.html#guo-jia-zi-ran-ke-xue-ji-jin-wei-yuan-hui',
653
- // source: '/*',
654
- // target: '/nsfc/news/zzcg',
655
- // },
656
- // {
657
- // title: '科普快讯',
658
- // docs: 'https://docs.rsshub.app/other.html#guo-jia-zi-ran-ke-xue-ji-jin-wei-yuan-hui',
659
- // source: '/*',
660
- // target: '/nsfc/news/kpkx',
661
- // },
662
- // ],
663
- // },
664
583
  'japanpost.jp': {
665
584
  _name: '日本郵便',
666
585
  'trackings.post': [
@@ -810,59 +729,6 @@ module.exports = {
810
729
  },
811
730
  ],
812
731
  },
813
- // 'zcool.com.cn': {
814
- // _name: '站酷',
815
- // www: [
816
- // {
817
- // title: '发现',
818
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
819
- // source: '',
820
- // target: '/zcool/discover',
821
- // },
822
- // {
823
- // title: '发现 - 精选 - 全部推荐',
824
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
825
- // source: '',
826
- // target: '/zcool/discover/all',
827
- // },
828
- // {
829
- // title: '发现 - 精选 - 首页推荐',
830
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
831
- // source: '',
832
- // target: '/zcool/discover/home',
833
- // },
834
- // {
835
- // title: '发现 - 精选 - 编辑精选',
836
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
837
- // source: '',
838
- // target: '/zcool/discover/home',
839
- // },
840
- // {
841
- // title: '发现 - 精选 - 文章 - 编辑精选',
842
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
843
- // source: '',
844
- // target: '/zcool/discover/article',
845
- // },
846
- // {
847
- // title: '作品榜单',
848
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
849
- // source: '',
850
- // target: '/zcool/top/design',
851
- // },
852
- // {
853
- // title: '文章榜单',
854
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
855
- // source: '',
856
- // target: '/zcool/top/article',
857
- // },
858
- // {
859
- // title: '用户作品',
860
- // docs: 'https://docs.rsshub.app/design.html#zhan-ku',
861
- // source: ['/u/:id'],
862
- // target: `/zcool/user/:id`,
863
- // },
864
- // ],
865
- // },
866
732
  'zhuixinfan.com': {
867
733
  _name: '追新番日剧站',
868
734
  '.': [
@@ -1410,59 +1276,6 @@ module.exports = {
1410
1276
  },
1411
1277
  ],
1412
1278
  },
1413
- 'e-hentai.org/': {
1414
- _name: 'E-Hentai',
1415
- '.': [
1416
- {
1417
- title: '收藏',
1418
- docs: 'https://docs.rsshub.app/picture.html#ehentai',
1419
- source: '/favorites.php',
1420
- target: '/ehentai/favorites',
1421
- },
1422
- {
1423
- title: '标签',
1424
- docs: 'https://docs.rsshub.app/picture.html#ehentai',
1425
- source: '/tag/:tag',
1426
- target: '/ehentai/tag/:tag',
1427
- },
1428
- {
1429
- title: '搜索',
1430
- docs: 'https://docs.rsshub.app/picture.html#ehentai',
1431
- source: '/',
1432
- target: (params, url) => {
1433
- const keyword = new URL(url).searchParams.toString();
1434
- if (keyword) {
1435
- return `/ehentai/search/${keyword}`;
1436
- }
1437
- },
1438
- },
1439
- ],
1440
- },
1441
- 'iyingdi.com': {
1442
- _name: '旅法师营地',
1443
- www: [
1444
- {
1445
- title: '分区',
1446
- docs: 'https://docs.rsshub.app/game.html#lv-fa-shi-ying-di',
1447
- source: '/tz/tag/:tag',
1448
- target: '/lfsyd/tag/:tag',
1449
- },
1450
- {
1451
- title: '用户发帖',
1452
- docs: 'https://docs.rsshub.app/game.html#lv-fa-shi-ying-di',
1453
- source: ['/tz/people/:id', '/tz/people/:id/*'],
1454
- target: '/lfsyd/user/:id',
1455
- },
1456
- ],
1457
- mob: [
1458
- {
1459
- title: '分区',
1460
- docs: 'https://docs.rsshub.app/game.html#lv-fa-shi-ying-di',
1461
- source: '/fine/:tag',
1462
- target: '/lfsyd/tag/:tag',
1463
- },
1464
- ],
1465
- },
1466
1279
  'macwk.com': {
1467
1280
  _name: 'MacWk',
1468
1281
  '.': [
package/lib/radar.js CHANGED
@@ -1,5 +1,58 @@
1
1
  const dirname = __dirname + '/v2';
2
+ const fs = require('fs');
2
3
  const toSource = require('tosource');
4
+ const { join } = require('path');
5
+
6
+ const allowNamespace = ['ehentai', 'test'];
7
+ // Check if a radar.js file is exist under each folder of dirname
8
+ for (const dir of fs.readdirSync(dirname)) {
9
+ const dirPath = join(dirname, dir);
10
+ if (!fs.existsSync(join(dirPath, 'radar.js')) && !allowNamespace.includes(dir)) {
11
+ throw Error(`No radar.js in "${dirPath}".`);
12
+ }
13
+ }
14
+
15
+ const validateRadarRules = (rule, dir) => {
16
+ const allowDomains = ['www.gov.cn'];
17
+ const blockWords = ['/', 'http', 'www'];
18
+ const domain = Object.keys(rule);
19
+ if (!domain.length && !allowNamespace.includes(dir)) {
20
+ // typo check e.g., ✘ module.export, ✔ module.exports
21
+ throw Error(`No Radar rule in "${dir}".`);
22
+ }
23
+ for (const [d, r] of Object.entries(rule)) {
24
+ if (blockWords.some((word) => d.startsWith(word)) && !allowDomains.includes(d)) {
25
+ throw Error(`Domain name "${d}" should not contain any of ${blockWords.join(', ')}.`);
26
+ }
27
+ if (!r.hasOwnProperty('_name')) {
28
+ throw Error(`No _name in "${dir}".`);
29
+ }
30
+ // property check
31
+ for (const [host, items] of Object.entries(r)) {
32
+ if (host !== '_name') {
33
+ if (!Array.isArray(items)) {
34
+ throw Error(`Radar rules for domain "${host}" in "${dir}" should be placed in an array.`);
35
+ }
36
+ for (const item of items) {
37
+ if (!item.hasOwnProperty('title') || !item.hasOwnProperty('docs')) {
38
+ throw Error(`Radar rules for "${host}" in "${dir}" should have at least "title" and "docs".`);
39
+ }
40
+ if (!item.title || !item.docs) {
41
+ throw Error(`Radar rules for "${host}" in "${dir}" should not be empty.`);
42
+ }
43
+ if (!item.docs.startsWith('https://docs.rsshub.app/')) {
44
+ throw Error(`Radar rules for "${host}" in "${dir}" should start with 'https://docs.rsshub.app/'.`);
45
+ }
46
+ for (const key in item) {
47
+ if (key !== 'title' && key !== 'docs' && key !== 'source' && key !== 'target') {
48
+ throw Error(`Radar rules for "${host}" in "${dir}" should not have property "${key}".`);
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ };
3
56
 
4
57
  const radarRules = require('require-all')({
5
58
  dirname,
@@ -10,6 +63,9 @@ let rules = {};
10
63
 
11
64
  for (const dir in radarRules) {
12
65
  const rule = radarRules[dir]['radar.js']; // Do not merge other file
66
+
67
+ validateRadarRules(rule, dir);
68
+
13
69
  rules = { ...rules, ...rule };
14
70
  }
15
71
 
package/lib/router.js CHANGED
@@ -648,14 +648,14 @@ router.get('/sctu/jwc/:type?', lazyloadRouteHandler('./routes/universities/sctu/
648
648
  router.get('/sctu/jwc/:type/:id', lazyloadRouteHandler('./routes/universities/sctu/jwc/context'));
649
649
 
650
650
  // 电子科技大学
651
- router.get('/uestc/jwc/:type?', lazyloadRouteHandler('./routes/universities/uestc/jwc'));
652
- router.get('/uestc/is/:type?', lazyloadRouteHandler('./routes/universities/uestc/is'));
653
- router.get('/uestc/news/:type?', lazyloadRouteHandler('./routes/universities/uestc/news'));
654
- router.get('/uestc/auto/:type?', lazyloadRouteHandler('./routes/universities/uestc/auto'));
655
- router.get('/uestc/cs/:type?', lazyloadRouteHandler('./routes/universities/uestc/cs'));
656
- router.get('/uestc/cqe/:type?', lazyloadRouteHandler('./routes/universities/uestc/cqe'));
657
- router.get('/uestc/gr', lazyloadRouteHandler('./routes/universities/uestc/gr'));
658
- router.get('/uestc/sice', lazyloadRouteHandler('./routes/universities/uestc/sice'));
651
+ // router.get('/uestc/jwc/:type?', lazyloadRouteHandler('./routes/universities/uestc/jwc'));
652
+ // router.get('/uestc/is/:type?', lazyloadRouteHandler('./routes/universities/uestc/is'));
653
+ // router.get('/uestc/news/:type?', lazyloadRouteHandler('./routes/universities/uestc/news'));
654
+ // router.get('/uestc/auto/:type?', lazyloadRouteHandler('./routes/universities/uestc/auto'));
655
+ // router.get('/uestc/cs/:type?', lazyloadRouteHandler('./routes/universities/uestc/cs'));
656
+ // router.get('/uestc/cqe/:type?', lazyloadRouteHandler('./routes/universities/uestc/cqe'));
657
+ // router.get('/uestc/gr', lazyloadRouteHandler('./routes/universities/uestc/gr'));
658
+ // router.get('/uestc/sice', lazyloadRouteHandler('./routes/universities/uestc/sice'));
659
659
 
660
660
  // 西北农林科技大学
661
661
  router.get('/nwafu/news', lazyloadRouteHandler('./routes/universities/nwafu/news'));
@@ -929,8 +929,8 @@ router.get('/chouti/:subject?', lazyloadRouteHandler('./routes/chouti'));
929
929
  router.get('/westore/new', lazyloadRouteHandler('./routes/westore/new'));
930
930
 
931
931
  // nHentai
932
- router.get('/nhentai/search/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/search'));
933
- router.get('/nhentai/:key/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/other'));
932
+ // router.get('/nhentai/search/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/search'));
933
+ // router.get('/nhentai/:key/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/other'));
934
934
 
935
935
  // 龙腾网
936
936
  router.get('/ltaaa/:category?', lazyloadRouteHandler('./routes/ltaaa/index'));
@@ -1177,7 +1177,7 @@ router.get('/cyzone/label/:name', lazyloadRouteHandler('./routes/cyzone/label'))
1177
1177
  router.get('/gov/province/:name/:category', lazyloadRouteHandler('./routes/gov/province'));
1178
1178
  router.get('/gov/city/:name/:category', lazyloadRouteHandler('./routes/gov/city'));
1179
1179
  router.get('/gov/statecouncil/briefing', lazyloadRouteHandler('./routes/gov/statecouncil/briefing'));
1180
- router.get('/gov/news/:uid', lazyloadRouteHandler('./routes/gov/news'));
1180
+ // router.get('/gov/news/:uid', lazyloadRouteHandler('./routes/gov/news'));
1181
1181
  router.get('/gov/shuju/:caty/:item', lazyloadRouteHandler('./routes/gov/shuju'));
1182
1182
  router.get('/gov/xinwen/tujie/:caty', lazyloadRouteHandler('./routes/gov/xinwen/tujie'));
1183
1183
 
@@ -1506,11 +1506,11 @@ router.get('/bupt/funbox', lazyloadRouteHandler('./routes/universities/bupt/funb
1506
1506
  // router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
1507
1507
 
1508
1508
  // 一亩三分地 1point3acres
1509
- router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
1510
- router.get('/1point3acres/user/:id/threads', lazyloadRouteHandler('./routes/1point3acres/threads'));
1511
- router.get('/1point3acres/user/:id/posts', lazyloadRouteHandler('./routes/1point3acres/posts'));
1512
- router.get('/1point3acres/offer/:year?/:major?/:school?', lazyloadRouteHandler('./routes/1point3acres/offer'));
1513
- router.get('/1point3acres/post/:category', lazyloadRouteHandler('./routes/1point3acres/post'));
1509
+ // router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
1510
+ // router.get('/1point3acres/user/:id/threads', lazyloadRouteHandler('./routes/1point3acres/threads'));
1511
+ // router.get('/1point3acres/user/:id/posts', lazyloadRouteHandler('./routes/1point3acres/posts'));
1512
+ // router.get('/1point3acres/offer/:year?/:major?/:school?', lazyloadRouteHandler('./routes/1point3acres/offer'));
1513
+ // router.get('/1point3acres/post/:category', lazyloadRouteHandler('./routes/1point3acres/post'));
1514
1514
 
1515
1515
  // 广东海洋大学
1516
1516
  router.get('/gdoujwc', lazyloadRouteHandler('./routes/universities/gdou/jwc/jwtz'));
@@ -1943,9 +1943,9 @@ router.get('/japanpost/track/:reqCode/:locale?', lazyloadRouteHandler('./routes/
1943
1943
  // router.get('/mofcom/article/:suffix', lazyloadRouteHandler('./routes/mofcom/article'));
1944
1944
 
1945
1945
  // 品玩
1946
- router.get('/pingwest/status', lazyloadRouteHandler('./routes/pingwest/status'));
1947
- router.get('/pingwest/tag/:tag/:type', lazyloadRouteHandler('./routes/pingwest/tag'));
1948
- router.get('/pingwest/user/:uid/:type?', lazyloadRouteHandler('./routes/pingwest/user'));
1946
+ // router.get('/pingwest/status', lazyloadRouteHandler('./routes/pingwest/status'));
1947
+ // router.get('/pingwest/tag/:tag/:type/:option?', lazyloadRouteHandler('./routes/pingwest/tag'));
1948
+ // router.get('/pingwest/user/:uid/:type?/:option?', lazyloadRouteHandler('./routes/pingwest/user'));
1949
1949
 
1950
1950
  // Hanime
1951
1951
  router.get('/hanime/video', lazyloadRouteHandler('./routes/hanime/video'));
@@ -2044,8 +2044,8 @@ router.get('/nciae/xsxx', lazyloadRouteHandler('./routes/universities/nciae/xsxx
2044
2044
  // cfan
2045
2045
  router.get('/cfan/news', lazyloadRouteHandler('./routes/cfan/news'));
2046
2046
 
2047
- // 腾讯企鹅号
2048
- router.get('/tencent/news/author/:mid', lazyloadRouteHandler('./routes/tencent/news/author'));
2047
+ // 腾讯企鹅号 migrated to v2
2048
+ // router.get('/tencent/news/author/:mid', lazyloadRouteHandler('./routes/tencent/news/author'));
2049
2049
 
2050
2050
  // 奈菲影视
2051
2051
  router.get('/nfmovies/:id?', lazyloadRouteHandler('./routes/nfmovies/index'));
@@ -2938,7 +2938,7 @@ router.get('/missevan/drama/latest', lazyloadRouteHandler('./routes/missevan/lat
2938
2938
  router.get('/missevan/drama/:id', lazyloadRouteHandler('./routes/missevan/drama'));
2939
2939
 
2940
2940
  // Go语言爱好者周刊
2941
- router.get('/go-weekly', lazyloadRouteHandler('./routes/go-weekly'));
2941
+ // router.get('/go-weekly', lazyloadRouteHandler('./routes/go-weekly'));
2942
2942
 
2943
2943
  // popiask提问箱
2944
2944
  router.get('/popiask/:sharecode/:pagesize?', lazyloadRouteHandler('./routes/popiask/questions'));
@@ -3005,8 +3005,8 @@ router.get('/liequtv/room/:id', lazyloadRouteHandler('./routes/liequtv/room'));
3005
3005
  router.get('/bwu/news', lazyloadRouteHandler('./routes/universities/bwu/news'));
3006
3006
 
3007
3007
  // 新榜
3008
- router.get('/newrank/wechat/:wxid', lazyloadRouteHandler('./routes/newrank/wechat'));
3009
- router.get('/newrank/douyin/:dyid', lazyloadRouteHandler('./routes/newrank/douyin'));
3008
+ // router.get('/newrank/wechat/:wxid', lazyloadRouteHandler('./routes/newrank/wechat'));
3009
+ // router.get('/newrank/douyin/:dyid', lazyloadRouteHandler('./routes/newrank/douyin'));
3010
3010
 
3011
3011
  // 漫小肆
3012
3012
  router.get('/manxiaosi/book/:id', lazyloadRouteHandler('./routes/manxiaosi/book'));
@@ -3083,8 +3083,8 @@ router.get('/nasa/apod-ncku', lazyloadRouteHandler('./routes/nasa/apod-ncku'));
3083
3083
  router.get('/nasa/apod-cn', lazyloadRouteHandler('./routes/nasa/apod-cn'));
3084
3084
 
3085
3085
  // 爱Q生活网
3086
- router.get('/iqshw/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3087
- router.get('/3k8/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3086
+ // router.get('/iqshw/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3087
+ // router.get('/3k8/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3088
3088
 
3089
3089
  // JustRun
3090
3090
  router.get('/justrun', lazyloadRouteHandler('./routes/justrun/index'));
@@ -3419,9 +3419,6 @@ router.get('/blizzard/news/:language?/:category?', lazyloadRouteHandler('./route
3419
3419
  // DeepL
3420
3420
  router.get('/deepl/blog/:lang?', lazyloadRouteHandler('./routes/deepl/blog'));
3421
3421
 
3422
- // OpenAI
3423
- router.get('/openai/blog/:tag?', lazyloadRouteHandler('./routes/openai/blog'));
3424
-
3425
3422
  // 小木虫
3426
3423
  router.get('/muchong/journal/:type?', lazyloadRouteHandler('./routes/muchong/journal'));
3427
3424
  router.get('/muchong/:id/:type?/:sort?', lazyloadRouteHandler('./routes/muchong/index'));
@@ -3639,7 +3636,7 @@ router.get('/voa/day-photos', lazyloadRouteHandler('./routes/voa/day-photos'));
3639
3636
  router.get('/voa/:language/:channel?', lazyloadRouteHandler('./routes/voa/index'));
3640
3637
 
3641
3638
  // 留园网
3642
- router.get('/6park/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/6park/index'));
3639
+ // router.get('/6park/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/6park/index'));
3643
3640
 
3644
3641
  // 哔嘀影视
3645
3642
  // router.get('/mp4er/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
@@ -3699,14 +3696,14 @@ router.get('/gab/user/:username', lazyloadRouteHandler('./routes/gab/user'));
3699
3696
  router.get('/gab/popular/:sort?', lazyloadRouteHandler('./routes/gab/explore'));
3700
3697
 
3701
3698
  // NEW 字幕组
3702
- router.get('/newzmz/view/:id', lazyloadRouteHandler('./routes/newzmz/view'));
3703
- router.get('/newzmz/:category?', lazyloadRouteHandler('./routes/newzmz/index'));
3699
+ // router.get('/newzmz/view/:id', lazyloadRouteHandler('./routes/newzmz/view'));
3700
+ // router.get('/newzmz/:category?', lazyloadRouteHandler('./routes/newzmz/index'));
3704
3701
 
3705
3702
  // Phrack Magazine
3706
3703
  router.get('/phrack', lazyloadRouteHandler('./routes/phrack/index'));
3707
3704
 
3708
3705
  // 通識·現代中國
3709
- router.get('/chiculture/topic/:category?', lazyloadRouteHandler('./routes/chiculture/topic'));
3706
+ // router.get('/chiculture/topic/:category?', lazyloadRouteHandler('./routes/chiculture/topic'));
3710
3707
 
3711
3708
  // CQUT News
3712
3709
  router.get('/cqut/news', lazyloadRouteHandler('./routes/universities/cqut/cqut-news'));
@@ -9,7 +9,7 @@ module.exports = async (ctx) => {
9
9
  });
10
10
 
11
11
  const items = response.data
12
- .replace(/\t\n|\t\n\n/g, '\n\n')
12
+ .replace(/\t\n\n|\t\n/g, '\n\n')
13
13
  .split('\n\n')
14
14
  .map((item) => {
15
15
  item = item.indexOf('\n') === 0 ? item.substr(2, item.length - 2) : item;
@@ -0,0 +1,4 @@
1
+ <p>{{ introduction }}</p>
2
+ {{ each images image }}
3
+ <img src="{{ image }}">
4
+ {{ /each }}
@@ -1,6 +1,8 @@
1
1
  const got = require('@/utils/got');
2
2
  const cheerio = require('cheerio');
3
3
  const { parseDate } = require('@/utils/parse-date');
4
+ const { art } = require('@/utils/render');
5
+ const path = require('path');
4
6
 
5
7
  const rootUrl = 'https://jmcomic.me';
6
8
  // list of address: https://jmcomic1.bet
@@ -23,7 +25,7 @@ module.exports = {
23
25
  return {
24
26
  title: item.text().trim(),
25
27
  link: `${rootUrl}${item.prev().find('a').attr('href')}`,
26
- guid: `https://18comic.org${item.prev().find('a').attr('href')}`,
28
+ guid: `18comic:${item.prev().find('a').attr('href')}`,
27
29
  };
28
30
  });
29
31
 
@@ -46,10 +48,12 @@ module.exports = {
46
48
  .toArray()
47
49
  .map((a) => $(a).text())
48
50
  .join(', ');
49
- item.description = `<p>${content('#intro-block .p-t-5').text()}</p><img src="${content('.img_zoom_img img')
50
- .toArray()
51
- .map((image) => content(image).attr('data-original'))
52
- .join('"><img src="')}">`;
51
+ item.description = art(path.join(__dirname, 'templates/description.art'), {
52
+ introduction: content('#intro-block .p-t-5').text(),
53
+ images: content('.img_zoom_img img')
54
+ .toArray()
55
+ .map((image) => content(image).attr('data-original')),
56
+ });
53
57
 
54
58
  return item;
55
59
  })