rsshub 1.0.0-master.b1c0ecb → 1.0.0-master.b21266a

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 (395) 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 +34 -50
  6. package/lib/routes/aeon/category.js +18 -27
  7. package/lib/routes/bof/home.js +1 -2
  8. package/lib/routes/bookwalkertw/news.js +2 -2
  9. package/lib/routes/ccdi/scdc.js +10 -6
  10. package/lib/routes/coolapk/utils.js +2 -0
  11. package/lib/routes/copymanga/comic.js +3 -2
  12. package/lib/routes/cpta/notice.js +6 -1
  13. package/lib/routes/dilbert/strip.js +7 -4
  14. package/lib/routes/douban/people/status.js +10 -5
  15. package/lib/routes/dykszx/news.js +5 -2
  16. package/lib/routes/futunn/highlights.js +39 -37
  17. package/lib/routes/gamer/gnn_index.js +1 -1
  18. package/lib/routes/gameres/utils.js +4 -1
  19. package/lib/routes/gelonghui/user.js +1 -1
  20. package/lib/routes/gov/fmprc/fyrbt.js +1 -1
  21. package/lib/routes/gov/guangdong/edu.js +5 -1
  22. package/lib/routes/gov/shenzhen/xxgk/zfxxgj.js +5 -1
  23. package/lib/routes/hackerone/hacktivity.js +17 -16
  24. package/lib/routes/hackerone/search.js +1 -2
  25. package/lib/routes/hexo/fluid.js +45 -0
  26. package/lib/routes/hkej/index.js +7 -1
  27. package/lib/routes/kbs/today.js +56 -0
  28. package/lib/routes/lolapp/article.js +53 -0
  29. package/lib/routes/manhuagui/comic.js +74 -28
  30. package/lib/routes/mhgui/comic.js +74 -28
  31. package/lib/routes/nasa/apod-cn.js +4 -1
  32. package/lib/routes/ncm/playlist.js +2 -0
  33. package/lib/routes/ncm/userplayrecords.js +6 -2
  34. package/lib/routes/newzmz/index.js +5 -1
  35. package/lib/routes/nintendo/eshop_us.js +3 -6
  36. package/lib/routes/novel/axdzs.js +22 -12
  37. package/lib/routes/novel/biquge.js +1 -1
  38. package/lib/routes/picuki/profile.js +53 -14
  39. package/lib/routes/pingwest/utils.js +4 -1
  40. package/lib/routes/qstheory/index.js +7 -1
  41. package/lib/routes/t66y/index.js +4 -4
  42. package/lib/routes/tencent/wechat/tgchannel.js +47 -10
  43. package/lib/routes/tencent/wechat/wechat-open/pay/announce.js +2 -4
  44. package/lib/routes/tingshuitz/guangzhou.js +1 -2
  45. package/lib/routes/twmanhuagui/comic.js +74 -28
  46. package/lib/routes/ui-cn/article.js +8 -1
  47. package/lib/routes/universities/nuc/index.js +6 -1
  48. package/lib/routes/vgn/index.js +1 -1
  49. package/lib/routes/weibo/search/hot.js +1 -2
  50. package/lib/routes/weibo/super_index.js +2 -1
  51. package/lib/routes/weibo/user.js +26 -2
  52. package/lib/routes/ximalaya/utils.js +3 -128
  53. package/lib/routes/youzhiyouxing/materials.js +29 -0
  54. package/lib/utils/puppeteer.js +0 -1
  55. package/lib/v2/18comic/blogs.js +3 -1
  56. package/lib/v2/2048/index.js +8 -1
  57. package/lib/v2/423down/index.js +114 -0
  58. package/lib/v2/423down/maintainer.js +3 -0
  59. package/lib/v2/423down/radar.js +193 -0
  60. package/lib/v2/423down/router.js +3 -0
  61. package/lib/v2/acm-ecnu/contest.js +44 -0
  62. package/lib/v2/acm-ecnu/maintainer.js +3 -0
  63. package/lib/v2/acm-ecnu/radar.js +19 -0
  64. package/lib/v2/acm-ecnu/router.js +3 -0
  65. package/lib/v2/acm-ecnu/templates/description.art +3 -0
  66. package/lib/v2/agirls/index.js +71 -0
  67. package/lib/v2/agirls/maintainer.js +5 -0
  68. package/lib/v2/agirls/radar.js +25 -0
  69. package/lib/v2/agirls/router.js +5 -0
  70. package/lib/v2/agirls/templates/description.art +1 -0
  71. package/lib/v2/agirls/topic.js +71 -0
  72. package/lib/v2/agirls/topic_list.js +44 -0
  73. package/lib/v2/ahjzu/maintainer.js +3 -0
  74. package/lib/v2/ahjzu/news.js +57 -0
  75. package/lib/v2/ahjzu/radar.js +13 -0
  76. package/lib/v2/ahjzu/router.js +3 -0
  77. package/lib/v2/ajmide/index.js +29 -0
  78. package/lib/v2/ajmide/maintainer.js +3 -0
  79. package/lib/v2/ajmide/radar.js +16 -0
  80. package/lib/v2/ajmide/router.js +3 -0
  81. package/lib/v2/appledaily/index.js +69 -0
  82. package/lib/v2/appledaily/maintainer.js +3 -0
  83. package/lib/v2/appledaily/radar.js +157 -0
  84. package/lib/v2/appledaily/router.js +3 -0
  85. package/lib/v2/appledaily/templates/content.art +7 -0
  86. package/lib/v2/atcoder/contest.js +64 -0
  87. package/lib/v2/atcoder/maintainer.js +4 -0
  88. package/lib/v2/atcoder/post.js +38 -0
  89. package/lib/v2/atcoder/radar.js +22 -0
  90. package/lib/v2/atcoder/router.js +4 -0
  91. package/lib/v2/baozimh/index.js +49 -0
  92. package/lib/v2/baozimh/maintainer.js +3 -0
  93. package/lib/v2/baozimh/radar.js +13 -0
  94. package/lib/v2/baozimh/router.js +3 -0
  95. package/lib/v2/barronschina/index.js +70 -0
  96. package/lib/v2/barronschina/maintainer.js +3 -0
  97. package/lib/v2/barronschina/radar.js +13 -0
  98. package/lib/v2/barronschina/router.js +3 -0
  99. package/lib/v2/bendibao/maintainer.js +3 -0
  100. package/lib/{routes → v2}/bendibao/news.js +39 -18
  101. package/lib/v2/bendibao/radar.js +13 -0
  102. package/lib/v2/bendibao/router.js +3 -0
  103. package/lib/v2/blockbeats/index.js +50 -0
  104. package/lib/v2/blockbeats/maintainer.js +3 -0
  105. package/lib/v2/blockbeats/radar.js +19 -0
  106. package/lib/v2/blockbeats/router.js +3 -0
  107. package/lib/v2/cbirc/index.js +119 -0
  108. package/lib/v2/cbirc/maintainer.js +3 -0
  109. package/lib/v2/cbirc/radar.js +13 -0
  110. package/lib/v2/cbirc/router.js +3 -0
  111. package/lib/v2/cde/index.js +132 -0
  112. package/lib/v2/cde/maintainer.js +3 -0
  113. package/lib/v2/cde/radar.js +43 -0
  114. package/lib/v2/cde/router.js +3 -0
  115. package/lib/v2/cde/utils.js +20 -0
  116. package/lib/v2/chaoxing/maintainer.js +3 -0
  117. package/lib/v2/chaoxing/qk.js +59 -0
  118. package/lib/v2/chaoxing/radar.js +13 -0
  119. package/lib/v2/chaoxing/router.js +3 -0
  120. package/lib/v2/chaoxing/templates/description.art +3 -0
  121. package/lib/v2/cnbeta/index.js +15 -0
  122. package/lib/v2/cnbeta/maintainer.js +5 -0
  123. package/lib/v2/cnbeta/radar.js +25 -0
  124. package/lib/v2/cnbeta/router.js +4 -0
  125. package/lib/v2/cnbeta/type.js +42 -0
  126. package/lib/v2/cnbeta/utils.js +27 -0
  127. package/lib/v2/cnki/debut.js +62 -0
  128. package/lib/v2/cnki/journals.js +74 -0
  129. package/lib/v2/cnki/maintainer.js +4 -0
  130. package/lib/v2/cnki/radar.js +19 -0
  131. package/lib/v2/cnki/router.js +4 -0
  132. package/lib/v2/cnki/templates/desc.art +5 -0
  133. package/lib/v2/codeforces/contests.js +37 -0
  134. package/lib/v2/codeforces/maintainer.js +3 -0
  135. package/lib/v2/codeforces/radar.js +13 -0
  136. package/lib/v2/codeforces/router.js +3 -0
  137. package/lib/v2/codeforces/templates/contest.art +11 -0
  138. package/lib/{routes → v2}/cool18/index.js +17 -13
  139. package/lib/v2/cool18/maintainer.js +3 -0
  140. package/lib/v2/cool18/radar.js +13 -0
  141. package/lib/v2/cool18/router.js +3 -0
  142. package/lib/v2/cpcey/index.js +60 -0
  143. package/lib/v2/cpcey/maintainer.js +3 -0
  144. package/lib/v2/cpcey/radar.js +27 -0
  145. package/lib/v2/cpcey/router.js +3 -0
  146. package/lib/v2/cqwu/index.js +46 -0
  147. package/lib/v2/cqwu/maintainer.js +3 -0
  148. package/lib/v2/cqwu/radar.js +27 -0
  149. package/lib/v2/cqwu/router.js +3 -0
  150. package/lib/v2/csc/maintainer.js +3 -0
  151. package/lib/v2/csc/notice.js +99 -0
  152. package/lib/v2/csc/radar.js +31 -0
  153. package/lib/v2/csc/router.js +3 -0
  154. package/lib/v2/ddosi/category.js +42 -0
  155. package/lib/v2/ddosi/index.js +41 -0
  156. package/lib/v2/ddosi/maintainer.js +4 -0
  157. package/lib/v2/ddosi/radar.js +19 -0
  158. package/lib/v2/ddosi/router.js +4 -0
  159. package/lib/v2/elsevier/maintainer.js +2 -2
  160. package/lib/v2/epicgames/supportedList.js +1 -2
  161. package/lib/{routes/everything → v2}/eventernote/actors.js +0 -0
  162. package/lib/v2/eventernote/maintainer.js +3 -0
  163. package/lib/v2/eventernote/radar.js +13 -0
  164. package/lib/v2/eventernote/router.js +3 -0
  165. package/lib/v2/filmdeepfocus/index.js +58 -0
  166. package/lib/v2/filmdeepfocus/maintainer.js +3 -0
  167. package/lib/v2/filmdeepfocus/radar.js +13 -0
  168. package/lib/v2/filmdeepfocus/router.js +3 -0
  169. package/lib/v2/firefox/index.js +69 -0
  170. package/lib/v2/firefox/maintainer.js +3 -0
  171. package/lib/v2/firefox/radar.js +13 -0
  172. package/lib/v2/firefox/router.js +3 -0
  173. package/lib/v2/firefox/templates/description.art +5 -0
  174. package/lib/v2/fortunechina/index.js +70 -0
  175. package/lib/v2/fortunechina/maintainer.js +3 -0
  176. package/lib/v2/fortunechina/radar.js +13 -0
  177. package/lib/v2/fortunechina/router.js +3 -0
  178. package/lib/{routes → v2}/ft/channel.js +1 -0
  179. package/lib/v2/ft/maintainer.js +4 -0
  180. package/lib/v2/ft/myft.js +44 -0
  181. package/lib/v2/ft/radar.js +24 -0
  182. package/lib/v2/ft/router.js +4 -0
  183. package/lib/{routes → v2}/ft/utils.js +19 -19
  184. package/lib/{routes → v2}/gamer/hot.js +15 -4
  185. package/lib/v2/gamer/maintainer.js +3 -0
  186. package/lib/v2/gamer/radar.js +13 -0
  187. package/lib/v2/gamer/router.js +3 -0
  188. package/lib/v2/gamersecret/index.js +60 -0
  189. package/lib/v2/gamersecret/maintainer.js +3 -0
  190. package/lib/v2/gamersecret/radar.js +31 -0
  191. package/lib/v2/gamersecret/router.js +3 -0
  192. package/lib/v2/github/comments.js +64 -0
  193. package/lib/v2/github/maintainer.js +3 -0
  194. package/lib/v2/github/radar.js +13 -0
  195. package/lib/v2/github/router.js +3 -0
  196. package/lib/v2/github/templates/comments-description.art +1 -0
  197. package/lib/v2/gov/beijing/kw/index.js +44 -0
  198. package/lib/v2/gov/guangdong/tqyb/sncsyjxh.js +37 -0
  199. package/lib/v2/gov/guangdong/tqyb/templates/sncsyjxh.art +5 -0
  200. package/lib/v2/gov/guangdong/tqyb/templates/tfxtq.art +1 -0
  201. package/lib/v2/gov/guangdong/tqyb/tfxtq.js +30 -0
  202. package/lib/v2/gov/maintainer.js +8 -0
  203. package/lib/v2/gov/radar.js +325 -0
  204. package/lib/v2/gov/router.js +8 -0
  205. package/lib/v2/gov/shanghai/rsj/ksxm.js +39 -0
  206. package/lib/v2/gov/shanghai/rsj/templates/ksxm.art +7 -0
  207. package/lib/v2/gov/shenzhen/hrss/szksy/index.js +41 -0
  208. package/lib/v2/gov/shenzhen/zzb/index.js +40 -0
  209. package/lib/v2/guduodata/daily.js +63 -0
  210. package/lib/v2/guduodata/maintainer.js +3 -0
  211. package/lib/v2/guduodata/radar.js +13 -0
  212. package/lib/v2/guduodata/router.js +3 -0
  213. package/lib/v2/guduodata/templates/daily.art +26 -0
  214. package/lib/v2/hackernews/index.js +97 -0
  215. package/lib/v2/hackernews/maintainer.js +3 -0
  216. package/lib/v2/hackernews/radar.js +13 -0
  217. package/lib/v2/hackernews/router.js +3 -0
  218. package/lib/v2/heu/job/list.js +2 -2
  219. package/lib/v2/hkej/index.js +7 -1
  220. package/lib/v2/hkepc/index.js +198 -0
  221. package/lib/v2/hkepc/maintainer.js +3 -0
  222. package/lib/v2/hkepc/radar.js +19 -0
  223. package/lib/v2/hkepc/router.js +3 -0
  224. package/lib/v2/hkepc/templates/description.art +1 -0
  225. package/lib/v2/hkepc/templates/image.art +1 -0
  226. package/lib/v2/iwara/index.js +42 -0
  227. package/lib/v2/iwara/maintainer.js +3 -0
  228. package/lib/v2/iwara/radar.js +19 -0
  229. package/lib/v2/iwara/router.js +3 -0
  230. package/lib/v2/jandan/index.js +60 -0
  231. package/lib/v2/jandan/maintainer.js +4 -0
  232. package/lib/v2/jandan/radar.js +19 -0
  233. package/lib/v2/jandan/router.js +4 -0
  234. package/lib/v2/jandan/section.js +49 -0
  235. package/lib/v2/jandan/templates/description.art +4 -0
  236. package/lib/v2/kemono/index.js +99 -0
  237. package/lib/v2/kemono/maintainer.js +4 -0
  238. package/lib/v2/kemono/radar.js +13 -0
  239. package/lib/v2/kemono/router.js +3 -0
  240. package/lib/v2/knowmedia/index.js +38 -0
  241. package/lib/v2/knowmedia/maintainer.js +3 -0
  242. package/lib/v2/knowmedia/radar.js +31 -0
  243. package/lib/v2/knowmedia/router.js +3 -0
  244. package/lib/v2/knowmedia/templates/desc.art +3 -0
  245. package/lib/v2/lanqiao/author.js +63 -0
  246. package/lib/v2/lanqiao/courses.js +45 -0
  247. package/lib/v2/lanqiao/maintainer.js +5 -0
  248. package/lib/v2/lanqiao/questions.js +52 -0
  249. package/lib/v2/lanqiao/radar.js +25 -0
  250. package/lib/v2/lanqiao/router.js +5 -0
  251. package/lib/v2/lanqiao/templates/courseDesc.art +1 -0
  252. package/lib/v2/lanqiao/utils.js +12 -0
  253. package/lib/v2/lativ/index.js +42 -0
  254. package/lib/v2/lativ/maintainer.js +3 -0
  255. package/lib/v2/lativ/radar.js +13 -0
  256. package/lib/v2/lativ/router.js +3 -0
  257. package/lib/v2/lativ/templates/detail.art +9 -0
  258. package/lib/v2/learnku/maintainer.js +3 -0
  259. package/lib/v2/learnku/radar.js +13 -0
  260. package/lib/v2/learnku/router.js +3 -0
  261. package/lib/v2/learnku/templates/topic.art +14 -0
  262. package/lib/v2/learnku/topic.js +72 -0
  263. package/lib/v2/leiphone/index.js +25 -0
  264. package/lib/v2/leiphone/maintainer.js +5 -0
  265. package/lib/v2/leiphone/newsflash.js +19 -0
  266. package/lib/v2/leiphone/radar.js +25 -0
  267. package/lib/v2/leiphone/router.js +4 -0
  268. package/lib/v2/leiphone/utils.js +41 -0
  269. package/lib/v2/line/maintainer.js +3 -0
  270. package/lib/v2/line/radar.js +13 -0
  271. package/lib/v2/line/router.js +3 -0
  272. package/lib/v2/line/today.js +80 -0
  273. package/lib/v2/medsci/index.js +67 -0
  274. package/lib/v2/medsci/maintainer.js +3 -0
  275. package/lib/v2/medsci/radar.js +13 -0
  276. package/lib/v2/medsci/router.js +3 -0
  277. package/lib/v2/mvm/index.js +4 -1
  278. package/lib/{routes → v2}/neea/index.js +0 -0
  279. package/lib/v2/neea/jlpt.js +52 -0
  280. package/lib/v2/neea/maintainer.js +4 -0
  281. package/lib/v2/neea/radar.js +13 -0
  282. package/lib/v2/neea/router.js +4 -0
  283. package/lib/v2/netease/maintainer.js +1 -0
  284. package/lib/v2/netease/radar.js +10 -2
  285. package/lib/v2/netease/router.js +1 -0
  286. package/lib/v2/netease/today.js +55 -0
  287. package/lib/v2/nifd/maintainer.js +3 -0
  288. package/lib/v2/nifd/radar.js +117 -0
  289. package/lib/v2/nifd/research.js +52 -0
  290. package/lib/v2/nifd/router.js +3 -0
  291. package/lib/v2/nikkei-cn/index.js +77 -0
  292. package/lib/v2/nikkei-cn/maintainer.js +3 -0
  293. package/lib/v2/nikkei-cn/radar.js +21 -0
  294. package/lib/v2/nikkei-cn/router.js +3 -0
  295. package/lib/v2/nju/gra.js +31 -0
  296. package/lib/v2/nju/jw.js +45 -0
  297. package/lib/v2/nju/maintainer.js +8 -0
  298. package/lib/v2/nju/radar.js +53 -0
  299. package/lib/v2/nju/rczp.js +38 -0
  300. package/lib/v2/nju/router.js +8 -0
  301. package/lib/v2/nju/scit.js +36 -0
  302. package/lib/v2/nju/zbb.js +81 -0
  303. package/lib/v2/nju/zcc.js +48 -0
  304. package/lib/v2/nodejs/blog.js +60 -0
  305. package/lib/v2/nodejs/maintainer.js +3 -0
  306. package/lib/v2/nodejs/radar.js +13 -0
  307. package/lib/v2/nodejs/router.js +3 -0
  308. package/lib/v2/now/maintainer.js +3 -0
  309. package/lib/v2/now/news.js +66 -0
  310. package/lib/v2/now/radar.js +13 -0
  311. package/lib/v2/now/router.js +3 -0
  312. package/lib/v2/nsfc/maintainer.js +3 -0
  313. package/lib/{routes → v2}/nsfc/news.js +0 -0
  314. package/lib/v2/nsfc/radar.js +31 -0
  315. package/lib/v2/nsfc/router.js +3 -0
  316. package/lib/v2/oncc/index.js +83 -0
  317. package/lib/v2/oncc/maintainer.js +3 -0
  318. package/lib/v2/oncc/radar.js +37 -0
  319. package/lib/v2/oncc/router.js +3 -0
  320. package/lib/v2/oncc/templates/article.art +2 -0
  321. package/lib/v2/qidiantu/index.js +87 -0
  322. package/lib/v2/qidiantu/maintainer.js +4 -0
  323. package/lib/v2/qidiantu/radar.js +19 -0
  324. package/lib/v2/qidiantu/router.js +3 -0
  325. package/lib/v2/ruc/hr.js +22 -16
  326. package/lib/v2/shmeea/index.js +44 -0
  327. package/lib/v2/shmeea/maintainer.js +3 -0
  328. package/lib/v2/shmeea/radar.js +13 -0
  329. package/lib/v2/shmeea/router.js +3 -0
  330. package/lib/v2/solidot/_article.js +4 -1
  331. package/lib/v2/ssm/maintainer.js +3 -0
  332. package/lib/v2/ssm/news.js +38 -0
  333. package/lib/v2/ssm/radar.js +13 -0
  334. package/lib/v2/ssm/router.js +3 -0
  335. package/lib/v2/ssm/templates/news.art +1 -0
  336. package/lib/v2/swissinfo/index.js +5 -0
  337. package/lib/{routes → v2}/telegram/blog.js +3 -3
  338. package/lib/{routes → v2}/telegram/channel.js +2 -1
  339. package/lib/v2/telegram/maintainer.js +5 -0
  340. package/lib/v2/telegram/radar.js +35 -0
  341. package/lib/v2/telegram/router.js +5 -0
  342. package/lib/{routes → v2}/telegram/stickerpack.js +0 -0
  343. package/lib/v2/topys/index.js +66 -0
  344. package/lib/v2/topys/maintainer.js +3 -0
  345. package/lib/v2/topys/radar.js +13 -0
  346. package/lib/v2/topys/router.js +3 -0
  347. package/lib/v2/ucas/index.js +59 -0
  348. package/lib/v2/ucas/maintainer.js +3 -0
  349. package/lib/v2/ucas/rader.js +47 -0
  350. package/lib/v2/ucas/router.js +3 -0
  351. package/lib/v2/uibe/hr.js +19 -15
  352. package/lib/v2/ulapia/index.js +47 -0
  353. package/lib/v2/ulapia/maintainer.js +3 -0
  354. package/lib/v2/ulapia/radar.js +55 -0
  355. package/lib/v2/ulapia/research.js +38 -0
  356. package/lib/v2/ulapia/router.js +4 -0
  357. package/lib/v2/wallstreetcn/live.js +40 -0
  358. package/lib/v2/wallstreetcn/maintainer.js +5 -0
  359. package/lib/v2/wallstreetcn/news.js +61 -0
  360. package/lib/v2/wallstreetcn/radar.js +19 -0
  361. package/lib/v2/wallstreetcn/router.js +5 -0
  362. package/lib/{routes → v2}/wenku8/chapter.js +0 -0
  363. package/lib/v2/wenku8/index.js +52 -0
  364. package/lib/v2/wenku8/maintainer.js +5 -0
  365. package/lib/v2/wenku8/radar.js +85 -0
  366. package/lib/v2/wenku8/router.js +5 -0
  367. package/lib/{routes → v2}/wenku8/volume.js +0 -0
  368. package/lib/v2/wsyu/maintainer.js +3 -0
  369. package/lib/{routes/universities → v2}/wsyu/news.js +0 -0
  370. package/lib/v2/wsyu/radar.js +25 -0
  371. package/lib/v2/wsyu/router.js +3 -0
  372. package/lib/v2/xaut/index.js +72 -0
  373. package/lib/v2/xaut/jwc.js +65 -0
  374. package/lib/v2/xaut/maintainer.js +5 -0
  375. package/lib/v2/xaut/radar.js +23 -0
  376. package/lib/v2/xaut/router.js +5 -0
  377. package/lib/v2/xaut/rsc.js +67 -0
  378. package/lib/v2/zjgtjy/index.js +46 -0
  379. package/lib/v2/zjgtjy/maintainer.js +3 -0
  380. package/lib/v2/zjgtjy/radar.js +31 -0
  381. package/lib/v2/zjgtjy/router.js +3 -0
  382. package/package.json +48 -48
  383. package/lib/routes/cnbeta/home.js +0 -53
  384. package/lib/routes/cnbeta/topic.js +0 -75
  385. package/lib/routes/ft/myft.js +0 -46
  386. package/lib/routes/hackernews/story.js +0 -60
  387. package/lib/routes/hkepc/index.js +0 -164
  388. package/lib/routes/jandan/article.js +0 -62
  389. package/lib/routes/jandan/pic.js +0 -89
  390. package/lib/routes/learnku/topic.js +0 -53
  391. package/lib/routes/medsci/recommend.js +0 -51
  392. package/lib/routes/topys/article.js +0 -55
  393. package/lib/routes/universities/cqwu/news.js +0 -39
  394. package/lib/routes/wallstreetcn/live.js +0 -44
  395. package/lib/routes/wallstreetcn/news.js +0 -33
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'));
@@ -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'));
@@ -1912,6 +1903,7 @@ router.get('/lol/newsindex/:type', lazyloadRouteHandler('./routes/lol/newsindex'
1912
1903
 
1913
1904
  // 掌上英雄联盟
1914
1905
  router.get('/lolapp/recommend', lazyloadRouteHandler('./routes/lolapp/recommend'));
1906
+ router.get('/lolapp/article/:uuid', lazyloadRouteHandler('./routes/lolapp/article'));
1915
1907
 
1916
1908
  // 左岸读书
1917
1909
  router.get('/zreading', lazyloadRouteHandler('./routes/zreading/home'));
@@ -2129,6 +2121,8 @@ router.get('/weidian/goods/:id', lazyloadRouteHandler('./routes/weidian/goods'))
2129
2121
 
2130
2122
  // 有赞
2131
2123
  router.get('/youzan/goods/:id', lazyloadRouteHandler('./routes/youzan/goods'));
2124
+ // 有知有行
2125
+ router.get('/youzhiyouxing/materials', lazyloadRouteHandler('./routes/youzhiyouxing/materials'));
2132
2126
  // 币世界快讯
2133
2127
  router.get('/bishijie/kuaixun', lazyloadRouteHandler('./routes/bishijie/kuaixun'));
2134
2128
 
@@ -2602,6 +2596,8 @@ router.get('/ifeng/feng/:id/:type', lazyloadRouteHandler('./routes/ifeng/feng'))
2602
2596
  router.get('/novel/d1bz/:category/:id', lazyloadRouteHandler('./routes/d1bz/novel'));
2603
2597
 
2604
2598
  // 爱下电子书
2599
+ router.get('/axdzs/:novel', lazyloadRouteHandler('./routes/novel/axdzs'));
2600
+ // deprecated
2605
2601
  router.get('/axdzs/:id1/:id2', lazyloadRouteHandler('./routes/novel/axdzs'));
2606
2602
 
2607
2603
  // HackerOne
@@ -2674,23 +2670,14 @@ router.get('/lagou/jobs/:position/:city', lazyloadRouteHandler('./routes/lagou/j
2674
2670
  router.get('/yzu/home/:type', lazyloadRouteHandler('./routes/universities/yzu/home'));
2675
2671
  router.get('/yzu/yjszs/:type', lazyloadRouteHandler('./routes/universities/yzu/yjszs'));
2676
2672
 
2677
- // 国家自然科学基金委员会
2678
- router.get('/nsfc/news/:type?', lazyloadRouteHandler('./routes/nsfc/news'));
2679
-
2680
2673
  // 德国新闻社卫健新闻
2681
2674
  router.get('/krankenkassen', lazyloadRouteHandler('./routes/krankenkassen'));
2682
2675
 
2683
2676
  // 桂林航天工业学院
2684
2677
  router.get('/guat/news/:type?', lazyloadRouteHandler('./routes/guat/news'));
2685
2678
 
2686
- // 国家留学网
2687
- router.get('/csc/notice/:type?', lazyloadRouteHandler('./routes/csc/notice'));
2688
-
2689
- // LearnKu
2690
- router.get('/learnku/:community/:category?', lazyloadRouteHandler('./routes/learnku/topic'));
2691
-
2692
2679
  // NEEA
2693
- router.get('/neea/:type', lazyloadRouteHandler('./routes/neea'));
2680
+ // router.get('/neea/:type', lazyloadRouteHandler('./routes/neea'));
2694
2681
 
2695
2682
  // 中国农业大学
2696
2683
  router.get('/cauyjs', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
@@ -2775,9 +2762,6 @@ router.get('/eastmoney/user/:uid', lazyloadRouteHandler('./routes/eastmoney/user
2775
2762
  router.get('/ssmh', lazyloadRouteHandler('./routes/ssmh'));
2776
2763
  router.get('/ssmh/category/:cid', lazyloadRouteHandler('./routes/ssmh/category'));
2777
2764
 
2778
- // 武昌首义学院
2779
- router.get('/wsyu/news/:type?', lazyloadRouteHandler('./routes/universities/wsyu/news'));
2780
-
2781
2765
  // 华南师范大学研究生学院
2782
2766
  router.get('/scnuyjs', lazyloadRouteHandler('./routes/universities/scnu/scnuyjs'));
2783
2767
 
@@ -2881,7 +2865,7 @@ router.get('/ptpress/book/:type?', lazyloadRouteHandler('./routes/ptpress/book')
2881
2865
  router.get('/uniqlo/stylingbook/:category?', lazyloadRouteHandler('./routes/uniqlo/stylingbook'));
2882
2866
 
2883
2867
  // 本地宝焦点资讯
2884
- router.get('/bendibao/news/:city', lazyloadRouteHandler('./routes/bendibao/news'));
2868
+ // router.get('/bendibao/news/:city', lazyloadRouteHandler('./routes/bendibao/news'));
2885
2869
 
2886
2870
  // unit-image
2887
2871
  router.get('/unit-image/films/:type?', lazyloadRouteHandler('./routes/unit-image/films'));
@@ -3404,8 +3388,8 @@ router.get('/appsales/:caty?/:time?', lazyloadRouteHandler('./routes/appsales/in
3404
3388
  // Academy of Management
3405
3389
  router.get('/aom/journal/:id', lazyloadRouteHandler('./routes/aom/journal'));
3406
3390
 
3407
- // 巴哈姆特電玩資訊站
3408
- router.get('/gamer/hot/:bsn', lazyloadRouteHandler('./routes/gamer/hot'));
3391
+ // 巴哈姆特電玩資訊站 migrated to v2
3392
+ // router.get('/gamer/hot/:bsn', lazyloadRouteHandler('./routes/gamer/hot'));
3409
3393
 
3410
3394
  // iCity
3411
3395
  router.get('/icity/:id', lazyloadRouteHandler('./routes/icity/index'));
@@ -3475,9 +3459,6 @@ router.get('/npc/:caty', lazyloadRouteHandler('./routes/npc/index'));
3475
3459
  // 高科技行业门户
3476
3460
  router.get('/ofweek/news', lazyloadRouteHandler('./routes/ofweek/news'));
3477
3461
 
3478
- // eventernote
3479
- router.get('/eventernote/actors/:name/:id', lazyloadRouteHandler('./routes/eventernote/actors'));
3480
-
3481
3462
  // 八阕
3482
3463
  router.get('/popyard/:caty?', lazyloadRouteHandler('./routes/popyard/index'));
3483
3464
 
@@ -3743,7 +3724,7 @@ router.get('/proletar/:type?/:id?', lazyloadRouteHandler('./routes/proletar/inde
3743
3724
  router.get('/qttabbar/change-log', lazyloadRouteHandler('./routes/qttabbar/change-log'));
3744
3725
 
3745
3726
  // 酷18
3746
- router.get('/cool18/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/cool18/index'));
3727
+ // router.get('/cool18/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/cool18/index'));
3747
3728
 
3748
3729
  // 美国贸易代表办公室
3749
3730
  router.get('/ustr/press-releases/:year?/:month?', lazyloadRouteHandler('./routes/us/ustr/press-releases'));
@@ -4117,8 +4098,8 @@ router.get('/ehentai/tag/:tag/:page?/:bittorrent?', lazyloadRouteHandler('./rout
4117
4098
  // 字型故事
4118
4099
  router.get('/fontstory', lazyloadRouteHandler('./routes/fontstory/tw'));
4119
4100
 
4120
- // HKEPC
4121
- router.get('/hkepc/:category?', lazyloadRouteHandler('./routes/hkepc/index'));
4101
+ // HKEPC migrated to v2
4102
+ // router.get('/hkepc/:category?', lazyloadRouteHandler('./routes/hkepc/index'));
4122
4103
 
4123
4104
  // 海南大学
4124
4105
  router.get('/hainanu/ssszs', lazyloadRouteHandler('./routes/hainanu/ssszs'));
@@ -4269,4 +4250,7 @@ router.get('/fashionnetwork/headline/:country?', lazyloadRouteHandler('./routes/
4269
4250
 
4270
4251
  // Deprecated: DO NOT ADD ROUTE HERE
4271
4252
 
4253
+ // KBS
4254
+ router.get('/kbs/today/:language?', lazyloadRouteHandler('./routes/kbs/today'));
4255
+
4272
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,
@@ -15,8 +15,7 @@ module.exports = async (ctx) => {
15
15
  height: 440,
16
16
  width: 670,
17
17
  },
18
- query:
19
- 'query GetArticlesGQL($articleSlug: String, $category: String, $authorSlug: String, $height: Int, $lastCursor: ID, $width: Int!, $first: Int) {\n articles(first: $first, after: $lastCursor, filter: {language__eq: chinese, articleSlug__eq: $articleSlug, categorySlug__eq: $category, authorSlug__eq: $authorSlug}) {\n edges {\n cursor\n node {\n __typename\n ... on ArticleInterface {\n title\n summary\n content\n url\n featuredAsset {\n ... on AssetInterface {\n caption\n __typename\n }\n ... on ManagedImage {\n transform(transform: {width: $width, height: $height, crop: FOCALPOINT, fit: CROP})\n __typename\n }\n ... on ManagedVideo {\n url\n __typename\n }\n __typename\n }\n isExclusive\n isSponsored\n published {\n value\n __typename\n }\n __typename\n }\n ... on InternalArticleInterface {\n authors {\n displayName\n slug\n __typename\n }\n __typename\n }\n ... on ExternalArticleInterface {\n source\n __typename\n }\n ... on CuratedArticleLink {\n _id\n title\n published {\n value\n __typename\n }\n url\n __typename\n }\n ... on SyndicatedArticle {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n __typename\n }\n __typename\n }\n ... on OriginalArticle {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n slug\n __typename\n }\n __typename\n }\n ... on FashionWeekReview {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n __typename\n }\n __typename\n }\n }\n __typename\n }\n __typename\n }\n}\n',
18
+ query: 'query GetArticlesGQL($articleSlug: String, $category: String, $authorSlug: String, $height: Int, $lastCursor: ID, $width: Int!, $first: Int) {\n articles(first: $first, after: $lastCursor, filter: {language__eq: chinese, articleSlug__eq: $articleSlug, categorySlug__eq: $category, authorSlug__eq: $authorSlug}) {\n edges {\n cursor\n node {\n __typename\n ... on ArticleInterface {\n title\n summary\n content\n url\n featuredAsset {\n ... on AssetInterface {\n caption\n __typename\n }\n ... on ManagedImage {\n transform(transform: {width: $width, height: $height, crop: FOCALPOINT, fit: CROP})\n __typename\n }\n ... on ManagedVideo {\n url\n __typename\n }\n __typename\n }\n isExclusive\n isSponsored\n published {\n value\n __typename\n }\n __typename\n }\n ... on InternalArticleInterface {\n authors {\n displayName\n slug\n __typename\n }\n __typename\n }\n ... on ExternalArticleInterface {\n source\n __typename\n }\n ... on CuratedArticleLink {\n _id\n title\n published {\n value\n __typename\n }\n url\n __typename\n }\n ... on SyndicatedArticle {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n __typename\n }\n __typename\n }\n ... on OriginalArticle {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n slug\n __typename\n }\n __typename\n }\n ... on FashionWeekReview {\n _id\n topics {\n _id\n label\n __typename\n }\n categories {\n _id\n label\n __typename\n }\n __typename\n }\n }\n __typename\n }\n __typename\n }\n}\n',
20
19
  }),
21
20
  });
22
21
 
@@ -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
  };
@@ -27,7 +27,12 @@ module.exports = async (ctx) => {
27
27
  const detailResponse = await got({ method: 'get', url: item.link, responseType: 'buffer' });
28
28
  const content = cheerio.load(iconv.decode(detailResponse.data, 'gbk'));
29
29
  item.description = content('div.text').html();
30
- item.pubDate = new Date(content('#p_publishtime').text().replace(/[年|月]/g, '-').replace(/日/g, ' ') + ' GMT+8').toUTCString();
30
+ item.pubDate = new Date(
31
+ content('#p_publishtime')
32
+ .text()
33
+ .replace(/[年|月]/g, '-')
34
+ .replace(/日/g, ' ') + ' GMT+8'
35
+ ).toUTCString();
31
36
  return item;
32
37
  })
33
38
  )
@@ -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
  );