rsshub 1.0.0-master.b8acfdb → 1.0.0-master.b9bcf4f

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 (385) hide show
  1. package/README.md +1 -1
  2. package/lib/config.js +6 -0
  3. package/lib/middleware/parameter.js +3 -3
  4. package/lib/radar-rules.js +0 -68
  5. package/lib/router.js +47 -55
  6. package/lib/routes/aeon/category.js +18 -27
  7. package/lib/routes/bookwalkertw/news.js +2 -2
  8. package/lib/routes/ccdi/scdc.js +10 -6
  9. package/lib/routes/coolapk/utils.js +2 -0
  10. package/lib/routes/copymanga/comic.js +3 -2
  11. package/lib/routes/dilbert/strip.js +7 -4
  12. package/lib/routes/douban/people/status.js +10 -5
  13. package/lib/routes/dykszx/news.js +5 -2
  14. package/lib/routes/futunn/highlights.js +39 -37
  15. package/lib/routes/gamer/gnn_index.js +1 -1
  16. package/lib/routes/gelonghui/user.js +1 -1
  17. package/lib/routes/gov/fmprc/fyrbt.js +1 -1
  18. package/lib/routes/hackerone/hacktivity.js +16 -14
  19. package/lib/routes/hexo/fluid.js +45 -0
  20. package/lib/routes/kbs/today.js +56 -0
  21. package/lib/routes/manhuagui/comic.js +74 -28
  22. package/lib/routes/mhgui/comic.js +74 -28
  23. package/lib/routes/ncm/playlist.js +2 -0
  24. package/lib/routes/ncm/userplayrecords.js +6 -2
  25. package/lib/routes/novel/axdzs.js +22 -12
  26. package/lib/routes/novel/biquge.js +1 -1
  27. package/lib/routes/picuki/profile.js +53 -14
  28. package/lib/routes/t66y/index.js +4 -4
  29. package/lib/routes/tencent/wechat/tgchannel.js +47 -10
  30. package/lib/routes/twmanhuagui/comic.js +74 -28
  31. package/lib/routes/vgn/index.js +1 -1
  32. package/lib/routes/weibo/super_index.js +2 -1
  33. package/lib/routes/weibo/user.js +26 -2
  34. package/lib/routes/youzhiyouxing/materials.js +29 -0
  35. package/lib/v2/423down/index.js +114 -0
  36. package/lib/v2/423down/maintainer.js +3 -0
  37. package/lib/v2/423down/radar.js +193 -0
  38. package/lib/v2/423down/router.js +3 -0
  39. package/lib/v2/acm-ecnu/contest.js +44 -0
  40. package/lib/v2/acm-ecnu/maintainer.js +3 -0
  41. package/lib/v2/acm-ecnu/radar.js +19 -0
  42. package/lib/v2/acm-ecnu/router.js +3 -0
  43. package/lib/v2/acm-ecnu/templates/description.art +3 -0
  44. package/lib/v2/agirls/index.js +71 -0
  45. package/lib/v2/agirls/maintainer.js +5 -0
  46. package/lib/v2/agirls/radar.js +25 -0
  47. package/lib/v2/agirls/router.js +5 -0
  48. package/lib/v2/agirls/templates/description.art +1 -0
  49. package/lib/v2/agirls/topic.js +71 -0
  50. package/lib/v2/agirls/topic_list.js +44 -0
  51. package/lib/v2/ahjzu/maintainer.js +3 -0
  52. package/lib/v2/ahjzu/news.js +57 -0
  53. package/lib/v2/ahjzu/radar.js +13 -0
  54. package/lib/v2/ahjzu/router.js +3 -0
  55. package/lib/v2/ajmide/index.js +29 -0
  56. package/lib/v2/ajmide/maintainer.js +3 -0
  57. package/lib/v2/ajmide/radar.js +16 -0
  58. package/lib/v2/ajmide/router.js +3 -0
  59. package/lib/v2/appledaily/index.js +69 -0
  60. package/lib/v2/appledaily/maintainer.js +3 -0
  61. package/lib/v2/appledaily/radar.js +157 -0
  62. package/lib/v2/appledaily/router.js +3 -0
  63. package/lib/v2/appledaily/templates/content.art +7 -0
  64. package/lib/v2/atcoder/contest.js +64 -0
  65. package/lib/v2/atcoder/maintainer.js +4 -0
  66. package/lib/v2/atcoder/post.js +38 -0
  67. package/lib/v2/atcoder/radar.js +22 -0
  68. package/lib/v2/atcoder/router.js +4 -0
  69. package/lib/v2/baozimh/index.js +49 -0
  70. package/lib/v2/baozimh/maintainer.js +3 -0
  71. package/lib/v2/baozimh/radar.js +13 -0
  72. package/lib/v2/baozimh/router.js +3 -0
  73. package/lib/v2/barronschina/index.js +70 -0
  74. package/lib/v2/barronschina/maintainer.js +3 -0
  75. package/lib/v2/barronschina/radar.js +13 -0
  76. package/lib/v2/barronschina/router.js +3 -0
  77. package/lib/v2/bendibao/maintainer.js +3 -0
  78. package/lib/{routes → v2}/bendibao/news.js +39 -22
  79. package/lib/v2/bendibao/radar.js +13 -0
  80. package/lib/v2/bendibao/router.js +3 -0
  81. package/lib/v2/blockbeats/index.js +50 -0
  82. package/lib/v2/blockbeats/maintainer.js +3 -0
  83. package/lib/v2/blockbeats/radar.js +19 -0
  84. package/lib/v2/blockbeats/router.js +3 -0
  85. package/lib/v2/cbirc/index.js +119 -0
  86. package/lib/v2/cbirc/maintainer.js +3 -0
  87. package/lib/v2/cbirc/radar.js +13 -0
  88. package/lib/v2/cbirc/router.js +3 -0
  89. package/lib/v2/cde/index.js +132 -0
  90. package/lib/v2/cde/maintainer.js +3 -0
  91. package/lib/v2/cde/radar.js +43 -0
  92. package/lib/v2/cde/router.js +3 -0
  93. package/lib/v2/cde/utils.js +20 -0
  94. package/lib/v2/chaoxing/maintainer.js +3 -0
  95. package/lib/v2/chaoxing/qk.js +59 -0
  96. package/lib/v2/chaoxing/radar.js +13 -0
  97. package/lib/v2/chaoxing/router.js +3 -0
  98. package/lib/v2/chaoxing/templates/description.art +3 -0
  99. package/lib/v2/cnbeta/index.js +15 -0
  100. package/lib/v2/cnbeta/maintainer.js +5 -0
  101. package/lib/v2/cnbeta/radar.js +25 -0
  102. package/lib/v2/cnbeta/router.js +4 -0
  103. package/lib/v2/cnbeta/type.js +42 -0
  104. package/lib/v2/cnbeta/utils.js +27 -0
  105. package/lib/v2/cnki/debut.js +62 -0
  106. package/lib/v2/cnki/journals.js +74 -0
  107. package/lib/v2/cnki/maintainer.js +4 -0
  108. package/lib/v2/cnki/radar.js +19 -0
  109. package/lib/v2/cnki/router.js +4 -0
  110. package/lib/v2/cnki/templates/desc.art +5 -0
  111. package/lib/v2/codeforces/contests.js +37 -0
  112. package/lib/v2/codeforces/maintainer.js +3 -0
  113. package/lib/v2/codeforces/radar.js +13 -0
  114. package/lib/v2/codeforces/router.js +3 -0
  115. package/lib/v2/codeforces/templates/contest.art +11 -0
  116. package/lib/{routes → v2}/cool18/index.js +17 -13
  117. package/lib/v2/cool18/maintainer.js +3 -0
  118. package/lib/v2/cool18/radar.js +13 -0
  119. package/lib/v2/cool18/router.js +3 -0
  120. package/lib/v2/cpcey/index.js +60 -0
  121. package/lib/v2/cpcey/maintainer.js +3 -0
  122. package/lib/v2/cpcey/radar.js +27 -0
  123. package/lib/v2/cpcey/router.js +3 -0
  124. package/lib/v2/cqwu/index.js +46 -0
  125. package/lib/v2/cqwu/maintainer.js +3 -0
  126. package/lib/v2/cqwu/radar.js +27 -0
  127. package/lib/v2/cqwu/router.js +3 -0
  128. package/lib/v2/ddosi/category.js +42 -0
  129. package/lib/v2/ddosi/index.js +41 -0
  130. package/lib/v2/ddosi/maintainer.js +4 -0
  131. package/lib/v2/ddosi/radar.js +19 -0
  132. package/lib/v2/ddosi/router.js +4 -0
  133. package/lib/{routes/everything → v2}/eventernote/actors.js +0 -0
  134. package/lib/v2/eventernote/maintainer.js +3 -0
  135. package/lib/v2/eventernote/radar.js +13 -0
  136. package/lib/v2/eventernote/router.js +3 -0
  137. package/lib/v2/filmdeepfocus/index.js +58 -0
  138. package/lib/v2/filmdeepfocus/maintainer.js +3 -0
  139. package/lib/v2/filmdeepfocus/radar.js +13 -0
  140. package/lib/v2/filmdeepfocus/router.js +3 -0
  141. package/lib/v2/firefox/index.js +69 -0
  142. package/lib/v2/firefox/maintainer.js +3 -0
  143. package/lib/v2/firefox/radar.js +13 -0
  144. package/lib/v2/firefox/router.js +3 -0
  145. package/lib/v2/firefox/templates/description.art +5 -0
  146. package/lib/v2/fortunechina/index.js +70 -0
  147. package/lib/v2/fortunechina/maintainer.js +3 -0
  148. package/lib/v2/fortunechina/radar.js +13 -0
  149. package/lib/v2/fortunechina/router.js +3 -0
  150. package/lib/{routes → v2}/ft/channel.js +1 -0
  151. package/lib/v2/ft/maintainer.js +4 -0
  152. package/lib/v2/ft/myft.js +44 -0
  153. package/lib/v2/ft/radar.js +24 -0
  154. package/lib/v2/ft/router.js +4 -0
  155. package/lib/{routes → v2}/ft/utils.js +19 -19
  156. package/lib/{routes → v2}/gamer/hot.js +15 -4
  157. package/lib/v2/gamer/maintainer.js +3 -0
  158. package/lib/v2/gamer/radar.js +13 -0
  159. package/lib/v2/gamer/router.js +3 -0
  160. package/lib/v2/gamersecret/index.js +60 -0
  161. package/lib/v2/gamersecret/maintainer.js +3 -0
  162. package/lib/v2/gamersecret/radar.js +31 -0
  163. package/lib/v2/gamersecret/router.js +3 -0
  164. package/lib/v2/github/comments.js +64 -0
  165. package/lib/v2/github/maintainer.js +3 -0
  166. package/lib/v2/github/radar.js +13 -0
  167. package/lib/v2/github/router.js +3 -0
  168. package/lib/v2/github/templates/comments-description.art +1 -0
  169. package/lib/v2/gov/beijing/kw/index.js +44 -0
  170. package/lib/v2/gov/guangdong/tqyb/sncsyjxh.js +37 -0
  171. package/lib/v2/gov/guangdong/tqyb/templates/sncsyjxh.art +5 -0
  172. package/lib/v2/gov/guangdong/tqyb/templates/tfxtq.art +1 -0
  173. package/lib/v2/gov/guangdong/tqyb/tfxtq.js +30 -0
  174. package/lib/v2/gov/maintainer.js +8 -0
  175. package/lib/v2/gov/radar.js +325 -0
  176. package/lib/v2/gov/router.js +8 -0
  177. package/lib/v2/gov/shanghai/rsj/ksxm.js +39 -0
  178. package/lib/v2/gov/shanghai/rsj/templates/ksxm.art +7 -0
  179. package/lib/v2/gov/shenzhen/hrss/szksy/index.js +41 -0
  180. package/lib/v2/gov/shenzhen/zzb/index.js +40 -0
  181. package/lib/v2/guduodata/daily.js +63 -0
  182. package/lib/v2/guduodata/maintainer.js +3 -0
  183. package/lib/v2/guduodata/radar.js +13 -0
  184. package/lib/v2/guduodata/router.js +3 -0
  185. package/lib/v2/guduodata/templates/daily.art +26 -0
  186. package/lib/v2/hackernews/index.js +97 -0
  187. package/lib/v2/hackernews/maintainer.js +3 -0
  188. package/lib/v2/hackernews/radar.js +13 -0
  189. package/lib/v2/hackernews/router.js +3 -0
  190. package/lib/v2/heu/job/list.js +2 -2
  191. package/lib/v2/hex-rays/index.js +47 -0
  192. package/lib/v2/hex-rays/maintainer.js +3 -0
  193. package/lib/v2/hex-rays/radar.js +13 -0
  194. package/lib/v2/hex-rays/router.js +3 -0
  195. package/lib/v2/hkepc/index.js +198 -0
  196. package/lib/v2/hkepc/maintainer.js +3 -0
  197. package/lib/v2/hkepc/radar.js +19 -0
  198. package/lib/v2/hkepc/router.js +3 -0
  199. package/lib/v2/hkepc/templates/description.art +1 -0
  200. package/lib/v2/hkepc/templates/image.art +1 -0
  201. package/lib/v2/ithome/zt.js +9 -1
  202. package/lib/v2/iwara/index.js +42 -0
  203. package/lib/v2/iwara/maintainer.js +3 -0
  204. package/lib/v2/iwara/radar.js +19 -0
  205. package/lib/v2/iwara/router.js +3 -0
  206. package/lib/v2/jandan/index.js +60 -0
  207. package/lib/v2/jandan/maintainer.js +4 -0
  208. package/lib/v2/jandan/radar.js +19 -0
  209. package/lib/v2/jandan/router.js +4 -0
  210. package/lib/v2/jandan/section.js +49 -0
  211. package/lib/v2/jandan/templates/description.art +4 -0
  212. package/lib/v2/kemono/index.js +99 -0
  213. package/lib/v2/kemono/maintainer.js +4 -0
  214. package/lib/v2/kemono/radar.js +13 -0
  215. package/lib/v2/kemono/router.js +3 -0
  216. package/lib/v2/knowmedia/index.js +38 -0
  217. package/lib/v2/knowmedia/maintainer.js +3 -0
  218. package/lib/v2/knowmedia/radar.js +31 -0
  219. package/lib/v2/knowmedia/router.js +3 -0
  220. package/lib/v2/knowmedia/templates/desc.art +3 -0
  221. package/lib/v2/lanqiao/author.js +63 -0
  222. package/lib/v2/lanqiao/courses.js +45 -0
  223. package/lib/v2/lanqiao/maintainer.js +5 -0
  224. package/lib/v2/lanqiao/questions.js +52 -0
  225. package/lib/v2/lanqiao/radar.js +25 -0
  226. package/lib/v2/lanqiao/router.js +5 -0
  227. package/lib/v2/lanqiao/templates/courseDesc.art +1 -0
  228. package/lib/v2/lanqiao/utils.js +12 -0
  229. package/lib/v2/lativ/index.js +42 -0
  230. package/lib/v2/lativ/maintainer.js +3 -0
  231. package/lib/v2/lativ/radar.js +13 -0
  232. package/lib/v2/lativ/router.js +3 -0
  233. package/lib/v2/lativ/templates/detail.art +9 -0
  234. package/lib/v2/learnku/maintainer.js +3 -0
  235. package/lib/v2/learnku/radar.js +13 -0
  236. package/lib/v2/learnku/router.js +3 -0
  237. package/lib/v2/learnku/templates/topic.art +14 -0
  238. package/lib/v2/learnku/topic.js +72 -0
  239. package/lib/v2/leiphone/index.js +25 -0
  240. package/lib/v2/leiphone/maintainer.js +5 -0
  241. package/lib/v2/leiphone/newsflash.js +19 -0
  242. package/lib/v2/leiphone/radar.js +25 -0
  243. package/lib/v2/leiphone/router.js +4 -0
  244. package/lib/v2/leiphone/utils.js +41 -0
  245. package/lib/v2/line/maintainer.js +3 -0
  246. package/lib/v2/line/radar.js +13 -0
  247. package/lib/v2/line/router.js +3 -0
  248. package/lib/v2/line/today.js +80 -0
  249. package/lib/v2/logonews/index.js +76 -0
  250. package/lib/v2/logonews/maintainer.js +8 -0
  251. package/lib/v2/logonews/radar.js +43 -0
  252. package/lib/v2/logonews/router.js +5 -0
  253. package/lib/v2/logonews/templates/description.art +4 -0
  254. package/lib/v2/medsci/index.js +67 -0
  255. package/lib/v2/medsci/maintainer.js +3 -0
  256. package/lib/v2/medsci/radar.js +13 -0
  257. package/lib/v2/medsci/router.js +3 -0
  258. package/lib/v2/mvm/index.js +6 -6
  259. package/lib/{routes → v2}/neea/index.js +0 -0
  260. package/lib/v2/neea/jlpt.js +52 -0
  261. package/lib/v2/neea/maintainer.js +4 -0
  262. package/lib/v2/neea/radar.js +13 -0
  263. package/lib/v2/neea/router.js +4 -0
  264. package/lib/v2/netease/maintainer.js +1 -0
  265. package/lib/v2/netease/radar.js +10 -2
  266. package/lib/v2/netease/router.js +1 -0
  267. package/lib/v2/netease/today.js +55 -0
  268. package/lib/v2/nifd/maintainer.js +3 -0
  269. package/lib/v2/nifd/radar.js +117 -0
  270. package/lib/v2/nifd/research.js +52 -0
  271. package/lib/v2/nifd/router.js +3 -0
  272. package/lib/v2/nikkei-cn/index.js +77 -0
  273. package/lib/v2/nikkei-cn/maintainer.js +3 -0
  274. package/lib/v2/nikkei-cn/radar.js +21 -0
  275. package/lib/v2/nikkei-cn/router.js +3 -0
  276. package/lib/v2/nju/gra.js +31 -0
  277. package/lib/v2/nju/jw.js +45 -0
  278. package/lib/v2/nju/maintainer.js +8 -0
  279. package/lib/v2/nju/radar.js +53 -0
  280. package/lib/v2/nju/rczp.js +38 -0
  281. package/lib/v2/nju/router.js +8 -0
  282. package/lib/v2/nju/scit.js +36 -0
  283. package/lib/v2/nju/zbb.js +81 -0
  284. package/lib/v2/nju/zcc.js +48 -0
  285. package/lib/v2/nodejs/blog.js +60 -0
  286. package/lib/v2/nodejs/maintainer.js +3 -0
  287. package/lib/v2/nodejs/radar.js +13 -0
  288. package/lib/v2/nodejs/router.js +3 -0
  289. package/lib/v2/now/maintainer.js +3 -0
  290. package/lib/v2/now/news.js +66 -0
  291. package/lib/v2/now/radar.js +13 -0
  292. package/lib/v2/now/router.js +3 -0
  293. package/lib/{routes → v2}/odaily/activity.js +7 -6
  294. package/lib/v2/odaily/maintainer.js +6 -0
  295. package/lib/{routes → v2}/odaily/newsflash.js +4 -3
  296. package/lib/{routes → v2}/odaily/post.js +16 -10
  297. package/lib/v2/odaily/radar.js +60 -0
  298. package/lib/v2/odaily/router.js +6 -0
  299. package/lib/{routes → v2}/odaily/user.js +8 -7
  300. package/lib/v2/odaily/utils.js +3 -0
  301. package/lib/v2/people/index.js +83 -0
  302. package/lib/v2/people/maintainer.js +3 -0
  303. package/lib/v2/people/radar.js +9 -1
  304. package/lib/v2/people/router.js +3 -0
  305. package/lib/{routes → v2}/people/xjpjh.js +0 -0
  306. package/lib/v2/qidiantu/index.js +87 -0
  307. package/lib/v2/qidiantu/maintainer.js +4 -0
  308. package/lib/v2/qidiantu/radar.js +19 -0
  309. package/lib/v2/qidiantu/router.js +3 -0
  310. package/lib/v2/ruc/hr.js +22 -16
  311. package/lib/v2/shmeea/index.js +44 -0
  312. package/lib/v2/shmeea/maintainer.js +3 -0
  313. package/lib/v2/shmeea/radar.js +13 -0
  314. package/lib/v2/shmeea/router.js +3 -0
  315. package/lib/v2/ssm/maintainer.js +3 -0
  316. package/lib/v2/ssm/news.js +38 -0
  317. package/lib/v2/ssm/radar.js +13 -0
  318. package/lib/v2/ssm/router.js +3 -0
  319. package/lib/v2/ssm/templates/news.art +1 -0
  320. package/lib/v2/swissinfo/index.js +1 -0
  321. package/lib/{routes → v2}/telegram/blog.js +3 -3
  322. package/lib/{routes → v2}/telegram/channel.js +2 -1
  323. package/lib/v2/telegram/maintainer.js +5 -0
  324. package/lib/v2/telegram/radar.js +35 -0
  325. package/lib/v2/telegram/router.js +5 -0
  326. package/lib/{routes → v2}/telegram/stickerpack.js +0 -0
  327. package/lib/v2/topys/index.js +66 -0
  328. package/lib/v2/topys/maintainer.js +3 -0
  329. package/lib/v2/topys/radar.js +13 -0
  330. package/lib/v2/topys/router.js +3 -0
  331. package/lib/v2/ucas/index.js +59 -0
  332. package/lib/v2/ucas/maintainer.js +3 -0
  333. package/lib/v2/ucas/rader.js +47 -0
  334. package/lib/v2/ucas/router.js +3 -0
  335. package/lib/v2/uibe/hr.js +19 -15
  336. package/lib/v2/ulapia/index.js +47 -0
  337. package/lib/v2/ulapia/maintainer.js +3 -0
  338. package/lib/v2/ulapia/radar.js +55 -0
  339. package/lib/v2/ulapia/research.js +38 -0
  340. package/lib/v2/ulapia/router.js +4 -0
  341. package/lib/v2/wallstreetcn/live.js +40 -0
  342. package/lib/v2/wallstreetcn/maintainer.js +5 -0
  343. package/lib/v2/wallstreetcn/news.js +61 -0
  344. package/lib/v2/wallstreetcn/radar.js +19 -0
  345. package/lib/v2/wallstreetcn/router.js +5 -0
  346. package/lib/{routes → v2}/wenku8/chapter.js +0 -0
  347. package/lib/v2/wenku8/index.js +52 -0
  348. package/lib/v2/wenku8/maintainer.js +5 -0
  349. package/lib/v2/wenku8/radar.js +85 -0
  350. package/lib/v2/wenku8/router.js +5 -0
  351. package/lib/{routes → v2}/wenku8/volume.js +0 -0
  352. package/lib/v2/xaut/index.js +72 -0
  353. package/lib/v2/xaut/jwc.js +65 -0
  354. package/lib/v2/xaut/maintainer.js +5 -0
  355. package/lib/v2/xaut/radar.js +23 -0
  356. package/lib/v2/xaut/router.js +5 -0
  357. package/lib/v2/xaut/rsc.js +67 -0
  358. package/lib/v2/zaker/index.js +65 -0
  359. package/lib/v2/zaker/maintainer.js +3 -0
  360. package/lib/v2/zaker/radar.js +19 -0
  361. package/lib/v2/zaker/router.js +3 -0
  362. package/lib/v2/zjgtjy/index.js +46 -0
  363. package/lib/v2/zjgtjy/maintainer.js +3 -0
  364. package/lib/v2/zjgtjy/radar.js +31 -0
  365. package/lib/v2/zjgtjy/router.js +3 -0
  366. package/package.json +1 -1
  367. package/lib/routes/cnbeta/home.js +0 -53
  368. package/lib/routes/cnbeta/topic.js +0 -75
  369. package/lib/routes/ft/myft.js +0 -46
  370. package/lib/routes/hackernews/story.js +0 -60
  371. package/lib/routes/hex-rays/index.js +0 -28
  372. package/lib/routes/hkepc/index.js +0 -164
  373. package/lib/routes/jandan/article.js +0 -62
  374. package/lib/routes/jandan/pic.js +0 -89
  375. package/lib/routes/learnku/topic.js +0 -53
  376. package/lib/routes/medsci/recommend.js +0 -51
  377. package/lib/routes/people/cpc/24h.js +0 -52
  378. package/lib/routes/people/env.js +0 -73
  379. package/lib/routes/people/opinion.js +0 -69
  380. package/lib/routes/topys/article.js +0 -55
  381. package/lib/routes/universities/cqwu/news.js +0 -39
  382. package/lib/routes/wallstreetcn/live.js +0 -44
  383. package/lib/routes/wallstreetcn/news.js +0 -33
  384. package/lib/routes/zaker/focusread.js +0 -65
  385. package/lib/routes/zaker/source.js +0 -66
