rsshub 1.0.0-master.dccf9a0 → 1.0.0-master.dd0c1a3

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 (499) hide show
  1. package/lib/config.js +0 -3
  2. package/lib/middleware/parameter.js +8 -1
  3. package/lib/radar-rules.js +0 -111
  4. package/lib/router.js +41 -44
  5. package/lib/routes/fanxinzhui/latest.js +12 -13
  6. package/lib/routes/fashionnetwork/headline.js +11 -12
  7. package/lib/routes/fashionnetwork/news.js +11 -12
  8. package/lib/routes/questmobile/report.js +13 -14
  9. package/lib/routes/rss3/blog.js +11 -12
  10. package/lib/utils/wechat-mp.js +2 -2
  11. package/lib/v2/163/ds.js +33 -0
  12. package/lib/v2/163/dy.js +29 -0
  13. package/lib/v2/163/dy2.js +42 -0
  14. package/lib/v2/{netease → 163}/exclusive.js +0 -0
  15. package/lib/v2/163/maintainer.js +20 -0
  16. package/lib/v2/163/music/artist-songs.js +39 -0
  17. package/lib/{routes/ncm → v2/163/music}/artist.js +10 -4
  18. package/lib/{routes/ncm → v2/163/music}/djradio.js +3 -5
  19. package/lib/v2/163/music/maintainer.js +3 -0
  20. package/lib/v2/163/music/playlist.js +55 -0
  21. package/lib/v2/163/music/userevents.js +52 -0
  22. package/lib/{routes/ncm → v2/163/music}/userplaylist.js +10 -12
  23. package/lib/{routes/ncm → v2/163/music}/userplayrecords.js +11 -13
  24. package/lib/v2/{netease → 163/news}/rank.js +20 -19
  25. package/lib/{routes/netease → v2/163}/news/special.js +11 -18
  26. package/lib/v2/163/open/vip.js +63 -0
  27. package/lib/v2/163/radar.js +155 -0
  28. package/lib/v2/{netease → 163}/renjian.js +11 -8
  29. package/lib/v2/163/router.js +20 -0
  30. package/lib/v2/163/templates/ds.art +7 -0
  31. package/lib/v2/163/templates/dy.art +6 -0
  32. package/lib/v2/{netease → 163}/templates/exclusive.art +0 -0
  33. package/lib/{routes/ncm/templates → v2/163/templates/music}/djradio-content.art +0 -0
  34. package/lib/v2/163/templates/music/playlist.art +4 -0
  35. package/lib/v2/163/templates/music/userevents.art +7 -0
  36. package/lib/v2/163/templates/music/userplaylist.art +16 -0
  37. package/lib/v2/163/templates/music/userplayrecords.art +7 -0
  38. package/lib/v2/163/templates/open.art +12 -0
  39. package/lib/v2/{netease → 163}/today.js +2 -2
  40. package/lib/v2/163/utils.js +40 -0
  41. package/lib/v2/18comic/album.js +2 -1
  42. package/lib/v2/18comic/blogs.js +2 -1
  43. package/lib/v2/18comic/radar.js +39 -29
  44. package/lib/v2/18comic/utils.js +6 -10
  45. package/lib/v2/500px/maintainer.js +4 -0
  46. package/lib/v2/500px/radar.js +19 -0
  47. package/lib/v2/500px/router.js +4 -0
  48. package/lib/v2/500px/templates/tribeSet.art +6 -0
  49. package/lib/v2/500px/templates/user.art +3 -0
  50. package/lib/v2/500px/tribeSet.js +29 -0
  51. package/lib/v2/500px/user.js +32 -0
  52. package/lib/v2/500px/utils.js +122 -0
  53. package/lib/v2/52hrtt/index.js +12 -13
  54. package/lib/v2/52hrtt/symposium.js +12 -13
  55. package/lib/v2/591/list.js +144 -0
  56. package/lib/v2/591/radar.js +16 -0
  57. package/lib/v2/591/router.js +3 -0
  58. package/lib/v2/591/templates/house.art +52 -0
  59. package/lib/v2/7mmtv/index.js +15 -23
  60. package/lib/v2/7mmtv/templates/description.art +5 -1
  61. package/lib/v2/abmedia/category.js +1 -1
  62. package/lib/v2/acg17/maintainer.js +3 -0
  63. package/lib/v2/acg17/post.js +20 -0
  64. package/lib/v2/acg17/radar.js +13 -0
  65. package/lib/v2/acg17/router.js +3 -0
  66. package/lib/v2/aeaweb/index.js +81 -0
  67. package/lib/v2/aeaweb/maintainer.js +3 -0
  68. package/lib/v2/aeaweb/radar.js +13 -0
  69. package/lib/v2/aeaweb/router.js +3 -0
  70. package/lib/v2/aeaweb/templates/description.art +3 -0
  71. package/lib/v2/ally/rail.js +41 -42
  72. package/lib/v2/annualreviews/index.js +68 -0
  73. package/lib/v2/annualreviews/maintainer.js +3 -0
  74. package/lib/v2/annualreviews/radar.js +13 -0
  75. package/lib/v2/annualreviews/router.js +3 -0
  76. package/lib/v2/apple/exchange_repair.js +28 -21
  77. package/lib/v2/baidu/maintainer.js +1 -0
  78. package/lib/v2/baidu/radar.js +8 -0
  79. package/lib/v2/baidu/router.js +1 -0
  80. package/lib/v2/baidu/templates/top.art +9 -0
  81. package/lib/v2/baidu/top.js +34 -0
  82. package/lib/v2/bdys/index.js +98 -0
  83. package/lib/v2/bdys/maintainer.js +3 -0
  84. package/lib/v2/bdys/radar.js +20 -0
  85. package/lib/v2/bdys/router.js +3 -0
  86. package/lib/v2/bdys/templates/desc.art +21 -0
  87. package/lib/v2/bilibili/video-all.js +1 -1
  88. package/lib/v2/bioone/featured.js +10 -8
  89. package/lib/v2/bioone/journal.js +28 -26
  90. package/lib/v2/bjfu/it/utils.js +3 -3
  91. package/lib/v2/bjsk/index.js +52 -0
  92. package/lib/v2/bjsk/maintainer.js +3 -0
  93. package/lib/v2/bjsk/radar.js +13 -0
  94. package/lib/v2/bjsk/router.js +3 -0
  95. package/lib/v2/bjwxdxh/index.js +52 -0
  96. package/lib/v2/bjwxdxh/maintainer.js +3 -0
  97. package/lib/v2/bjwxdxh/radar.js +13 -0
  98. package/lib/v2/bjwxdxh/router.js +3 -0
  99. package/lib/v2/blockbeats/index.js +28 -35
  100. package/lib/v2/blockbeats/maintainer.js +1 -1
  101. package/lib/v2/blockbeats/radar.js +3 -3
  102. package/lib/v2/bloomberg/utils.js +13 -11
  103. package/lib/v2/bnu/lib.js +40 -0
  104. package/lib/v2/bnu/maintainer.js +2 -0
  105. package/lib/v2/bnu/radar.js +15 -5
  106. package/lib/v2/bnu/router.js +1 -0
  107. package/lib/v2/byteclicks/index.js +22 -0
  108. package/lib/v2/byteclicks/maintainer.js +4 -0
  109. package/lib/v2/byteclicks/radar.js +19 -0
  110. package/lib/v2/byteclicks/router.js +4 -0
  111. package/lib/v2/byteclicks/tag.js +30 -0
  112. package/lib/v2/byteclicks/utils.js +13 -0
  113. package/lib/v2/caareviews/utils.js +2 -2
  114. package/lib/v2/caixin/article.js +27 -0
  115. package/lib/v2/caixin/blog.js +58 -0
  116. package/lib/v2/caixin/category.js +56 -0
  117. package/lib/{routes → v2}/caixin/database.js +14 -14
  118. package/lib/v2/caixin/k.js +40 -0
  119. package/lib/v2/caixin/latest.js +50 -0
  120. package/lib/v2/caixin/maintainer.js +8 -0
  121. package/lib/v2/caixin/radar.js +43 -0
  122. package/lib/v2/caixin/router.js +8 -0
  123. package/lib/v2/caixin/templates/article.art +38 -0
  124. package/lib/v2/caixin/utils.js +52 -0
  125. package/lib/v2/cartoonmad/comic.js +70 -0
  126. package/lib/v2/cartoonmad/maintainer.js +3 -0
  127. package/lib/v2/cartoonmad/radar.js +13 -0
  128. package/lib/v2/cartoonmad/router.js +3 -0
  129. package/lib/v2/cartoonmad/templates/chapter.art +1 -0
  130. package/lib/{routes/universities → v2}/cas/cg/index.js +4 -2
  131. package/lib/{routes/universities → v2}/cas/iee/kydt.js +7 -5
  132. package/lib/v2/cas/maintainer.js +6 -0
  133. package/lib/v2/cas/mesalab/kb.js +41 -0
  134. package/lib/v2/cas/radar.js +40 -0
  135. package/lib/v2/cas/router.js +6 -0
  136. package/lib/v2/cas/sim/kyjz.js +47 -0
  137. package/lib/v2/cast/index.js +74 -0
  138. package/lib/v2/cast/maintainer.js +3 -0
  139. package/lib/v2/cast/radar.js +13 -0
  140. package/lib/v2/cast/router.js +3 -0
  141. package/lib/v2/cctv/lm.js +22 -23
  142. package/lib/v2/chaincatcher/home.js +50 -0
  143. package/lib/v2/chaincatcher/maintainer.js +4 -0
  144. package/lib/v2/chaincatcher/news.js +40 -0
  145. package/lib/v2/chaincatcher/radar.js +19 -0
  146. package/lib/v2/chaincatcher/router.js +4 -0
  147. package/lib/v2/chaincatcher/templates/home.art +4 -0
  148. package/lib/v2/chinacef/experts.js +1 -1
  149. package/lib/v2/chinacef/hot.js +1 -1
  150. package/lib/v2/chinacef/index.js +1 -1
  151. package/lib/v2/chinafactcheck/index.js +1 -1
  152. package/lib/v2/chinathinktanks/viewpoint.js +12 -13
  153. package/lib/v2/ciidbnu/index.js +14 -15
  154. package/lib/v2/clickme/index.js +56 -0
  155. package/lib/v2/clickme/maintainer.js +3 -0
  156. package/lib/v2/clickme/radar.js +21 -0
  157. package/lib/v2/clickme/router.js +3 -0
  158. package/lib/v2/coindesk/index.js +36 -0
  159. package/lib/v2/coindesk/maintainer.js +3 -0
  160. package/lib/v2/coindesk/radar.js +13 -0
  161. package/lib/v2/coindesk/router.js +3 -0
  162. package/lib/v2/crac/index.js +46 -0
  163. package/lib/v2/crac/maintainer.js +3 -0
  164. package/lib/v2/crac/radar.js +13 -0
  165. package/lib/v2/crac/router.js +3 -0
  166. package/lib/v2/crossbell/feeds/following.js +29 -0
  167. package/lib/v2/crossbell/maintainer.js +6 -0
  168. package/lib/v2/crossbell/notes/character.js +22 -0
  169. package/lib/v2/crossbell/notes/index.js +16 -0
  170. package/lib/v2/crossbell/notes/source.js +19 -0
  171. package/lib/v2/crossbell/notes/utils.js +18 -0
  172. package/lib/v2/crossbell/radar.js +24 -0
  173. package/lib/v2/crossbell/router.js +6 -0
  174. package/lib/v2/csu/career.js +51 -0
  175. package/lib/v2/csu/mail.js +30 -26
  176. package/lib/v2/csu/maintainer.js +2 -0
  177. package/lib/v2/csu/radar.js +10 -2
  178. package/lib/v2/csu/router.js +1 -1
  179. package/lib/v2/csu/utils.js +17 -0
  180. package/lib/v2/dcard/section.js +1 -1
  181. package/lib/v2/dcfever/maintainer.js +6 -0
  182. package/lib/v2/dcfever/news.js +36 -0
  183. package/lib/v2/dcfever/radar.js +37 -0
  184. package/lib/v2/dcfever/reviews.js +29 -0
  185. package/lib/v2/dcfever/router.js +6 -0
  186. package/lib/v2/dcfever/templates/trading.art +14 -0
  187. package/lib/v2/dcfever/trading-search.js +39 -0
  188. package/lib/v2/dcfever/trading.js +39 -0
  189. package/lib/v2/dcfever/utils.js +78 -0
  190. package/lib/v2/disinformationindex/blog.js +12 -13
  191. package/lib/{routes → v2}/dlsite/campaign.js +22 -24
  192. package/lib/v2/dlsite/maintainer.js +4 -0
  193. package/lib/{routes → v2}/dlsite/new.js +27 -28
  194. package/lib/v2/dlsite/radar.js +15 -0
  195. package/lib/v2/dlsite/router.js +4 -0
  196. package/lib/v2/dtcj/datainsight.js +13 -14
  197. package/lib/v2/eastday/24.js +14 -15
  198. package/lib/v2/economist/full.js +2 -2
  199. package/lib/v2/ehentai/ehapi.js +10 -5
  200. package/lib/v2/ehentai/favorites.js +2 -2
  201. package/lib/v2/ehentai/search.js +2 -2
  202. package/lib/v2/ehentai/tag.js +1 -1
  203. package/lib/v2/eleduck/jobs.js +38 -0
  204. package/lib/v2/eleduck/maintainer.js +4 -0
  205. package/lib/v2/eleduck/posts.js +41 -0
  206. package/lib/v2/eleduck/radar.js +25 -0
  207. package/lib/v2/eleduck/router.js +4 -0
  208. package/lib/v2/fffdm/maintainer.js +3 -0
  209. package/lib/v2/fffdm/manhua/manhua.js +55 -0
  210. package/lib/v2/fffdm/radar.js +14 -0
  211. package/lib/v2/fffdm/router.js +3 -0
  212. package/lib/v2/fffdm/templates/manhua.art +5 -0
  213. package/lib/v2/fjksbm/index.js +53 -0
  214. package/lib/v2/fjksbm/maintainer.js +3 -0
  215. package/lib/v2/fjksbm/radar.js +13 -0
  216. package/lib/v2/fjksbm/router.js +3 -0
  217. package/lib/v2/flyert/utils.js +3 -3
  218. package/lib/v2/furstar/templates/description.art +1 -1
  219. package/lib/v2/gelonghui/hot-article.js +33 -0
  220. package/lib/v2/gelonghui/live.js +31 -0
  221. package/lib/v2/gelonghui/radar.js +12 -0
  222. package/lib/v2/gelonghui/router.js +2 -0
  223. package/lib/v2/gelonghui/templates/live.art +7 -0
  224. package/lib/v2/gelonghui/utils.js +6 -0
  225. package/lib/v2/github/maintainer.js +1 -0
  226. package/lib/v2/github/radar.js +35 -29
  227. package/lib/v2/github/router.js +1 -0
  228. package/lib/v2/github/wiki.js +32 -0
  229. package/lib/v2/gocn/topics.js +1 -1
  230. package/lib/v2/google/sitesRecentChanges.js +12 -13
  231. package/lib/v2/gov/beijing/bphc/index.js +1 -1
  232. package/lib/v2/gov/ccdi/utils.js +1 -1
  233. package/lib/v2/gov/maintainer.js +1 -0
  234. package/lib/v2/gov/pbc/utils.js +2 -2
  235. package/lib/v2/gov/radar.js +11 -0
  236. package/lib/v2/gov/router.js +1 -0
  237. package/lib/v2/gov/sichuan/deyang/govpulicinfo.js +3 -3
  238. package/lib/v2/gov/stats/utils.js +2 -2
  239. package/lib/v2/gov/wuhan/whyw.js +44 -0
  240. package/lib/v2/guandian/radar.js +8 -6
  241. package/lib/v2/gzh360/universal.js +3 -3
  242. package/lib/v2/gzh360/utils.js +2 -2
  243. package/lib/{routes/universities → v2}/hitsz/article.js +13 -15
  244. package/lib/v2/hitsz/maintainer.js +3 -0
  245. package/lib/v2/hitsz/radar.js +13 -0
  246. package/lib/v2/hitsz/router.js +3 -0
  247. package/lib/v2/hk01/utils.js +2 -2
  248. package/lib/v2/hljucm/maintainer.js +3 -0
  249. package/lib/v2/hljucm/radar.js +13 -0
  250. package/lib/v2/hljucm/router.js +3 -0
  251. package/lib/v2/hljucm/yjsy.js +56 -0
  252. package/lib/v2/hrbust/jwzx.js +36 -0
  253. package/lib/v2/hrbust/maintainer.js +3 -0
  254. package/lib/v2/hrbust/radar.js +13 -0
  255. package/lib/v2/hrbust/router.js +3 -0
  256. package/lib/v2/hrbust/templates/description.art +1 -0
  257. package/lib/v2/hrbust/utils.js +71 -0
  258. package/lib/v2/hunanpea/maintainer.js +3 -0
  259. package/lib/v2/hunanpea/radar.js +13 -0
  260. package/lib/v2/hunanpea/router.js +3 -0
  261. package/lib/v2/hunanpea/rsks.js +42 -0
  262. package/lib/v2/ikea/cn/family_offers.js +70 -0
  263. package/lib/v2/ikea/cn/low_price.js +22 -0
  264. package/lib/v2/ikea/cn/new.js +39 -0
  265. package/lib/v2/ikea/cn/utils.js +42 -0
  266. package/lib/v2/ikea/maintainer.js +3 -0
  267. package/lib/v2/ikea/radar.js +23 -0
  268. package/lib/v2/ikea/router.js +3 -0
  269. package/lib/v2/ikea/templates/cn/product.art +14 -0
  270. package/lib/v2/inoreader/index.js +46 -0
  271. package/lib/v2/inoreader/maintainer.js +3 -0
  272. package/lib/v2/inoreader/radar.js +17 -0
  273. package/lib/v2/inoreader/router.js +3 -0
  274. package/lib/v2/iqiyi/album.js +62 -0
  275. package/lib/v2/iqiyi/maintainer.js +4 -0
  276. package/lib/v2/iqiyi/radar.js +24 -0
  277. package/lib/v2/iqiyi/router.js +4 -0
  278. package/lib/v2/iqiyi/templates/album.art +1 -0
  279. package/lib/{routes → v2}/iqiyi/video.js +0 -0
  280. package/lib/v2/issuehunt/funded.js +28 -0
  281. package/lib/v2/issuehunt/maintainer.js +3 -0
  282. package/lib/v2/issuehunt/radar.js +13 -0
  283. package/lib/v2/issuehunt/router.js +3 -0
  284. package/lib/v2/jiaoliudao/index.js +35 -0
  285. package/lib/v2/jiaoliudao/maintainer.js +3 -0
  286. package/lib/v2/jiaoliudao/radar.js +13 -0
  287. package/lib/v2/jiaoliudao/router.js +3 -0
  288. package/lib/v2/jike/user.js +0 -1
  289. package/lib/v2/jin10/index.js +58 -0
  290. package/lib/v2/jin10/maintainer.js +3 -0
  291. package/lib/v2/jin10/radar.js +13 -0
  292. package/lib/v2/jin10/router.js +3 -0
  293. package/lib/v2/jin10/templates/description.art +2 -0
  294. package/lib/v2/ke/maintainer.js +3 -0
  295. package/lib/v2/ke/radar.js +13 -0
  296. package/lib/v2/ke/results.js +36 -0
  297. package/lib/v2/ke/router.js +3 -0
  298. package/lib/v2/kimlaw/maintainer.js +3 -0
  299. package/lib/v2/kimlaw/radar.js +13 -0
  300. package/lib/v2/kimlaw/router.js +3 -0
  301. package/lib/v2/kimlaw/thesis.js +44 -0
  302. package/lib/v2/layoffs/index.js +51 -21
  303. package/lib/v2/learnblockchain/maintainer.js +3 -0
  304. package/lib/v2/learnblockchain/posts.js +43 -0
  305. package/lib/v2/learnblockchain/radar.js +19 -0
  306. package/lib/v2/learnblockchain/router.js +3 -0
  307. package/lib/v2/linkedin/cn/index.js +13 -0
  308. package/lib/v2/linkedin/cn/renderer.js +179 -0
  309. package/lib/v2/linkedin/cn/utils.js +122 -0
  310. package/lib/v2/linkedin/maintainer.js +1 -0
  311. package/lib/v2/linkedin/radar.js +15 -1
  312. package/lib/v2/linkedin/router.js +1 -0
  313. package/lib/v2/linkedin/templates/cn/posting.art +25 -0
  314. package/lib/v2/lofter/user.js +2 -2
  315. package/lib/v2/mclaren/index.js +96 -0
  316. package/lib/v2/mclaren/maintainer.js +3 -0
  317. package/lib/v2/mclaren/radar.js +29 -0
  318. package/lib/v2/mclaren/router.js +3 -0
  319. package/lib/v2/mclaren/templates/desc.art +6 -0
  320. package/lib/v2/minecraft/maintainer.js +3 -0
  321. package/lib/v2/minecraft/radar.js +13 -0
  322. package/lib/v2/minecraft/router.js +3 -0
  323. package/lib/{routes → v2}/minecraft/version.js +1 -1
  324. package/lib/v2/misskey/featured-notes.js +29 -0
  325. package/lib/v2/misskey/maintainer.js +3 -0
  326. package/lib/v2/misskey/radar.js +35 -0
  327. package/lib/v2/misskey/router.js +3 -0
  328. package/lib/v2/misskey/templates/note.art +23 -0
  329. package/lib/v2/misskey/utils.js +31 -0
  330. package/lib/v2/mixcloud/index.js +130 -0
  331. package/lib/v2/mixcloud/maintainer.js +3 -0
  332. package/lib/v2/mixcloud/queries.js +1520 -0
  333. package/lib/v2/mixcloud/radar.js +37 -0
  334. package/lib/v2/mixcloud/router.js +3 -0
  335. package/lib/v2/mysql/release.js +9 -2
  336. package/lib/v2/nbd/index.js +6 -6
  337. package/lib/v2/njnu/ceai/utils.js +3 -3
  338. package/lib/v2/njnu/jwc/utils.js +3 -3
  339. package/lib/v2/nua/utils.js +2 -2
  340. package/lib/v2/odaily/activity.js +13 -14
  341. package/lib/v2/odaily/user.js +14 -15
  342. package/lib/v2/oilchem/index.js +20 -21
  343. package/lib/v2/oncc/maintainer.js +1 -0
  344. package/lib/v2/oncc/money18.js +115 -0
  345. package/lib/v2/oncc/radar.js +13 -5
  346. package/lib/v2/oncc/router.js +1 -0
  347. package/lib/v2/oncc/templates/money18.art +6 -0
  348. package/lib/{routes → v2}/phoronix/index.js +42 -46
  349. package/lib/v2/phoronix/maintainer.js +3 -0
  350. package/lib/v2/phoronix/radar.js +13 -0
  351. package/lib/v2/phoronix/router.js +3 -0
  352. package/lib/v2/pixiv/api/getRanking.js +1 -1
  353. package/lib/v2/pixiv/ranking.js +3 -0
  354. package/lib/v2/piyao/jrpy.js +39 -0
  355. package/lib/v2/piyao/maintainer.js +3 -0
  356. package/lib/v2/piyao/radar.js +13 -0
  357. package/lib/v2/piyao/router.js +3 -0
  358. package/lib/v2/pku/ss/admission.js +4 -42
  359. package/lib/v2/pku/ss/common.js +37 -0
  360. package/lib/v2/pku/ss/notice.js +4 -42
  361. package/lib/v2/pku/ss/pg_admin.js +4 -42
  362. package/lib/v2/qq/fact/index.js +61 -0
  363. package/lib/v2/qq/maintainer.js +1 -0
  364. package/lib/v2/qq/radar.js +8 -0
  365. package/lib/v2/qq/router.js +1 -0
  366. package/lib/v2/qq/templates/article.art +19 -0
  367. package/lib/v2/rodong/maintainer.js +3 -0
  368. package/lib/v2/rodong/news.js +45 -0
  369. package/lib/v2/rodong/radar.js +13 -0
  370. package/lib/v2/rodong/router.js +3 -0
  371. package/lib/v2/ruancan/category.js +8 -0
  372. package/lib/v2/ruancan/index.js +3 -55
  373. package/lib/v2/ruancan/maintainer.js +3 -3
  374. package/lib/v2/ruancan/radar.js +12 -6
  375. package/lib/v2/ruancan/router.js +4 -1
  376. package/lib/v2/ruancan/search.js +8 -0
  377. package/lib/v2/ruancan/user.js +8 -0
  378. package/lib/v2/ruancan/utils.js +66 -0
  379. package/lib/v2/sdu/extractor/index.js +5 -5
  380. package/lib/v2/sdu/extractor/sdrj.js +2 -2
  381. package/lib/v2/sdu/extractor/view.js +2 -2
  382. package/lib/v2/sdu/extractor/wh/jwc.js +2 -2
  383. package/lib/v2/sdu/extractor/wh/news.js +2 -2
  384. package/lib/v2/sdu/wh/jwc.js +1 -1
  385. package/lib/v2/sdu/wh/news.js +1 -1
  386. package/lib/v2/shmeea/self-study.js +4 -4
  387. package/lib/v2/sicau/dky.js +12 -13
  388. package/lib/v2/sicau/yan.js +13 -14
  389. package/lib/v2/sspai/bookmarks.js +41 -0
  390. package/lib/v2/sspai/maintainer.js +1 -0
  391. package/lib/v2/sspai/radar.js +6 -0
  392. package/lib/v2/sspai/router.js +1 -0
  393. package/lib/v2/stcn/index.js +25 -32
  394. package/lib/v2/stcn/maintainer.js +0 -3
  395. package/lib/v2/stcn/radar.js +4 -22
  396. package/lib/v2/stcn/router.js +1 -1
  397. package/lib/v2/swjtu/jtys/yjs.js +35 -0
  398. package/lib/v2/swjtu/jyzpxx.js +27 -0
  399. package/lib/v2/swjtu/maintainer.js +4 -0
  400. package/lib/v2/swjtu/radar.js +21 -0
  401. package/lib/v2/swjtu/router.js +4 -0
  402. package/lib/v2/swjtu/templates/job_desc.art +19 -0
  403. package/lib/v2/swjtu/templates/job_detail.art +21 -0
  404. package/lib/v2/swjtu/utils.js +33 -0
  405. package/lib/v2/telegram/channel.js +24 -4
  406. package/lib/v2/thepaper/maintainer.js +2 -1
  407. package/lib/v2/thepaper/radar.js +6 -0
  408. package/lib/v2/thepaper/router.js +2 -1
  409. package/lib/v2/thepaper/sidebar.js +24 -0
  410. package/lib/v2/thepaper/utils.js +51 -65
  411. package/lib/v2/twitter/utils.js +0 -1
  412. package/lib/v2/twitter/web-api/twitter-api.js +5 -5
  413. package/lib/v2/u9a9/index.js +66 -0
  414. package/lib/v2/u9a9/maintainer.js +4 -0
  415. package/lib/v2/u9a9/radar.js +19 -0
  416. package/lib/v2/u9a9/router.js +4 -0
  417. package/lib/v2/uber/blog.js +20 -21
  418. package/lib/v2/vocus/maintainer.js +4 -0
  419. package/lib/v2/vocus/publication.js +42 -0
  420. package/lib/v2/vocus/radar.js +19 -0
  421. package/lib/v2/vocus/router.js +4 -0
  422. package/lib/v2/vocus/user.js +43 -0
  423. package/lib/v2/vocus/utils.js +51 -0
  424. package/lib/v2/wechat/ce.js +2 -2
  425. package/lib/v2/wechat/data258.js +1 -1
  426. package/lib/v2/wechat/ershcimi.js +1 -1
  427. package/lib/v2/wechat/feeddd.js +1 -1
  428. package/lib/v2/wechat/feeds.js +1 -1
  429. package/lib/v2/wechat/maintainer.js +1 -1
  430. package/lib/v2/wechat/mp.js +2 -2
  431. package/lib/v2/wechat/msgalbum.js +2 -2
  432. package/lib/v2/wechat/radar.js +9 -9
  433. package/lib/v2/wechat/router.js +1 -1
  434. package/lib/v2/wechat/wechat2rss.js +28 -0
  435. package/lib/v2/wfu/news.js +1 -1
  436. package/lib/v2/who/news-room.js +17 -18
  437. package/lib/v2/who/news.js +11 -12
  438. package/lib/v2/wp-china/news.js +12 -13
  439. package/lib/v2/wyzxwk/article.js +20 -21
  440. package/lib/v2/xaufe/jiaowu.js +72 -0
  441. package/lib/v2/xaufe/maintainer.js +3 -0
  442. package/lib/v2/xaufe/radar.js +11 -0
  443. package/lib/v2/xaufe/router.js +3 -0
  444. package/lib/v2/xiaomiyoupin/crowdfunding.js +33 -5
  445. package/lib/v2/xiaomiyoupin/templates/goods.art +6 -6
  446. package/lib/v2/yahoo/maintainer.js +3 -0
  447. package/lib/{routes/yahoo-news → v2/yahoo/news}/index.js +7 -9
  448. package/lib/v2/yahoo/radar.js +13 -0
  449. package/lib/v2/yahoo/router.js +3 -0
  450. package/lib/v2/yicai/utils.js +1 -1
  451. package/lib/v2/youtube/user.js +15 -3
  452. package/lib/v2/youtube/utils.js +1 -1
  453. package/lib/v2/yuque/book.js +79 -0
  454. package/lib/v2/yuque/maintainer.js +3 -0
  455. package/lib/v2/yuque/radar.js +13 -0
  456. package/lib/v2/yuque/router.js +3 -0
  457. package/lib/v2/yuque/utils.js +46 -0
  458. package/lib/v2/zhibo8/forum.js +15 -16
  459. package/lib/v2/zhibo8/luxiang.js +38 -0
  460. package/lib/v2/zhibo8/maintainer.js +1 -0
  461. package/lib/v2/zhibo8/more.js +12 -17
  462. package/lib/v2/zhibo8/post.js +28 -18
  463. package/lib/v2/zhibo8/radar.js +8 -0
  464. package/lib/v2/zhibo8/router.js +1 -0
  465. package/package.json +14 -13
  466. package/lib/routes/baidu/topwords.js +0 -38
  467. package/lib/routes/caixin/article.js +0 -46
  468. package/lib/routes/caixin/blog.js +0 -62
  469. package/lib/routes/caixin/category.js +0 -48
  470. package/lib/routes/caixin/latest.js +0 -75
  471. package/lib/routes/caixin/yxnews.js +0 -30
  472. package/lib/routes/cartoonmad/comic.js +0 -69
  473. package/lib/routes/clickme/index.js +0 -76
  474. package/lib/routes/eleduck/jobs.js +0 -38
  475. package/lib/routes/fzdm/manhua.js +0 -62
  476. package/lib/routes/iqiyi/dongman.js +0 -42
  477. package/lib/routes/jinshi/index.js +0 -35
  478. package/lib/routes/ncm/playlist.js +0 -45
  479. package/lib/routes/netease/ds.js +0 -41
  480. package/lib/routes/netease/dy.js +0 -54
  481. package/lib/routes/netease/dy2.js +0 -62
  482. package/lib/routes/netease/open/latest.js +0 -68
  483. package/lib/routes/netease/open/vip.js +0 -39
  484. package/lib/routes/swjtu/tl/news.js +0 -35
  485. package/lib/routes/tencent/factcheck/index.js +0 -51
  486. package/lib/routes/universities/cas/mesalab/kb.js +0 -45
  487. package/lib/routes/universities/cas/sim/academic.js +0 -59
  488. package/lib/routes/vocus/publication.js +0 -19
  489. package/lib/routes/vocus/utils.js +0 -29
  490. package/lib/routes/yuque/doc.js +0 -60
  491. package/lib/v2/csu/job.js +0 -34
  492. package/lib/v2/mp4er/index.js +0 -83
  493. package/lib/v2/mp4er/maintainer.js +0 -3
  494. package/lib/v2/mp4er/radar.js +0 -13
  495. package/lib/v2/mp4er/router.js +0 -3
  496. package/lib/v2/netease/maintainer.js +0 -6
  497. package/lib/v2/netease/radar.js +0 -37
  498. package/lib/v2/netease/router.js +0 -6
  499. package/lib/v2/wechat/wemp.js +0 -58