package/README.md CHANGED
@@ -37,7 +37,7 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
37
37
 
38
38
  ### Sponsors
39
39
 
40
- [Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
40
+ [Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://wineso.me/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
41
41
 
42
42
  [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)
43
43
 
package/lib/config.js CHANGED
@@ -92,6 +92,9 @@ const calculateValue = () => {
92
92
  zhihu: {
93
93
  cookies: envs.ZHIHU_COOKIES,
94
94
  },
95
+ ncm: {
96
+ cookies: envs.NCM_COOKIES || '',
97
+ },
95
98
  puppeteerWSEndpoint: envs.PUPPETEER_WS_ENDPOINT,
96
99
  loggerLevel: envs.LOGGER_LEVEL || 'info',
97
100
  proxyUri: envs.PROXY_URI,
@@ -205,6 +208,9 @@ const calculateValue = () => {
205
208
  infzm: {
206
209
  cookie: envs.INFZM_COOKIE,
207
210
  },
211
+ wenku8: {
212
+ cookie: envs.WENKU8_COOKIE,
213
+ },
208
214
  };
209
215
  };
210
216
  calculateValue();
@@ -112,7 +112,7 @@ module.exports = async (ctx, next) => {
112
112
  $ele.removeAttr(e);
113
113
  });
114
114
  });
115
- item.description = entities.decodeXML($('body').html() + '') + (config.suffix || '');
115
+ item.description = $('body').html() + '' + (config.suffix || '');
116
116
  }
117
117
  return item;
118
118
  };
@@ -235,8 +235,8 @@ module.exports = async (ctx, next) => {
235
235
  // opencc
236
236
  if (ctx.query.opencc) {
237
237
  ctx.state.data.item.forEach((item) => {
238
- item.title = simplecc(item.title, ctx.query.opencc);
239
- item.description = simplecc(item.description, ctx.query.opencc);
238
+ item.title = simplecc(item.title ?? item.link, ctx.query.opencc);
239
+ item.description = simplecc(item.description ?? item.title ?? item.link, ctx.query.opencc);
240
240
  });
241
241
  }
242
242
 
@@ -1540,16 +1540,6 @@ module.exports = {
1540
1540
  },
1541
1541
  ],
1542
1542
  },
1543
- 'beijing.gov.cn': {
1544
- wjw: [
1545
- {
1546
- title: '北京卫生健康委员会',
1547
- docs: 'https://docs.rsshub.app/government.html#bei-jing-shi-wei-sheng-jian-kang-wei-yuan-hui',
1548
- source: '/xwzx_20031/:caty',
1549
- target: '/gov/beijing/mhc/:caty',
1550
- },
1551
- ],
1552
- },
1553
1543
  'ynu.edu.cn': {
1554
1544
  _name: '云南大学',
1555
1545
  home: [
@@ -1993,28 +1983,6 @@ module.exports = {
1993
1983
  },
1994
1984
  ],
1995
1985
  },