package/lib/config.js CHANGED
@@ -279,9 +279,6 @@ const calculateValue = () => {
279
279
  clientSecret: envs.YOUTUBE_CLIENT_SECRET,
280
280
  refreshToken: envs.YOUTUBE_REFRESH_TOKEN,
281
281
  },
282
- yuque: {
283
- token: envs.YUQUE_TOKEN,
284
- },
285
282
  zhihu: {
286
283
  cookies: envs.ZHIHU_COOKIES,
287
284
  },
@@ -139,6 +139,13 @@ module.exports = async (ctx, next) => {
139
139
  });
140
140
 
141
141
  item.description = $('body').html() + '' + (config.suffix || '');
142
+
143
+ if (item._extra?.links && $('.rsshub-quote').length) {
144
+ item._extra?.links?.map((e) => {
145
+ e.content_html = $.html($('.rsshub-quote'));
146
+ return e;
147
+ });
148
+ }
142
149
  }
143
150
  return item;
144
151
  };
@@ -266,7 +273,7 @@ module.exports = async (ctx, next) => {
266
273
  });
267
274
 
268
275
  item.author = author || (parsed_result ? parsed_result.author : '');
269
- item.description = parsed_result ? entities.decodeXML(parsed_result.content) : description;
276
+ item.description = parsed_result && parsed_result.content.length > 40 ? entities.decodeXML(parsed_result.content) : description;
270
277
  });
271
278
  await Promise.all(tasks);
272
279
  }
@@ -395,95 +395,6 @@ module.exports = {
395
395
  },
396
396
  ],
397
397
  },
398
- '163.com': {
399
- _name: '网易',
400
- ds: [
401
- {
402
- title: '大神',
403
- docs: 'https://docs.rsshub.app/game.html#wang-yi-da-shen',
404
- source: '/user/:id',
405
- target: '/netease/ds/:id',
406
- },
407
- ],
408
- open: [
409
- {
410
- title: '公开课 - 精品课程',
411
- docs: 'https://docs.rsshub.app/study.html#wang-yi-gong-kai-ke',
412
- source: '/',
413
- target: '/open163/vip',
414
- },
415
- {
416
- title: '公开课 - 最新课程',
417
- docs: 'https://docs.rsshub.app/study.html#wang-yi-gong-kai-ke',
418
- source: '/',
419
- target: '/open163/latest',
420
- },
421
- ],
422
- music: [
423
- {
424
- title: '云音乐 - 用户歌单',
425
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
426
- source: '/',
427
- target: (params, url) => {
428
- const id = new URL(url).hash.match(/home\?id=(.*)/)[1];
429
- return id ? `/ncm/user/playlist/${id}` : '';
430
- },
431
- },
432
- {
433
- title: '云音乐 - 歌单歌曲',
434
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
435
- source: '/',
436
- target: (params, url) => {
437
- const id = new URL(url).hash.match(/playlist\?id=(.*)/)[1];
438
- return id ? `/ncm/playlist/${id}` : '';
439
- },
440
- },
441
- {
442
- title: '云音乐 - 歌手专辑',
443
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
444
- source: '/',
445
- target: (params, url) => {
446
- const id = new URL(url).hash.match(/album\?id=(.*)/)[1];
447
- return id ? `/ncm/artist/${id}` : '';
448
- },
449
- },
450
- {
451
- title: '云音乐 - 电台节目',
452
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
453
- source: '/',
454
- target: (params, url) => {
455
- const id = new URL(url).hash.match(/djradio\?id=(.*)/)[1];
456
- return id ? `/ncm/djradio/${id}` : '';
457
- },
458
- },
459
- ],
460
- 'y.music': [
461
- {
462
- title: '云音乐 - 用户歌单',
463
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
464
- source: '/m/user',
465
- target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
466
- },
467
- {
468
- title: '云音乐 - 歌单歌曲',
469
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
470
- source: '/m/playlist',
471
- target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
472
- },
473
- {
474
- title: '云音乐 - 歌手专辑',
475
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
476
- source: '/m/album',
477
- target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
478
- },
479
- {
480
- title: '云音乐 - 播单声音',
481
- docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
482
- source: ['/m/radio', '/m/djradio'],
483
- target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
484
- },
485
- ],
486
- },
487
398
  'suzhou.gov.cn': {
488
399
  _name: '苏州市政府',
489
400
  www: [
@@ -1200,28 +1111,6 @@ module.exports = {
1200
1111
  },
1201
1112
  ],
1202
1113
  },