1996
- 't.me': {
1997
- _name: 'Telegram',
1998
- '.': [
1999
- {
2000
- title: '频道',
2001
- docs: 'https://docs.rsshub.app/social-media.html#telegram',
2002
- source: '/:username',
2003
- target: (params, url, document) => {
2004
- const isChannel = document && document.querySelector('.tgme_action_button_label');
2005
- if (isChannel) {
2006
- return '/telegram/channel/:username';
2007
- }
2008
- },
2009
- },
2010
- {
2011
- title: '频道',
2012
- docs: 'https://docs.rsshub.app/social-media.html#telegram',
2013
- source: '/s/:username',
2014
- target: '/telegram/channel/:username',
2015
- },
2016
- ],
2017
- },
2018
1986
  'zhuixinfan.com': {
2019
1987
  _name: '追新番日剧站',
2020
1988
  '.': [
@@ -2708,17 +2676,6 @@ module.exports = {
2708
2676
  },
2709
2677
  ],
2710
2678
  },
2711
- 'eventernote.com': {
2712
- _name: 'Eventernote',
2713
- www: [
2714
- {
2715
- title: '声优活动及演唱会',
2716
- docs: 'https://docs.rsshub.app/anime.html#eventernote',
2717
- source: '/actors/:name/:id/events',
2718
- target: '/eventernote/actors/:name/:id',
2719
- },
2720
- ],
2721
- },
2722
2679
  'instagram.com': {
2723
2680
  _name: 'Instagram',
2724
2681
  www: [
@@ -2799,31 +2756,6 @@ module.exports = {
2799
2756
  },
2800
2757
  ],
2801
2758
  },