1203
- 'yuque.com': {
1204
- _name: '语雀',
1205
- www: [
1206
- {
1207
- title: '知识库',
1208
- docs: 'https://docs.rsshub.app/study.html#yu-que',
1209
- source: ['/:space/:book'],
1210
- target: (params, url, document) => {
1211
- const match = document.documentElement.innerHTML.match(/JSON\.parse\(decodeURIComponent\("(.*)"\)/);
1212
- if (match && match[1]) {
1213
- const dataStr = match[1];
1214
- try {
1215
- const appData = JSON.parse(decodeURIComponent(dataStr));
1216
- return `/yuque/doc/${appData.book.id}`;
1217
- } catch (e) {
1218
- // pass
1219
- }
1220
- }
1221
- },
1222
- },
1223
- ],
1224
- },
1225
1114
  'bjeea.com': {
1226
1115
  _name: '北京考试院',
1227
1116
  www: [
package/lib/router.js CHANGED
@@ -62,11 +62,11 @@ router.get('/benedictevans', lazyloadRouteHandler('./routes/benedictevans/recent
62
62
  // router.get('/tieba/user/:uid', lazyloadRouteHandler('./routes/tieba/user'));
63
63
 
64
64
  // 网易云音乐
65
- router.get('/ncm/playlist/:id', lazyloadRouteHandler('./routes/ncm/playlist'));
66
- router.get('/ncm/user/playlist/:uid', lazyloadRouteHandler('./routes/ncm/userplaylist'));
67
- router.get('/ncm/artist/:id', lazyloadRouteHandler('./routes/ncm/artist'));
68
- router.get('/ncm/djradio/:id', lazyloadRouteHandler('./routes/ncm/djradio'));
69
- router.get('/ncm/user/playrecords/:uid/:type?', lazyloadRouteHandler('./routes/ncm/userplayrecords'));
65
+ // router.get('/ncm/playlist/:id', lazyloadRouteHandler('./routes/ncm/playlist'));
66
+ // router.get('/ncm/user/playlist/:uid', lazyloadRouteHandler('./routes/ncm/userplaylist'));
67
+ // router.get('/ncm/artist/:id', lazyloadRouteHandler('./routes/ncm/artist'));
68
+ // router.get('/ncm/djradio/:id', lazyloadRouteHandler('./routes/ncm/djradio'));
69
+ // router.get('/ncm/user/playrecords/:uid/:type?', lazyloadRouteHandler('./routes/ncm/userplayrecords'));
70
70
 
71
71
  // 掘金 migrated to v2
72
72
  // router.get('/juejin/category/:category', lazyloadRouteHandler('./routes/juejin/category'));
@@ -176,8 +176,8 @@ router.get('/geektime/news', lazyloadRouteHandler('./routes/geektime/news'));
176
176
  router.get('/qdaily/:type/:id', lazyloadRouteHandler('./routes/qdaily/index'));
177
177
 
178
178
  // 爱奇艺
179
- router.get('/iqiyi/dongman/:id', lazyloadRouteHandler('./routes/iqiyi/dongman'));
180
- router.get('/iqiyi/user/video/:uid', lazyloadRouteHandler('./routes/iqiyi/video'));
179
+ // router.get('/iqiyi/dongman/:id', lazyloadRouteHandler('./routes/iqiyi/dongman'));
180
+ // router.get('/iqiyi/user/video/:uid', lazyloadRouteHandler('./routes/iqiyi/video'));
181
181
 
182
182
  // 南方周末
183
183
  router.get('/infzm/:id', lazyloadRouteHandler('./routes/infzm/news'));
@@ -288,11 +288,11 @@ router.get('/mihoyo/bh2/:type', lazyloadRouteHandler('./routes/mihoyo/bh2'));
288
288
  // router.get('/cctv-special/:id?', lazyloadRouteHandler('./routes/cctv/special'));
289
289
 
290
290
  // 财新博客
291
- router.get('/caixin/blog/:column', lazyloadRouteHandler('./routes/caixin/blog'));
292
- router.get('/caixin/article', lazyloadRouteHandler('./routes/caixin/article'));
293
- router.get('/caixin/database', lazyloadRouteHandler('./routes/caixin/database'));
294
- router.get('/caixin/yxnews', lazyloadRouteHandler('./routes/caixin/yxnews'));
295
- router.get('/caixin/:column/:category', lazyloadRouteHandler('./routes/caixin/category'));
291
+ // router.get('/caixin/blog/:column', lazyloadRouteHandler('./routes/caixin/blog'));
292
+ // router.get('/caixin/article', lazyloadRouteHandler('./routes/caixin/article'));
293
+ // router.get('/caixin/database', lazyloadRouteHandler('./routes/caixin/database'));
294
+ // router.get('/caixin/yxnews', lazyloadRouteHandler('./routes/caixin/yxnews'));
295
+ // router.get('/caixin/:column/:category', lazyloadRouteHandler('./routes/caixin/category'));
296
296
 
297
297
  // 草榴社区
298
298
  router.get('/t66y/post/:tid', lazyloadRouteHandler('./routes/t66y/post'));
@@ -330,8 +330,8 @@ router.get('/cpython/:pre?', lazyloadRouteHandler('./routes/cpython'));
330
330
  // 小米
331
331
  router.get('/mi/golden', lazyloadRouteHandler('./routes/mi/golden'));
332
332
  router.get('/mi/crowdfunding', lazyloadRouteHandler('./routes/mi/crowdfunding'));
333
- router.get('/mi/youpin/crowdfunding', lazyloadRouteHandler('./routes/mi/youpin/crowdfunding'));
334
- router.get('/mi/youpin/new/:sort?', lazyloadRouteHandler('./routes/mi/youpin/new'));
333
+ // router.get('/mi/youpin/crowdfunding', lazyloadRouteHandler('./routes/mi/youpin/crowdfunding'));
334
+ // router.get('/mi/youpin/new/:sort?', lazyloadRouteHandler('./routes/mi/youpin/new'));
335
335
  router.get('/miui/:device/:type?/:region?', lazyloadRouteHandler('./routes/mi/miui/index'));
336
336
  router.get('/mi/bbs/board/:boardId', lazyloadRouteHandler('./routes/mi/board'));
337
337
 
@@ -531,7 +531,7 @@ router.get('/hhu/libNewsc', lazyloadRouteHandler('./routes/universities/hhu/libN
531
531
  // router.get('/hit/today/:category', lazyloadRouteHandler('./routes/universities/hit/today'));
532
532
 
533
533
  // 哈尔滨工业大学(深圳)
534
- router.get('/hitsz/article/:category?', lazyloadRouteHandler('./routes/universities/hitsz/article'));
534
+ // router.get('/hitsz/article/:category?', lazyloadRouteHandler('./routes/universities/hitsz/article'));
535
535
 
536
536
  // 哈尔滨工业大学(威海)
537
537
  // router.get('/hitwh/today', lazyloadRouteHandler('./routes/universities/hitwh/today'));
@@ -590,10 +590,10 @@ router.get('/scnu/cs/match', lazyloadRouteHandler('./routes/universities/scnu/cs
590
590
  // router.get('/gdut/news', lazyloadRouteHandler('./routes/universities/gdut/news'));
591
591
 
592
592
  // 中国科学院
593
- router.get('/cas/sim/academic', lazyloadRouteHandler('./routes/universities/cas/sim/academic'));
594
- router.get('/cas/mesalab/kb', lazyloadRouteHandler('./routes/universities/cas/mesalab/kb'));
595
- router.get('/cas/iee/kydt', lazyloadRouteHandler('./routes/universities/cas/iee/kydt'));
596
- router.get('/cas/cg/:caty?', lazyloadRouteHandler('./routes/universities/cas/cg/index'));
593
+ // router.get('/cas/sim/academic', lazyloadRouteHandler('./routes/universities/cas/sim/academic'));
594
+ // router.get('/cas/mesalab/kb', lazyloadRouteHandler('./routes/universities/cas/mesalab/kb'));
595
+ // router.get('/cas/iee/kydt', lazyloadRouteHandler('./routes/universities/cas/iee/kydt'));
596
+ // router.get('/cas/cg/:caty?', lazyloadRouteHandler('./routes/universities/cas/cg/index'));
597
597
 
598
598
  // 中国传媒大学
599
599
  // router.get('/cuc/yz', lazyloadRouteHandler('./v2/cuc/yz'));
@@ -950,7 +950,7 @@ router.get('/geekpark/breakingnews', lazyloadRouteHandler('./routes/geekpark/bre
950
950
 
951
951
  // 百度
952
952
  router.get('/baidu/doodles', lazyloadRouteHandler('./routes/baidu/doodles'));
953
- router.get('/baidu/topwords/:boardId?', lazyloadRouteHandler('./routes/baidu/topwords'));
953
+ // router.get('/baidu/topwords/:boardId?', lazyloadRouteHandler('./routes/baidu/topwords'));
954
954
  router.get('/baidu/daily', lazyloadRouteHandler('./routes/baidu/daily'));
955
955
 
956
956
  // 搜狗
@@ -1007,7 +1007,7 @@ router.get('/tencentvideo/playlist/:id', lazyloadRouteHandler('./routes/tencent/
1007
1007
  // router.get('/copymanga/comic/:id', lazyloadRouteHandler('./routes/copymanga/comic'));
1008
1008
 
1009
1009
  // 動漫狂
1010
- router.get('/cartoonmad/comic/:id', lazyloadRouteHandler('./routes/cartoonmad/comic'));
1010
+ // router.get('/cartoonmad/comic/:id', lazyloadRouteHandler('./routes/cartoonmad/comic'));
1011
1011
  // Vol
1012
1012
  router.get('/vol/:mode?', lazyloadRouteHandler('./routes/vol/lastupdate'));
1013
1013
  // 咚漫
@@ -1505,8 +1505,8 @@ router.get('/bupt/news', lazyloadRouteHandler('./routes/universities/bupt/news')
1505
1505
  router.get('/bupt/funbox', lazyloadRouteHandler('./routes/universities/bupt/funbox'));
1506
1506
 
1507
1507
  // VOCUS 方格子
1508
- router.get('/vocus/publication/:id', lazyloadRouteHandler('./routes/vocus/publication'));
1509
- router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
1508
+ // router.get('/vocus/publication/:id', lazyloadRouteHandler('./routes/vocus/publication'));
1509
+ // router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
1510
1510
 
1511
1511
  // 一亩三分地 1point3acres
1512
1512
  router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
@@ -1631,7 +1631,7 @@ router.get('/swufe/seie/:type?', lazyloadRouteHandler('./routes/universities/swu
1631
1631
  router.get('/wired/tag/:tag', lazyloadRouteHandler('./routes/wired/tag'));
1632
1632
 
1633
1633
  // 语雀文档
1634
- router.get('/yuque/doc/:repo_id', lazyloadRouteHandler('./routes/yuque/doc'));
1634
+ // router.get('/yuque/doc/:repo_id', lazyloadRouteHandler('./routes/yuque/doc'));
1635
1635
 
1636
1636
  // 飞地
1637
1637
  router.get('/enclavebooks/category/:id?', lazyloadRouteHandler('./routes/enclavebooks/category'));
@@ -1798,7 +1798,7 @@ router.get('/im2maker/:channel?', lazyloadRouteHandler('./routes/im2maker/index'
1798
1798
  router.get('/cninfo/announcement/:column/:code/:orgId/:category?/:search?', lazyloadRouteHandler('./routes/cninfo/announcement'));
1799
1799
 
1800
1800
  // 金十数据
1801
- router.get('/jinshi/index', lazyloadRouteHandler('./routes/jinshi/index'));
1801
+ // router.get('/jinshi/index', lazyloadRouteHandler('./routes/jinshi/index'));
1802
1802
 
1803
1803
  // 中华人民共和国农业农村部
1804
1804
  router.get('/gov/moa/sjzxfb', lazyloadRouteHandler('./routes/gov/moa/sjzxfb'));
@@ -2033,7 +2033,7 @@ router.get('/network360/jobs', lazyloadRouteHandler('./routes/network360/jobs'))
2033
2033
  router.get('/zhilian/:city/:keyword', lazyloadRouteHandler('./routes/zhilian/index'));
2034
2034
 
2035
2035
  // 电鸭社区
2036
- router.get('/eleduck/jobs', lazyloadRouteHandler('./routes/eleduck/jobs'));
2036
+ // router.get('/eleduck/jobs', lazyloadRouteHandler('./routes/eleduck/jobs'));
2037
2037
 
2038
2038
  // 北华航天工业学院 - 新闻
2039
2039
  router.get('/nciae/news', lazyloadRouteHandler('./routes/universities/nciae/news'));
@@ -2122,7 +2122,7 @@ router.get('/wineyun/:category', lazyloadRouteHandler('./routes/wineyun'));
2122
2122
  router.get('/kzfeed/topic/:id', lazyloadRouteHandler('./routes/kzfeed/topic'));
2123
2123
 
2124
2124
  // 腾讯新闻较真查证平台
2125
- router.get('/factcheck', lazyloadRouteHandler('./routes/tencent/factcheck'));
2125
+ // router.get('/factcheck', lazyloadRouteHandler('./routes/tencent/factcheck'));
2126
2126
 
2127
2127
  // X-MOL化学资讯平台
2128
2128
  router.get('/x-mol/news/:tag?', lazyloadRouteHandler('./routes/x-mol/news.js'));
@@ -2187,8 +2187,8 @@ router.get('/cell/cover', lazyloadRouteHandler('./routes/cell/cover'));
2187
2187
  // router.get('/sciencemag/early/science', lazyloadRouteHandler('./routes/sciencemag/early'));
2188
2188
 
2189
2189
  // dlsite
2190
- router.get('/dlsite/new/:type', lazyloadRouteHandler('./routes/dlsite/new'));
2191
- router.get('/dlsite/campaign/:type/:free?', lazyloadRouteHandler('./routes/dlsite/campaign'));
2190
+ // router.get('/dlsite/new/:type', lazyloadRouteHandler('./routes/dlsite/new'));
2191
+ // router.get('/dlsite/campaign/:type/:free?', lazyloadRouteHandler('./routes/dlsite/campaign'));
2192
2192
 
2193
2193
  // mcbbs
2194
2194
  router.get('/mcbbs/forum/:type', lazyloadRouteHandler('./routes/mcbbs/forum'));
@@ -2223,7 +2223,7 @@ router.get('/gov/cnca/hydt', lazyloadRouteHandler('./routes/gov/cnca/hydt'));
2223
2223
  router.get('/gov/cnca/zxtz', lazyloadRouteHandler('./routes/gov/cnca/zxtz'));
2224
2224
 
2225
2225
  // clickme
2226
- router.get('/clickme/:site/:grouping/:name', lazyloadRouteHandler('./routes/clickme'));
2226
+ // router.get('/clickme/:site/:grouping/:name', lazyloadRouteHandler('./routes/clickme'));
2227
2227
 
2228
2228
  // 文汇报
2229
2229
  router.get('/whb/:category', lazyloadRouteHandler('./routes/whb/zhuzhan'));
@@ -2315,7 +2315,7 @@ router.get('/chrome/webstore/extensions/:id', lazyloadRouteHandler('./routes/chr
2315
2315
  router.get('/rthk-news/:lang/:category', lazyloadRouteHandler('./routes/rthk-news/index'));
2316
2316
 
2317
2317
  // yahoo
2318
- router.get('/yahoo-news/:region/:category?', lazyloadRouteHandler('./routes/yahoo-news/index'));
2318
+ // router.get('/yahoo-news/:region/:category?', lazyloadRouteHandler('./routes/yahoo-news/index'));
2319
2319
 
2320
2320
  // Yahoo!テレビ
2321
2321
  router.get('/yahoo-jp-tv/:query', lazyloadRouteHandler('./routes/yahoo-jp-tv/index'));
@@ -2382,7 +2382,7 @@ router.get('/ifnews/:cid', lazyloadRouteHandler('./routes/ifnews/column'));
2382
2382
  router.get('/scala/blog/:part?', lazyloadRouteHandler('./routes/scala-blog/scala-blog'));
2383
2383
 
2384
2384
  // Minecraft Java版游戏更新
2385
- router.get('/minecraft/version', lazyloadRouteHandler('./routes/minecraft/version'));
2385
+ // router.get('/minecraft/version', lazyloadRouteHandler('./routes/minecraft/version'));
2386
2386
 
2387
2387
  // 微信更新日志
2388
2388
  router.get('/weixin/miniprogram/release', lazyloadRouteHandler('./routes/tencent/wechat/miniprogram/framework')); // 基础库更新日志
@@ -2631,9 +2631,6 @@ router.get('/hnust/art', lazyloadRouteHandler('./routes/universities/hnust/art/i
2631
2631
  router.get('/hnust/chem', lazyloadRouteHandler('./routes/universities/hnust/chem/index'));
2632
2632
  router.get('/hnust/graduate/:type?', lazyloadRouteHandler('./routes/universities/hnust/graduate/index'));
2633
2633
 
2634
- // 西南交通大学
2635
- router.get('/swjtu/tl/news', lazyloadRouteHandler('./routes/swjtu/tl/news'));
2636
-
2637
2634
  // AGE动漫
2638
2635
  // router.get('/agefans/detail/:id', lazyloadRouteHandler('./routes/agefans/detail'));
2639
2636
  // router.get('/agefans/update', lazyloadRouteHandler('./routes/agefans/update'));
@@ -2803,7 +2800,7 @@ router.get('/grubstreet', lazyloadRouteHandler('./routes/grubstreet/index'));
2803
2800
  router.get('/manhuadui/manhua/:name/:serial?', lazyloadRouteHandler('./routes/manhuadui/manhua'));
2804
2801
 
2805
2802
  // 风之漫画
2806
- router.get('/fzdm/manhua/:id', lazyloadRouteHandler('./routes/fzdm/manhua'));
2803
+ // router.get('/fzdm/manhua/:id', lazyloadRouteHandler('./routes/fzdm/manhua'));
2807
2804
 
2808
2805
  // Aljazeera 半岛网
2809
2806
  // router.get('/aljazeera/news', lazyloadRouteHandler('./routes/aljazeera/news'));
@@ -2897,18 +2894,18 @@ router.get('/futunn/highlights', lazyloadRouteHandler('./routes/futunn/highlight
2897
2894
 
2898
2895
  // 网易新闻
2899
2896
  // router.get('/netease/news/rank/:category?/:type?/:time?', lazyloadRouteHandler('./routes/netease/news/rank'));
2900
- router.get('/netease/news/special/:type?', lazyloadRouteHandler('./routes/netease/news/special'));
2897
+ // router.get('/netease/news/special/:type?', lazyloadRouteHandler('./routes/netease/news/special'));
2901
2898
 
2902
2899
  // 网易 - 网易号
2903
- router.get('/netease/dy/:id', lazyloadRouteHandler('./routes/netease/dy'));
2904
- router.get('/netease/dy2/:id', lazyloadRouteHandler('./routes/netease/dy2'));
2900
+ // router.get('/netease/dy/:id', lazyloadRouteHandler('./routes/netease/dy'));
2901
+ // router.get('/netease/dy2/:id', lazyloadRouteHandler('./routes/netease/dy2'));
2905
2902
 
2906
2903
  // 网易大神
2907
- router.get('/netease/ds/:id', lazyloadRouteHandler('./routes/netease/ds'));
2904
+ // router.get('/netease/ds/:id', lazyloadRouteHandler('./routes/netease/ds'));
2908
2905
 
2909
2906
  // 网易公开课
2910
- router.get('/open163/vip', lazyloadRouteHandler('./routes/netease/open/vip'));
2911
- router.get('/open163/latest', lazyloadRouteHandler('./routes/netease/open/latest'));
2907
+ // router.get('/open163/vip', lazyloadRouteHandler('./routes/netease/open/vip'));
2908
+ // router.get('/open163/latest', lazyloadRouteHandler('./routes/netease/open/latest'));
2912
2909
 
2913
2910
  // Boston.com
2914
2911
  router.get('/boston/:tag?', lazyloadRouteHandler('./routes/boston/index'));
@@ -3381,7 +3378,7 @@ router.get('/uisdc/topic/:title?/:sort?', lazyloadRouteHandler('./routes/uisdc/t
3381
3378
  router.get('/chinalaborwatch/reports/:lang?/:industry?', lazyloadRouteHandler('./routes/chinalaborwatch/reports'));
3382
3379
 
3383
3380
  // Phoronix
3384
- router.get('/phoronix/:page/:queryOrItem?', lazyloadRouteHandler('./routes/phoronix/index'));
3381
+ // router.get('/phoronix/:page/:queryOrItem?', lazyloadRouteHandler('./routes/phoronix/index'));
3385
3382
 
3386
3383
  // 美国中央情报局
3387
3384
  router.get('/cia/foia-annual-report', lazyloadRouteHandler('./routes/us/cia/foia-annual-report'));
@@ -3633,7 +3630,7 @@ router.get('/cppcc/:slug?', lazyloadRouteHandler('./routes/gov/cppcc/index'));
3633
3630
  router.get('/nace/blog/:sort?', lazyloadRouteHandler('./routes/nace/blog'));
3634
3631
 
3635
3632
  // Caixin Latest
3636
- router.get('/caixin/latest', lazyloadRouteHandler('./routes/caixin/latest'));
3633
+ // router.get('/caixin/latest', lazyloadRouteHandler('./routes/caixin/latest'));
3637
3634
 
3638
3635
  // Semiconductor Industry Association
3639
3636
  router.get('/semiconductors/latest-news', lazyloadRouteHandler('./routes/semiconductors/latest-news'));
@@ -29,19 +29,18 @@ module.exports = async (ctx) => {
29
29
  .get();
30
30
 
31
31
  const items = await Promise.all(
32
- list.map(
33
- async (item) =>
34
- await ctx.cache.tryGet(item.link, async () => {
35
- const detailResponse = await got({
36
- method: 'get',
37
- url: item.link,
38
- });
39
- const content = cheerio.load(detailResponse.data);
40
-
41
- item.description = content('.middle_box').html();
42
-
43
- return item;
44
- })
32
+ list.map((item) =>
33
+ ctx.cache.tryGet(item.link, async () => {
34
+ const detailResponse = await got({
35
+ method: 'get',
36
+ url: item.link,
37
+ });
38
+ const content = cheerio.load(detailResponse.data);
39
+
40
+ item.description = content('.middle_box').html();
41
+
42
+ return item;
43
+ })
45
44
  )
46
45
  );
47
46
 
@@ -31,21 +31,20 @@ module.exports = async (ctx) => {
31
31
  .get();
32
32
 
33
33
  const items = await Promise.all(
34
- list.map(
35
- async (item) =>
36
- await ctx.cache.tryGet(item.link, async () => {
37
- const detailResponse = await got({
38
- method: 'get',
39
- url: item.link,
40
- });
41
- const content = cheerio.load(detailResponse.data);
34
+ list.map((item) =>
35
+ ctx.cache.tryGet(item.link, async () => {
36
+ const detailResponse = await got({
37
+ method: 'get',
38
+ url: item.link,
39
+ });
40
+ const content = cheerio.load(detailResponse.data);
42
41
 
43
- content('.newsTitle, .ads').remove();
42
+ content('.newsTitle, .ads').remove();
44
43
 
45
- item.description = content('div[itemprop="text"]').html();
44
+ item.description = content('div[itemprop="text"]').html();
46
45
 
47
- return item;
48
- })
46
+ return item;
47
+ })
49
48
  )
50
49
  );
51
50
 
@@ -43,21 +43,20 @@ module.exports = async (ctx) => {
43
43
  .get();
44
44
 
45
45
  const items = await Promise.all(
46
- list.map(
47
- async (item) =>
48
- await ctx.cache.tryGet(item.link, async () => {
49
- const detailResponse = await got({
50
- method: 'get',
51
- url: item.link,
52
- });
53
- const content = cheerio.load(detailResponse.data);
46
+ list.map((item) =>
47
+ ctx.cache.tryGet(item.link, async () => {
48
+ const detailResponse = await got({
49
+ method: 'get',
50
+ url: item.link,
51
+ });
52
+ const content = cheerio.load(detailResponse.data);
54
53
 
55
- content('.newsTitle, .ads').remove();
54
+ content('.newsTitle, .ads').remove();
56
55
 
57
- item.description = content('div[itemprop="text"]').html();
56
+ item.description = content('div[itemprop="text"]').html();
58
57
 
59
- return item;
60
- })
58
+ return item;
59
+ })
61
60
  )
62
61
  );
63
62
 
@@ -94,23 +94,22 @@ module.exports = async (ctx) => {
94
94
  }));
95
95
 
96
96
  const items = await Promise.all(
97
- list.map(
98
- async (item) =>
99
- await ctx.cache.tryGet(item.link, async () => {
100
- const detailResponse = await got({
101
- method: 'get',
102
- url: item.link,
103
- });
104
- const content = cheerio.load(detailResponse.data);
97
+ list.map((item) =>
98
+ ctx.cache.tryGet(item.link, async () => {
99
+ const detailResponse = await got({
100
+ method: 'get',
101
+ url: item.link,
102
+ });
103
+ const content = cheerio.load(detailResponse.data);
105
104
 
106
- content('img[_ngcontent-c11]').each(function () {
107
- content(this).attr('alt', '');
108
- });
105
+ content('img[_ngcontent-c11]').each(function () {
106
+ content(this).attr('alt', '');
107
+ });
109
108
 
110
- item.description = content('.text').html();
109
+ item.description = content('.text').html();
111
110
 
112
- return item;
113
- })
111
+ return item;
112
+ })
114
113
  )
115
114
  );
116
115
 
@@ -22,20 +22,19 @@ module.exports = async (ctx) => {
22
22
  .get();
23
23
 
24
24
  const items = await Promise.all(
25
- list.map(
26
- async (item) =>
27
- await ctx.cache.tryGet(item.link, async () => {
28
- const detailResponse = await got({
29
- method: 'get',
30
- url: item.link,
31
- });
32
- const content = cheerio.load(detailResponse.data);
25
+ list.map((item) =>
26
+ ctx.cache.tryGet(item.link, async () => {
27
+ const detailResponse = await got({
28
+ method: 'get',
29
+ url: item.link,
30
+ });
31
+ const content = cheerio.load(detailResponse.data);
33
32
 
34
- item.description = content('.post-content').html();
35
- item.pubDate = Date.parse(content('small time').attr('datetime'));
33
+ item.description = content('.post-content').html();
34
+ item.pubDate = Date.parse(content('small time').attr('datetime'));
36
35
 
37
- return item;
38
- })
36
+ return item;
37
+ })
39
38
  )
40
39
  );
41
40
 
@@ -187,9 +187,9 @@ const normalizeUrl = (url, bypassHostCheck = false) => {
187
187
  * @param {boolean} bypassHostCheck - Whether to bypass host check.
188
188
  * @return {Promise<object>} - An object containing the article and its metadata.
189
189
  */
190
- const fetchArticle = async (ctx, url, bypassHostCheck = false) => {
190
+ const fetchArticle = (ctx, url, bypassHostCheck = false) => {
191
191
  url = normalizeUrl(url, bypassHostCheck);
192
- return await ctx.cache.tryGet(url, async () => {
192
+ return ctx.cache.tryGet(url, async () => {
193
193
  const response = await got(url);
194
194
  const $ = cheerio.load(response.data);
195
195
 
@@ -0,0 +1,33 @@
1
+ const got = require('@/utils/got');
2
+ const { parseDate } = require('@/utils/parse-date');
3
+ const { art } = require('@/utils/render');
4
+ const path = require('path');
5
+
6
+ const root_url = 'https://inf.ds.163.com';
7
+
8
+ module.exports = async (ctx) => {
9
+ const id = ctx.params.id;
10
+
11
+ const current_url = `${root_url}/v1/web/feed/basic/getSomeOneFeeds?feedTypes=1,2,3,4,6,7,10,11&someOneUid=${id}`;
12
+ const response = await got({
13
+ method: 'get',
14
+ url: current_url,
15
+ });
16
+ const data = response.data.result.feeds;
17
+
18
+ const list = data.map((feed) => ({
19
+ title: JSON.parse(feed.content).body.text,
20
+ link: `https://ds.163.com/feed/${feed.id}`,
21
+ description: art(path.resolve(__dirname, 'templates/ds.art'), {
22
+ text: JSON.parse(feed.content).body.text,
23
+ medias: JSON.parse(feed.content).body.media,
24
+ }),
25
+ pubDate: parseDate(feed.updateTime),
26
+ }));
27
+
28
+ ctx.state.data = {
29
+ title: `${response.data.result.userInfos[0].user.nick} 的动态`,
30
+ link: `https://ds.163.com/user/${id}`,
31
+ item: list,
32
+ };
33
+ };