2802
- 'cqwu.net': {
2803
- _name: '重庆文理学院',
2804
- www: [
2805
- {
2806
- title: '通知',
2807
- docs: 'https://docs.rsshub.app/university.html#chong-qing-wen-li-xue-yuan',
2808
- source: '/:type',
2809
- target: (params) => {
2810
- if (params.type === 'channel_7721.html') {
2811
- return '/cqwu/news/notify';
2812
- }
2813
- },
2814
- },
2815
- {
2816
- title: '学术活动',
2817
- docs: 'https://docs.rsshub.app/university.html#chong-qing-wen-li-xue-yuan',
2818
- source: '/:type',
2819
- target: (params) => {
2820
- if (params.type === 'channel_7722.html') {
2821
- return '/cqwu/news/academiceve';
2822
- }
2823
- },
2824
- },
2825
- ],
2826
- },
2827
2759
  'trakt.tv': {
2828
2760
  _name: 'Trakt.tv',
2829
2761
  '.': [
package/lib/router.js CHANGED
@@ -89,7 +89,7 @@ router.get('/twreporter/category/:cid', lazyloadRouteHandler('./routes/twreporte
89
89
  router.get('/weibo/user/:uid/:routeParams?', lazyloadRouteHandler('./routes/weibo/user'));
90
90
  router.get('/weibo/keyword/:keyword/:routeParams?', lazyloadRouteHandler('./routes/weibo/keyword'));
91
91
  router.get('/weibo/search/hot', lazyloadRouteHandler('./routes/weibo/search/hot'));
92
- router.get('/weibo/super_index/:id/:routeParams?', lazyloadRouteHandler('./routes/weibo/super_index'));
92
+ router.get('/weibo/super_index/:id/:type?/:routeParams?', lazyloadRouteHandler('./routes/weibo/super_index'));
93
93
  router.get('/weibo/oasis/user/:userid', lazyloadRouteHandler('./routes/weibo/oasis/user'));
94
94
 
95
95
  // 贴吧
@@ -194,8 +194,8 @@ router.get('/douban/celebrity/:id/:sort?', lazyloadRouteHandler('./routes/douban
194
194
  router.get('/plainlaw/archives', lazyloadRouteHandler('./routes/plainlaw/archives.js'));
195
195
 
196
196
  // 煎蛋
197
- router.get('/jandan/article', lazyloadRouteHandler('./routes/jandan/article'));
198
- router.get('/jandan/:sub_model', lazyloadRouteHandler('./routes/jandan/pic'));
197
+ // router.get('/jandan/article', lazyloadRouteHandler('./routes/jandan/article'));
198
+ // router.get('/jandan/:sub_model', lazyloadRouteHandler('./routes/jandan/pic'));
199
199
 
200
200
  // 喷嚏
201
201
  router.get('/dapenti/tugua', lazyloadRouteHandler('./routes/dapenti/tugua'));
@@ -269,11 +269,6 @@ router.get('/v2ex/topics/:type', lazyloadRouteHandler('./routes/v2ex/topics'));
269
269
  router.get('/v2ex/post/:postid', lazyloadRouteHandler('./routes/v2ex/post'));
270
270
  router.get('/v2ex/tab/:tabid', lazyloadRouteHandler('./routes/v2ex/tab'));
271
271
 
272
- // Telegram
273
- router.get('/telegram/channel/:username/:searchQuery?', lazyloadRouteHandler('./routes/telegram/channel'));
274
- router.get('/telegram/stickerpack/:name', lazyloadRouteHandler('./routes/telegram/stickerpack'));
275
- router.get('/telegram/blog', lazyloadRouteHandler('./routes/telegram/blog'));
276
-
277
272
  // readhub
278
273
  router.get('/readhub/category/:category', lazyloadRouteHandler('./routes/readhub/category'));
279
274
 
@@ -406,6 +401,7 @@ router.get('/tuicool/mags/:type', lazyloadRouteHandler('./routes/tuicool/mags'))
406
401
  // Hexo
407
402
  router.get('/hexo/next/:url', lazyloadRouteHandler('./routes/hexo/next'));
408
403
  router.get('/hexo/yilia/:url', lazyloadRouteHandler('./routes/hexo/yilia'));
404
+ router.get('/hexo/fluid/:url', lazyloadRouteHandler('./routes/hexo/fluid'));
409
405
 
410
406
  // cpython
411
407
  router.get('/cpython/:pre?', lazyloadRouteHandler('./routes/cpython'));
@@ -511,7 +507,7 @@ router.get('/wechat/csm/:id', lazyloadRouteHandler('./routes/tencent/wechat/csm'
511
507
  router.get('/wechat/ce/:id', lazyloadRouteHandler('./routes/tencent/wechat/ce'));
512
508
  router.get('/wechat/announce', lazyloadRouteHandler('./routes/tencent/wechat/announce'));
513
509
  router.get('/wechat/miniprogram/plugins', lazyloadRouteHandler('./routes/tencent/wechat/miniprogram/plugins'));
514
- router.get('/wechat/tgchannel/:id', lazyloadRouteHandler('./routes/tencent/wechat/tgchannel'));
510
+ router.get('/wechat/tgchannel/:id/:mpName?', lazyloadRouteHandler('./routes/tencent/wechat/tgchannel'));
515
511
  router.get('/wechat/uread/:userid', lazyloadRouteHandler('./routes/tencent/wechat/uread'));
516
512
  router.get('/wechat/ershicimi/:id', lazyloadRouteHandler('./routes/tencent/wechat/ershcimi'));
517
513
  router.get('/wechat/wjdn/:id', lazyloadRouteHandler('./routes/tencent/wechat/wjdn'));
@@ -719,9 +715,6 @@ router.get('/cqu/youth/:category', lazyloadRouteHandler('./routes/universities/c
719
715
  router.get('/cqu/sci/:category', lazyloadRouteHandler('./routes/universities/cqu/sci/info'));
720
716
  router.get('/cqu/net/:category', lazyloadRouteHandler('./routes/universities/cqu/net/info'));
721
717
 
722
- // 重庆文理学院
723
- router.get('/cqwu/news/:type?', lazyloadRouteHandler('./routes/universities/cqwu/news'));
724
-
725
718
  // 南京信息工程大学
726
719
  router.get('/nuist/bulletin/:category?', lazyloadRouteHandler('./routes/universities/nuist/bulletin'));
727
720
  router.get('/nuist/jwc/:category?', lazyloadRouteHandler('./routes/universities/nuist/jwc'));
@@ -990,9 +983,9 @@ router.get('/nhk/news_web_easy', lazyloadRouteHandler('./routes/nhk/news_web_eas
990
983
  // BBC
991
984
  router.get('/bbc/:site?/:channel?', lazyloadRouteHandler('./routes/bbc/index'));
992
985
 
993
- // Financial Times
994
- router.get('/ft/myft/:key', lazyloadRouteHandler('./routes/ft/myft'));
995
- router.get('/ft/:language/:channel?', lazyloadRouteHandler('./routes/ft/channel'));
986
+ // Financial Times migrated to v2
987
+ // router.get('/ft/myft/:key', lazyloadRouteHandler('./routes/ft/myft'));
988
+ // router.get('/ft/:language/:channel?', lazyloadRouteHandler('./routes/ft/channel'));
996
989
 
997
990
  // The Verge
998
991
  router.get('/verge', lazyloadRouteHandler('./routes/verge/index'));
@@ -1121,9 +1114,11 @@ router.get('/eeo/:column?/:category?', lazyloadRouteHandler('./routes/eeo/index'
1121
1114
  router.get('/tencentvideo/playlist/:id', lazyloadRouteHandler('./routes/tencent/video/playlist'));
1122
1115
 
1123
1116
  // 看漫画
1124
- router.get('/manhuagui/comic/:id', lazyloadRouteHandler('./routes/manhuagui/comic'));
1125
- router.get('/mhgui/comic/:id', lazyloadRouteHandler('./routes/mhgui/comic'));
1126
- router.get('/twmanhuagui/comic/:id', lazyloadRouteHandler('./routes/twmanhuagui/comic'));
1117
+ router.get('/manhuagui/comic/:id/:chapterCnt?', lazyloadRouteHandler('./routes/manhuagui/comic'));
1118
+ router.get('/mhgui/comic/:id/:chapterCnt?', lazyloadRouteHandler('./routes/mhgui/comic'));
1119
+ router.get('/twmanhuagui/comic/:id/:chapterCnt?', lazyloadRouteHandler('./routes/twmanhuagui/comic'));
1120
+ // 拷贝漫画
1121
+ router.get('/copymanga/comic/:id/:chapterCnt?', lazyloadRouteHandler('./routes/copymanga/comic'));
1127
1122
 
1128
1123
  // 拷贝漫画
1129
1124
  router.get('/copymanga/comic/:id', lazyloadRouteHandler('./routes/copymanga/comic'));
@@ -1286,8 +1281,8 @@ router.get('/taobao/zhongchou/:type?', lazyloadRouteHandler('./routes/taobao/zho
1286
1281
  router.get('/allpoetry/:order?', lazyloadRouteHandler('./routes/allpoetry/order'));
1287
1282
 
1288
1283
  // 华尔街见闻
1289
- router.get('/wallstreetcn/news/global', lazyloadRouteHandler('./routes/wallstreetcn/news'));
1290
- router.get('/wallstreetcn/live/:channel?', lazyloadRouteHandler('./routes/wallstreetcn/live'));
1284
+ // router.get('/wallstreetcn/news/global', lazyloadRouteHandler('./routes/wallstreetcn/news'));
1285
+ // router.get('/wallstreetcn/live/:channel?', lazyloadRouteHandler('./routes/wallstreetcn/live'));
1291
1286
 
1292
1287
  // 多抓鱼搜索
1293
1288
  router.get('/duozhuayu/search/:wd', lazyloadRouteHandler('./routes/duozhuayu/search'));
@@ -1424,10 +1419,6 @@ router.get('/woshipm/latest', lazyloadRouteHandler('./routes/woshipm/latest'));
1424
1419
  // 高清电台
1425
1420
  router.get('/gaoqing/latest', lazyloadRouteHandler('./routes/gaoqing/latest'));
1426
1421
 
1427
- // 轻小说文库
1428
- router.get('/wenku8/chapter/:id', lazyloadRouteHandler('./routes/wenku8/chapter'));
1429
- router.get('/wenku8/volume/:id', lazyloadRouteHandler('./routes/wenku8/volume'));
1430
-
1431
1422
  // 鲸跃汽车
1432
1423
  router.get('/whalegogo/home', lazyloadRouteHandler('./routes/whalegogo/home'));
1433
1424
  router.get('/whalegogo/portal/:type_id/:tagid?', lazyloadRouteHandler('./routes/whalegogo/portal'));
@@ -1438,7 +1429,7 @@ router.get('/aisixiang/ranking/:type?/:range?', lazyloadRouteHandler('./routes/a
1438
1429
  router.get('/aisixiang/thinktank/:name/:type?', lazyloadRouteHandler('./routes/aisixiang/thinktank'));
1439
1430
 
1440
1431
  // Hacker News
1441
- router.get('/hackernews/:section/:type?', lazyloadRouteHandler('./routes/hackernews/story'));
1432
+ // router.get('/hackernews/:section/:type?', lazyloadRouteHandler('./routes/hackernews/story'));
1442
1433
 
1443
1434
  // LeetCode
1444
1435
  router.get('/leetcode/articles', lazyloadRouteHandler('./routes/leetcode/articles'));
@@ -1562,11 +1553,11 @@ router.get('/dianping/user/:id?', lazyloadRouteHandler('./routes/dianping/user')
1562
1553
  router.get('/banyuetan/byt/:time?', lazyloadRouteHandler('./routes/banyuetan/byt'));
1563
1554
  router.get('/banyuetan/:name', lazyloadRouteHandler('./routes/banyuetan'));
1564
1555
 
1565
- // 人民日报
1566
- router.get('/people/opinion/:id', lazyloadRouteHandler('./routes/people/opinion'));
1567
- router.get('/people/env/:id', lazyloadRouteHandler('./routes/people/env'));
1568
- router.get('/people/xjpjh/:keyword?/:year?', lazyloadRouteHandler('./routes/people/xjpjh'));
1569
- router.get('/people/cpc/24h', lazyloadRouteHandler('./routes/people/cpc/24h'));
1556
+ // 人民网
1557
+ // router.get('/people/opinion/:id', lazyloadRouteHandler('./routes/people/opinion'));
1558
+ // router.get('/people/env/:id', lazyloadRouteHandler('./routes/people/env'));
1559
+ // router.get('/people/xjpjh/:keyword?/:year?', lazyloadRouteHandler('./routes/people/xjpjh'));
1560
+ // router.get('/people/cpc/24h', lazyloadRouteHandler('./routes/people/cpc/24h'));
1570
1561
 
1571
1562
  // 北极星电力网
1572
1563
  router.get('/bjx/huanbao', lazyloadRouteHandler('./routes/bjx/huanbao'));
@@ -1615,9 +1606,9 @@ router.get('/checkee/:dispdate', lazyloadRouteHandler('./routes/checkee/index'))
1615
1606
  // 艾瑞
1616
1607
  router.get('/iresearch/report', lazyloadRouteHandler('./routes/iresearch/report'));
1617
1608
 
1618
- // ZAKER
1619
- router.get('/zaker/:type/:id', lazyloadRouteHandler('./routes/zaker/source'));
1620
- router.get('/zaker/focusread', lazyloadRouteHandler('./routes/zaker/focusread'));
1609
+ // ZAKER migrated to v2
1610
+ // router.get('/zaker/:type/:id', lazyloadRouteHandler('./routes/zaker/source'));
1611
+ // router.get('/zaker/focusread', lazyloadRouteHandler('./routes/zaker/focusread'));
1621
1612
 
1622
1613
  // Matters
1623
1614
  router.get('/matters/latest/:type?', lazyloadRouteHandler('./routes/matters/latest'));
@@ -1824,8 +1815,8 @@ router.get('/maoyan/upcoming', lazyloadRouteHandler('./routes/maoyan/upcoming'))
1824
1815
  router.get('/maoyan/hotComplete/:orderby?/:ascOrDesc?/:top?', lazyloadRouteHandler('./routes/maoyan/hotComplete'));
1825
1816
 
1826
1817
  // cnBeta
1827
- router.get('/cnbeta', lazyloadRouteHandler('./routes/cnbeta/home'));
1828
- router.get('/cnbeta/topic/:topic_id', lazyloadRouteHandler('./routes/cnbeta/topic'));
1818
+ // router.get('/cnbeta', lazyloadRouteHandler('./routes/cnbeta/home'));
1819
+ // router.get('/cnbeta/topic/:topic_id', lazyloadRouteHandler('./routes/cnbeta/topic'));
1829
1820
 
1830
1821
  // 国家退伍士兵信息
1831
1822
  router.get('/gov/veterans/:type', lazyloadRouteHandler('./routes/gov/veterans/china'));
@@ -1887,7 +1878,7 @@ router.get('/flyertea/creditcard/:bank', lazyloadRouteHandler('./routes/flyertea
1887
1878
  router.get('/radio/:channelname/:name', lazyloadRouteHandler('./routes/radio/radio'));
1888
1879
 
1889
1880
  // TOPYS
1890
- router.get('/topys/:category', lazyloadRouteHandler('./routes/topys/article'));
1881
+ // router.get('/topys/:category', lazyloadRouteHandler('./routes/topys/article'));
1891
1882
 
1892
1883
  // 巴比特作者专栏
1893
1884
  router.get('/8btc/:authorid', lazyloadRouteHandler('./routes/8btc/author'));
@@ -2130,6 +2121,8 @@ router.get('/weidian/goods/:id', lazyloadRouteHandler('./routes/weidian/goods'))
2130
2121
 
2131
2122
  // 有赞
2132
2123
  router.get('/youzan/goods/:id', lazyloadRouteHandler('./routes/youzan/goods'));
2124
+ // 有知有行
2125
+ router.get('/youzhiyouxing/materials', lazyloadRouteHandler('./routes/youzhiyouxing/materials'));
2133
2126
  // 币世界快讯
2134
2127
  router.get('/bishijie/kuaixun', lazyloadRouteHandler('./routes/bishijie/kuaixun'));
2135
2128
 
@@ -2513,8 +2506,8 @@ router.get('/galaxylab', lazyloadRouteHandler('./routes/galaxylab/index'));
2513
2506
  // NOSEC 安全讯息平台
2514
2507
  router.get('/nosec/:keykind?', lazyloadRouteHandler('./routes/nosec/index'));
2515
2508
 
2516
- // Hex-Rays News
2517
- router.get('/hex-rays/news', lazyloadRouteHandler('./routes/hex-rays/index'));
2509
+ // Hex-Rays News migrated to v2
2510
+ // router.get('/hex-rays/news', lazyloadRouteHandler('./routes/hex-rays/index'));
2518
2511
 
2519
2512
  // 新趣集
2520
2513
  router.get('/xinquji/today', lazyloadRouteHandler('./routes/xinquji/today'));
@@ -2603,6 +2596,8 @@ router.get('/ifeng/feng/:id/:type', lazyloadRouteHandler('./routes/ifeng/feng'))
2603
2596
  router.get('/novel/d1bz/:category/:id', lazyloadRouteHandler('./routes/d1bz/novel'));
2604
2597
 
2605
2598
  // 爱下电子书
2599
+ router.get('/axdzs/:novel', lazyloadRouteHandler('./routes/novel/axdzs'));
2600
+ // deprecated
2606
2601
  router.get('/axdzs/:id1/:id2', lazyloadRouteHandler('./routes/novel/axdzs'));
2607
2602
 
2608
2603
  // HackerOne
@@ -2681,11 +2676,8 @@ router.get('/krankenkassen', lazyloadRouteHandler('./routes/krankenkassen'));
2681
2676
  // 桂林航天工业学院
2682
2677
  router.get('/guat/news/:type?', lazyloadRouteHandler('./routes/guat/news'));
2683
2678
 
2684
- // LearnKu
2685
- router.get('/learnku/:community/:category?', lazyloadRouteHandler('./routes/learnku/topic'));
2686
-
2687
2679
  // NEEA
2688
- router.get('/neea/:type', lazyloadRouteHandler('./routes/neea'));
2680
+ // router.get('/neea/:type', lazyloadRouteHandler('./routes/neea'));
2689
2681
 
2690
2682
  // 中国农业大学
2691
2683
  router.get('/cauyjs', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
@@ -2873,7 +2865,7 @@ router.get('/ptpress/book/:type?', lazyloadRouteHandler('./routes/ptpress/book')
2873
2865
  router.get('/uniqlo/stylingbook/:category?', lazyloadRouteHandler('./routes/uniqlo/stylingbook'));
2874
2866
 
2875
2867
  // 本地宝焦点资讯
2876
- router.get('/bendibao/news/:city', lazyloadRouteHandler('./routes/bendibao/news'));
2868
+ // router.get('/bendibao/news/:city', lazyloadRouteHandler('./routes/bendibao/news'));
2877
2869
 
2878
2870
  // unit-image
2879
2871
  router.get('/unit-image/films/:type?', lazyloadRouteHandler('./routes/unit-image/films'));
@@ -3396,8 +3388,8 @@ router.get('/appsales/:caty?/:time?', lazyloadRouteHandler('./routes/appsales/in
3396
3388
  // Academy of Management
3397
3389
  router.get('/aom/journal/:id', lazyloadRouteHandler('./routes/aom/journal'));
3398
3390
 
3399
- // 巴哈姆特電玩資訊站
3400
- router.get('/gamer/hot/:bsn', lazyloadRouteHandler('./routes/gamer/hot'));
3391
+ // 巴哈姆特電玩資訊站 migrated to v2
3392
+ // router.get('/gamer/hot/:bsn', lazyloadRouteHandler('./routes/gamer/hot'));
3401
3393
 
3402
3394
  // iCity
3403
3395
  router.get('/icity/:id', lazyloadRouteHandler('./routes/icity/index'));
@@ -3467,9 +3459,6 @@ router.get('/npc/:caty', lazyloadRouteHandler('./routes/npc/index'));
3467
3459
  // 高科技行业门户
3468
3460
  router.get('/ofweek/news', lazyloadRouteHandler('./routes/ofweek/news'));
3469
3461
 
3470
- // eventernote
3471
- router.get('/eventernote/actors/:name/:id', lazyloadRouteHandler('./routes/eventernote/actors'));
3472
-
3473
3462
  // 八阕
3474
3463
  router.get('/popyard/:caty?', lazyloadRouteHandler('./routes/popyard/index'));
3475
3464
 
@@ -3735,7 +3724,7 @@ router.get('/proletar/:type?/:id?', lazyloadRouteHandler('./routes/proletar/inde
3735
3724
  router.get('/qttabbar/change-log', lazyloadRouteHandler('./routes/qttabbar/change-log'));
3736
3725
 
3737
3726
  // 酷18
3738
- router.get('/cool18/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/cool18/index'));
3727
+ // router.get('/cool18/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/cool18/index'));
3739
3728
 
3740
3729
  // 美国贸易代表办公室
3741
3730
  router.get('/ustr/press-releases/:year?/:month?', lazyloadRouteHandler('./routes/us/ustr/press-releases'));
@@ -4109,8 +4098,8 @@ router.get('/ehentai/tag/:tag/:page?/:bittorrent?', lazyloadRouteHandler('./rout
4109
4098
  // 字型故事
4110
4099
  router.get('/fontstory', lazyloadRouteHandler('./routes/fontstory/tw'));
4111
4100
 
4112
- // HKEPC
4113
- router.get('/hkepc/:category?', lazyloadRouteHandler('./routes/hkepc/index'));
4101
+ // HKEPC migrated to v2
4102
+ // router.get('/hkepc/:category?', lazyloadRouteHandler('./routes/hkepc/index'));
4114
4103
 
4115
4104
  // 海南大学
4116
4105
  router.get('/hainanu/ssszs', lazyloadRouteHandler('./routes/hainanu/ssszs'));
@@ -4241,10 +4230,10 @@ router.get('/questmobile/report/:category?/:label?', lazyloadRouteHandler('./rou
4241
4230
  router.get('/rss3/blog', lazyloadRouteHandler('./routes/rss3/blog'));
4242
4231
 
4243
4232
  // 星球日报
4244
- router.get('/odaily/activity', lazyloadRouteHandler('./routes/odaily/activity'));
4245
- router.get('/odaily/newsflash', lazyloadRouteHandler('./routes/odaily/newsflash'));
4246
- router.get('/odaily/user/:id', lazyloadRouteHandler('./routes/odaily/user'));
4247
- router.get('/odaily/:id?', lazyloadRouteHandler('./routes/odaily/post'));
4233
+ // router.get('/odaily/activity', lazyloadRouteHandler('./routes/odaily/activity'));
4234
+ // router.get('/odaily/newsflash', lazyloadRouteHandler('./routes/odaily/newsflash'));
4235
+ // router.get('/odaily/user/:id', lazyloadRouteHandler('./routes/odaily/user'));
4236
+ // router.get('/odaily/:id?', lazyloadRouteHandler('./routes/odaily/post'));
4248
4237
 
4249
4238
  // Fashion Network
4250
4239
  router.get('/fashionnetwork/news/:sectors?/:categories?/:language?', lazyloadRouteHandler('./routes/fashionnetwork/news.js'));
@@ -4261,4 +4250,7 @@ router.get('/fashionnetwork/headline/:country?', lazyloadRouteHandler('./routes/
4261
4250
 
4262
4251
  // Deprecated: DO NOT ADD ROUTE HERE
4263
4252
 
4253
+ // KBS
4254
+ router.get('/kbs/today/:language?', lazyloadRouteHandler('./routes/kbs/today'));
4255
+
4264
4256
  module.exports = router;
@@ -6,15 +6,15 @@ module.exports = async (ctx) => {
6
6
 
7
7
  const res = await got.get(url);
8
8
  const $ = cheerio.load(res.data);
9
- const list = $('.article-card').get();
9
+ const list = $('.cYolgs > a').get();
10
10
 
11
11
  const out = await Promise.all(
12
12
  list.map(async (item) => {
13
13
  const $ = cheerio.load(item);
14
- const title = $('.article-card__title').text();
15
- const partial = $('.article-card__title').attr('href');
14
+ const title = $('.styled__Title-sc-14lmmht-10').text();
15
+ const partial = $('a').attr('href');
16
16
  const address = `https://aeon.co${partial}`;
17
- const author = $('.article-card__authors__inner').text();
17
+ const author = $('.styled__Author-sc-14lmmht-12').text();
18
18
 
19
19
  const cache = await ctx.cache.get(address);
20
20
  if (cache) {
@@ -23,7 +23,7 @@ module.exports = async (ctx) => {
23
23
 
24
24
  const res = await got.get(address);
25
25
  const capture = cheerio.load(res.data);
26
- const time = capture('.article__date.published').text();
26
+ const time = capture('.article__PublishedDate-br4ey4-14').text();
27
27
 
28
28
  capture('div.newsletter-signup').remove();
29
29
  capture('p.pullquote').remove();
@@ -31,34 +31,25 @@ module.exports = async (ctx) => {
31
31
  capture('div.article__shares').remove();
32
32
 
33
33
  let bio;
34
- const authorInfo = '.article__body__author-details > p:nth-child(2)';
34
+ const authorInfo = '.VEKKL';
35
35
  if (capture(authorInfo).html() !== null) {
36
- bio = `<br><br><hr><br><b>` + author.trim() + '</b> ' + capture(authorInfo).html().trim() + `<p></p><hr>`;
37
- capture('.article__inline-sidebar').remove();
36
+ bio =
37
+ `<br><br><hr><span><p>` +
38
+ capture(authorInfo)
39
+ .html()
40
+ .replace(/<\/?span[^>]*>/g, '')
41
+ .replace(/<\/?p[^>]*>/g, ' ') +
42
+ `</p></span><hr>`;
38
43
  } else {
39
44
  bio = '';
40
45
  }
41
46
 
42
- let banner;
43
- if (capture('.article-card__image-wrap').html() !== null) {
44
- const imgSty = capture('figure.responsive-image').attr('style');
45
- const imgLink = imgSty.match(/url\(["']?([^"']*)["']?\)/)[1];
46
- banner = `<img src="${imgLink}">`;
47
- }
48
- if (capture('.article__image__wrapper').html() !== null) {
49
- banner = '';
50
- capture('img').each((index, item) => {
51
- item = $(item);
52
- item.removeAttr('alt');
53
- });
54
- capture('.display-article').remove;
55
- }
56
- if (capture('.video__embed').html() !== null) {
57
- banner = capture('div.video__embed').html();
58
- capture('.article__header__subtitle').remove();
59
- }
47
+ const imgLink = capture("head meta[property='og:image']").attr('content');
48
+ const banner = `<img src="${imgLink}">`;
49
+
50
+ // Currently this route is not perfectly compatible with '/videos'
60
51
 
61
- const contents = banner + capture('.article__body__content').html() + bio;
52
+ const contents = banner + capture('.has-dropcap').html() + bio;
62
53
  const single = {
63
54
  title,
64
55
  author,
@@ -20,10 +20,10 @@ module.exports = async (ctx) => {
20
20
  list
21
21
  .map((index, item) => {
22
22
  item = $(item);
23
- bookid = item.find('img').attr('data-src').split('/')[5];
23
+ bookid = item.find('img').attr('data-src').split('/')[4];
24
24
  return {
25
25
  title: item.find('.bookname').text(),
26
- description: `${item.find('.booknamesub').text()}&nbsp;|&nbsp;${item.find('.bprice').text()}<br><img src="https://image.bookwalker.com.tw/upload/product/${bookid}/zoom_big_${bookid}.jpg">`,
26
+ description: `${item.find('.booknamesub').text()}&nbsp;|&nbsp;${item.find('.bprice').text()}<br><img src="https://taiwan-image.bookwalker.com.tw/product/${bookid}/zoom_big_${bookid}.jpg">`,
27
27
  link: item.find('a').attr('href'),
28
28
  };
29
29
  })
@@ -3,7 +3,7 @@ const got = require('@/utils/got');
3
3
  const { resolve } = require('url');
4
4
 
5
5
  module.exports = async (ctx) => {
6
- const url = 'http://www.ccdi.gov.cn/scdc/';
6
+ const url = 'https://www.ccdi.gov.cn/scdcn/';
7
7
  const res = await got.get(url);
8
8
  const $ = cheerio.load(res.data);
9
9
 
@@ -27,11 +27,15 @@ module.exports = async (ctx) => {
27
27
  if (value) {
28
28
  item.description = value;
29
29
  } else {
30
- const response = await got.get(item.link);
31
- const data = response.data;
32
- const $ = cheerio.load(data);
33
- item.description = $('div.TRS_Editor').html();
34
- ctx.cache.set(key, item.description);
30
+ try {
31
+ const response = await got.get(item.link);
32
+ const data = response.data;
33
+ const $ = cheerio.load(data);
34
+ item.description = $('div.TRS_Editor').html();
35
+ ctx.cache.set(key, item.description);
36
+ } catch (error) {
37
+ item.description = '';
38
+ }
35
39
  }
36
40
 
37
41
  return item;
@@ -58,6 +58,8 @@ const parseDynamic = async (item, ctx) => {
58
58
  const pubDate = new Date(item.lastupdate * 1000).toUTCString();
59
59
  if (item.entityType === 'sponsorCard') {
60
60
  return;
61
+ } else if (item.shareUrl === undefined) {
62
+ return;
61
63
  }
62
64
  const itemUrl = item.shareUrl.split('?')[0];
63
65
  let description, title;
@@ -4,7 +4,8 @@ const got = require('@/utils/got');
4
4
  // 直接调用拷贝漫画的接口
5
5
  module.exports = async (ctx) => {
6
6
  const { id } = ctx.params;
7
-
7
+ // 用于控制返回的章节数量
8
+ const chapterCnt = Number(ctx.params.chapterCnt || 0);
8
9
  // 获取漫画列表
9
10
  let bHasNextPage = false;
10
11
  const iReqLimit = (ctx.queries && ctx.queries.limit) || 100;
@@ -62,6 +63,6 @@ module.exports = async (ctx) => {
62
63
  title: `拷贝漫画 - ${bookTitle}`,
63
64
  link: `https://copymanga.com/comic/${id}`,
64
65
  description: bookIntro,
65
- item: chapterArray.map(genResult),
66
+ item: chapterArray.map(genResult).slice(0, chapterCnt),
66
67
  };
67
68
  };
@@ -9,12 +9,15 @@ async function load(link, id) {
9
9
 
10
10
  const context = $('.comic-item-container > .meta-info-container');
11
11
  const img = context.find('img.img-comic');
12
- const transcript = context.find('.js-toggle-container > p');
12
+ const transcript = context.find('.comic-transcript p').html();
13
13
 
14
14
  const title = img.attr('alt').replace('Dilbert by Scott Adams', id);
15
- const src = 'https:' + img.attr('src');
15
+ const src = img.attr('src');
16
16
 
17
- const description = `<img src="${src}"></br><p>${transcript.html()}</p>`;
17
+ let description = `<img src="${src}">`;
18
+ if (transcript) {
19
+ description += `<br/><p>${transcript}</p>`;
20
+ }
18
21
 
19
22
  return {
20
23
  title,
@@ -29,7 +32,7 @@ module.exports = async (ctx) => {
29
32
  const feed = await parser.parseURL(feed_url);
30
33
  const items = await Promise.all(
31
34
  feed.items.slice(0, 7).map(async (item) => {
32
- const link = `https://dilbert.com/strip/${item.id}`;
35
+ const link = item.link;
33
36
 
34
37
  const single = {
35
38
  pubDate: item.pubDate,
@@ -448,11 +448,16 @@ async function getFullTextItems(ctx, items) {
448
448
  if (cache) {
449
449
  item.status.reshared_status.text = cache;
450
450
  } else if (tryFixStatus(item.status.reshared_status).isFixSuccess) {
451
- const {
452
- data: { text },
453
- } = await got({ url, headers });
454
- ctx.cache.set(url, text);
455
- item.status.reshared_status.text = text;
451
+ try {
452
+ // 存在reshared_status字段正常,但尝试获取时返回403的情况。比如原po被炸号就可能这样。
453
+ const {
454
+ data: { text },
455
+ } = await got({ url, headers });
456
+ ctx.cache.set(url, text);
457
+ item.status.reshared_status.text = text;
458
+ } catch (err) {
459
+ item.status.reshared_status.text += '\n[获取原动态失败]';
460
+ }
456
461
  }
457
462
  })
458
463
  );