rsshub 1.0.0-master.fdb1381 → 1.0.0-master.fdb4325

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 (1109) hide show
  1. package/lib/api/index.ts +2 -7
  2. package/lib/config.ts +14 -1
  3. package/lib/registry.ts +41 -5
  4. package/lib/router.js +0 -12
  5. package/lib/routes/005/index.ts +3 -3
  6. package/lib/routes/0818tuan/index.ts +2 -2
  7. package/lib/routes/10jqka/realtimenews.ts +2 -2
  8. package/lib/routes/12306/zxdt.ts +15 -33
  9. package/lib/routes/12371/zxfb.ts +2 -2
  10. package/lib/routes/163/exclusive.ts +17 -17
  11. package/lib/routes/163/news/rank.ts +4 -4
  12. package/lib/routes/163/news/special.ts +2 -2
  13. package/lib/routes/163/renjian.ts +2 -2
  14. package/lib/routes/163/utils.ts +2 -2
  15. package/lib/routes/18comic/blogs.ts +3 -3
  16. package/lib/routes/18comic/index.ts +11 -11
  17. package/lib/routes/199it/index.ts +334 -0
  18. package/lib/routes/199it/templates/description.art +20 -0
  19. package/lib/routes/19lou/index.ts +11 -11
  20. package/lib/routes/1point3acres/blog.ts +2 -2
  21. package/lib/routes/1point3acres/category.ts +6 -6
  22. package/lib/routes/1point3acres/section.ts +16 -16
  23. package/lib/routes/1point3acres/thread.ts +6 -6
  24. package/lib/routes/2023game/index.ts +3 -3
  25. package/lib/routes/2048/index.ts +65 -55
  26. package/lib/routes/21caijing/channel.ts +1 -1
  27. package/lib/routes/36kr/hot-list.ts +2 -2
  28. package/lib/routes/36kr/index.ts +2 -2
  29. package/lib/routes/3dmgame/news-center.ts +2 -2
  30. package/lib/routes/3kns/index.ts +15 -15
  31. package/lib/routes/423down/index.ts +18 -18
  32. package/lib/routes/4khd/article.ts +28 -0
  33. package/lib/routes/4khd/category.ts +48 -0
  34. package/lib/routes/4khd/const.ts +4 -0
  35. package/lib/routes/4khd/latest.ts +41 -0
  36. package/lib/routes/4khd/namespace.ts +8 -0
  37. package/lib/routes/4khd/types.ts +12 -0
  38. package/lib/routes/4kup/article.ts +29 -0
  39. package/lib/routes/4kup/category.ts +47 -0
  40. package/lib/routes/4kup/const.ts +4 -0
  41. package/lib/routes/4kup/latest.ts +41 -0
  42. package/lib/routes/4kup/namespace.ts +8 -0
  43. package/lib/routes/4kup/popular.ts +81 -0
  44. package/lib/routes/4kup/tag.ts +47 -0
  45. package/lib/routes/4kup/types.ts +12 -0
  46. package/lib/routes/56kog/class.ts +5 -5
  47. package/lib/routes/56kog/top.ts +2 -2
  48. package/lib/routes/5music/index.ts +87 -0
  49. package/lib/routes/5music/namespace.ts +9 -0
  50. package/lib/routes/6park/index.ts +10 -5
  51. package/lib/routes/6park/news.ts +11 -2
  52. package/lib/routes/78dm/index.ts +65 -65
  53. package/lib/routes/7mmtv/index.ts +12 -12
  54. package/lib/routes/8264/list.ts +37 -37
  55. package/lib/routes/91porn/index.ts +2 -2
  56. package/lib/routes/95mm/category.ts +2 -2
  57. package/lib/routes/95mm/tab.ts +1 -1
  58. package/lib/routes/a9vg/index.ts +11 -11
  59. package/lib/routes/aamacau/index.ts +2 -2
  60. package/lib/routes/academia/topics.ts +10 -20
  61. package/lib/routes/accessbriefing/index.ts +19 -19
  62. package/lib/routes/acfun/article.ts +8 -8
  63. package/lib/routes/adquan/index.ts +146 -0
  64. package/lib/routes/adquan/namespace.ts +9 -0
  65. package/lib/routes/adquan/templates/description.art +7 -0
  66. package/lib/routes/afdian/explore.ts +6 -6
  67. package/lib/routes/agirls/z-index.ts +2 -2
  68. package/lib/routes/agora0/index.ts +2 -2
  69. package/lib/routes/agri/index.ts +52 -52
  70. package/lib/routes/aibase/discover.ts +74 -74
  71. package/lib/routes/aibase/topic.ts +24 -24
  72. package/lib/routes/aiea/index.ts +4 -4
  73. package/lib/routes/aijishu/index.ts +4 -4
  74. package/lib/routes/aip/journal-pupp.ts +1 -1
  75. package/lib/routes/aisixiang/thinktank.ts +1 -1
  76. package/lib/routes/aisixiang/toplist.ts +2 -2
  77. package/lib/routes/aliresearch/information.ts +1 -1
  78. package/lib/routes/alistapart/topic.ts +40 -40
  79. package/lib/routes/aliyun/notice.ts +6 -6
  80. package/lib/routes/alternativeto/utils.ts +1 -1
  81. package/lib/routes/anquanke/category.ts +2 -2
  82. package/lib/routes/anthropic/news.ts +28 -13
  83. package/lib/routes/apkpure/versions.ts +1 -1
  84. package/lib/routes/apnews/mobile-api.ts +93 -0
  85. package/lib/routes/apnews/utils.ts +2 -2
  86. package/lib/routes/apple/podcast.ts +2 -1
  87. package/lib/routes/appleinsider/index.ts +2 -2
  88. package/lib/routes/appstore/price.ts +0 -1
  89. package/lib/routes/aqara/post.ts +1 -1
  90. package/lib/routes/aqicn/aqi.ts +1 -0
  91. package/lib/routes/arcteryx/new-arrivals.ts +6 -6
  92. package/lib/routes/arcteryx/outlet.ts +6 -6
  93. package/lib/routes/asiafruitchina/categories.ts +685 -0
  94. package/lib/routes/asiafruitchina/namespace.ts +9 -0
  95. package/lib/routes/asiafruitchina/news.ts +184 -0
  96. package/lib/routes/asiafruitchina/templates/description.art +17 -0
  97. package/lib/routes/asianfanfics/namespace.ts +7 -0
  98. package/lib/routes/asianfanfics/tag.ts +91 -0
  99. package/lib/routes/asianfanfics/text-search.ts +70 -0
  100. package/lib/routes/asus/bios.ts +1 -3
  101. package/lib/routes/atcoder/contest.ts +12 -12
  102. package/lib/routes/auto-stats/index.ts +2 -2
  103. package/lib/routes/baidu/tieba/search.ts +5 -5
  104. package/lib/routes/baidu/top.ts +2 -2
  105. package/lib/routes/baobua/article.ts +51 -0
  106. package/lib/routes/baobua/category.ts +60 -0
  107. package/lib/routes/baobua/const.ts +4 -0
  108. package/lib/routes/baobua/latest.ts +57 -0
  109. package/lib/routes/baobua/namespace.ts +8 -0
  110. package/lib/routes/baobua/search.ts +60 -0
  111. package/lib/routes/bdys/index.ts +41 -41
  112. package/lib/routes/beijingprice/index.ts +8 -8
  113. package/lib/routes/bendibao/news.ts +5 -5
  114. package/lib/routes/bilibili/cache.ts +4 -4
  115. package/lib/routes/bilibili/danmaku.ts +1 -1
  116. package/lib/routes/bilibili/live-room.ts +14 -12
  117. package/lib/routes/bilibili/mall-new.ts +2 -2
  118. package/lib/routes/bilibili/manga-update.ts +37 -4
  119. package/lib/routes/bilibili/partion.ts +57 -57
  120. package/lib/routes/bilibili/user-collection.ts +2 -1
  121. package/lib/routes/bilibili/vsearch.ts +3 -3
  122. package/lib/routes/bilibili/wasm-exec.ts +649 -0
  123. package/lib/routes/bjfu/it/index.ts +2 -2
  124. package/lib/routes/bjfu/jwc/index.ts +2 -2
  125. package/lib/routes/bjfu/news/index.ts +2 -2
  126. package/lib/routes/bjsk/keti.ts +2 -2
  127. package/lib/routes/bjtu/gs.ts +18 -18
  128. package/lib/routes/bjwxdxh/index.ts +2 -2
  129. package/lib/routes/bjx/fd.ts +1 -1
  130. package/lib/routes/bjx/types.ts +3 -3
  131. package/lib/routes/blizzard/news.ts +34 -34
  132. package/lib/routes/blockworks/index.ts +128 -0
  133. package/lib/routes/blockworks/namespace.ts +7 -0
  134. package/lib/routes/bloomberg/index.ts +14 -14
  135. package/lib/routes/bnu/bs.ts +2 -2
  136. package/lib/routes/bnu/fe.ts +1 -0
  137. package/lib/routes/bnu/jwb.ts +1 -0
  138. package/lib/routes/bnu/mba.ts +20 -20
  139. package/lib/routes/boc/whpj.ts +2 -2
  140. package/lib/routes/bookfere/category.ts +2 -2
  141. package/lib/routes/bossdesign/index.ts +2 -2
  142. package/lib/routes/bse/index.ts +14 -14
  143. package/lib/routes/bsky/feeds.ts +72 -0
  144. package/lib/routes/bsky/utils.ts +34 -1
  145. package/lib/routes/btzj/index.ts +12 -12
  146. package/lib/routes/buaa/news/index.ts +2 -2
  147. package/lib/routes/buct/cist.ts +58 -0
  148. package/lib/routes/buct/gr.ts +93 -0
  149. package/lib/routes/buct/jwc.ts +64 -0
  150. package/lib/routes/buct/namespace.ts +7 -0
  151. package/lib/routes/bullionvault/gold-news.ts +231 -0
  152. package/lib/routes/bullionvault/namespace.ts +9 -0
  153. package/lib/routes/byau/xinwen/index.ts +2 -2
  154. package/lib/routes/cahkms/index.ts +5 -5
  155. package/lib/routes/caixin/category.ts +9 -9
  156. package/lib/routes/camchina/index.ts +2 -2
  157. package/lib/routes/cankaoxiaoxi/index.ts +20 -20
  158. package/lib/routes/cas/cg/index.ts +2 -2
  159. package/lib/routes/casssp/news.ts +2 -2
  160. package/lib/routes/cast/index.ts +9 -9
  161. package/lib/routes/catti/news.ts +2 -2
  162. package/lib/routes/caus/index.ts +2 -2
  163. package/lib/routes/cbpanet/index.ts +34 -34
  164. package/lib/routes/ccac/news.ts +3 -3
  165. package/lib/routes/cccmc/index.ts +21 -21
  166. package/lib/routes/ccf/ccfcv/index.ts +2 -2
  167. package/lib/routes/ccf/news.ts +2 -2
  168. package/lib/routes/ccfa/index.ts +18 -18
  169. package/lib/routes/cctv/category.ts +2 -2
  170. package/lib/routes/cctv/lm.ts +5 -5
  171. package/lib/routes/cde/index.ts +9 -9
  172. package/lib/routes/cde/xxgk.ts +2 -2
  173. package/lib/routes/cde/zdyz.ts +2 -2
  174. package/lib/routes/cdi/index.ts +2 -2
  175. package/lib/routes/cdu/cdrw.ts +80 -0
  176. package/lib/routes/cdu/tzggcdunews.ts +80 -0
  177. package/lib/routes/cebbank/history.ts +3 -3
  178. package/lib/routes/cfachina/analygarden.ts +2 -2
  179. package/lib/routes/chaping/news.ts +9 -9
  180. package/lib/routes/cherrytimes/market.ts +35 -0
  181. package/lib/routes/cherrytimes/namespace.ts +6 -0
  182. package/lib/routes/chiculture/topic.ts +2 -2
  183. package/lib/routes/chikubi/navigation.ts +2 -2
  184. package/lib/routes/china/finance/finance.ts +2 -2
  185. package/lib/routes/china/news/highlights/news.ts +3 -3
  186. package/lib/routes/chinacdc/index.ts +1 -1
  187. package/lib/routes/chinadegrees/province.ts +33 -33
  188. package/lib/routes/chinaisa/index.ts +134 -134
  189. package/lib/routes/chinamoney/notice.ts +17 -17
  190. package/lib/routes/chinania/index.ts +31 -31
  191. package/lib/routes/chinathinktanks/viewpoint.ts +46 -46
  192. package/lib/routes/chinaventure/index.ts +2 -2
  193. package/lib/routes/chsi/kyzx.ts +6 -6
  194. package/lib/routes/chuapp/chuapp.ts +147 -0
  195. package/lib/routes/chuapp/namespace.ts +7 -0
  196. package/lib/routes/cib/whpj.ts +2 -2
  197. package/lib/routes/ciidbnu/index.ts +2 -2
  198. package/lib/routes/cisia/index.ts +31 -31
  199. package/lib/routes/cjlu/yjsy/index.ts +2 -2
  200. package/lib/routes/cls/depth.ts +2 -2
  201. package/lib/routes/cls/telegraph.ts +2 -2
  202. package/lib/routes/cma/channel.ts +20 -20
  203. package/lib/routes/cmu/andypavlo/blog.ts +55 -0
  204. package/lib/routes/cmu/namespace.ts +7 -0
  205. package/lib/routes/cna/index.ts +2 -2
  206. package/lib/routes/cnbeta/category.ts +2 -2
  207. package/lib/routes/cnblogs/common.ts +0 -1
  208. package/lib/routes/cncf/index.ts +2 -2
  209. package/lib/routes/cneb/yjxw.ts +2 -2
  210. package/lib/routes/cngal/weekly.ts +1 -2
  211. package/lib/routes/cngold/index.ts +22 -22
  212. package/lib/routes/cntv/column.ts +3 -3
  213. package/lib/routes/coindesk/{index.ts → consensus-magazine.ts} +17 -21
  214. package/lib/routes/coindesk/namespace.ts +2 -1
  215. package/lib/routes/coindesk/news.ts +47 -0
  216. package/lib/routes/coindesk/utils.ts +26 -0
  217. package/lib/routes/cointelegraph/index.ts +106 -0
  218. package/lib/routes/cointelegraph/namespace.ts +7 -0
  219. package/lib/routes/colamanga/manga.ts +1 -1
  220. package/lib/routes/collabo-cafe/category.ts +37 -0
  221. package/lib/routes/collabo-cafe/index.ts +35 -0
  222. package/lib/routes/collabo-cafe/namespace.ts +9 -0
  223. package/lib/routes/collabo-cafe/parser.ts +29 -0
  224. package/lib/routes/collabo-cafe/tag.ts +37 -0
  225. package/lib/routes/consumer/index.ts +6 -6
  226. package/lib/routes/consumer/shopping-guide.ts +2 -2
  227. package/lib/routes/coolapk/hot.ts +5 -5
  228. package/lib/routes/coolapk/toutiao.ts +2 -2
  229. package/lib/routes/coolapk/tuwen.ts +2 -2
  230. package/lib/routes/coomer/index.ts +157 -0
  231. package/lib/routes/coomer/templates/source.art +24 -0
  232. package/lib/routes/copymanga/comic.ts +3 -3
  233. package/lib/routes/cosplaytele/article.ts +13 -0
  234. package/lib/routes/cosplaytele/category.ts +47 -0
  235. package/lib/routes/cosplaytele/const.ts +4 -0
  236. package/lib/routes/cosplaytele/latest.ts +41 -0
  237. package/lib/routes/cosplaytele/namespace.ts +8 -0
  238. package/lib/routes/cosplaytele/popular.ts +75 -0
  239. package/lib/routes/cosplaytele/tag.ts +47 -0
  240. package/lib/routes/cosplaytele/types.ts +12 -0
  241. package/lib/routes/counter-strike/news.ts +3 -3
  242. package/lib/routes/cpcaauto/index.ts +23 -23
  243. package/lib/routes/cpcey/index.ts +2 -2
  244. package/lib/routes/cpta/handler.ts +2 -2
  245. package/lib/routes/cqwu/index.ts +2 -2
  246. package/lib/routes/crac/index.ts +2 -2
  247. package/lib/routes/cryptoslate/index.ts +98 -0
  248. package/lib/routes/cryptoslate/namespace.ts +7 -0
  249. package/lib/routes/cs/index.ts +30 -30
  250. package/lib/routes/cs/video.ts +1 -1
  251. package/lib/routes/cste/index.ts +2 -2
  252. package/lib/routes/csu/cse.ts +2 -2
  253. package/lib/routes/csu/mail.ts +2 -2
  254. package/lib/routes/cts/news.ts +2 -2
  255. package/lib/routes/cuilingmag/index.ts +8 -9
  256. package/lib/routes/cupl/jwc.ts +69 -0
  257. package/lib/routes/cupl/namespace.ts +20 -0
  258. package/lib/routes/cursor/changelog.ts +94 -51
  259. package/lib/routes/cw/master.ts +14 -14
  260. package/lib/routes/cw/utils.ts +2 -0
  261. package/lib/routes/cyzone/index.ts +8 -8
  262. package/lib/routes/dahecube/index.ts +2 -2
  263. package/lib/routes/dangdang/notice.ts +4 -4
  264. package/lib/routes/dataguidance/index.ts +2 -2
  265. package/lib/routes/dayanzai/index.ts +2 -2
  266. package/lib/routes/dcfever/news.ts +2 -2
  267. package/lib/routes/dcfever/reviews.ts +2 -2
  268. package/lib/routes/dcfever/trading.ts +3 -3
  269. package/lib/routes/dealstreetasia/home.ts +1 -1
  270. package/lib/routes/decrypt/index.ts +115 -0
  271. package/lib/routes/decrypt/namespace.ts +7 -0
  272. package/lib/routes/dedao/index.ts +5 -5
  273. package/lib/routes/dedao/user.ts +2 -2
  274. package/lib/routes/deeplearning/the-batch.ts +24 -24
  275. package/lib/routes/deepseek/news.ts +2 -2
  276. package/lib/routes/dehenglaw/index.ts +3 -3
  277. package/lib/routes/dewu/declaration.ts +5 -5
  278. package/lib/routes/dhu/jiaowu/news.ts +2 -2
  279. package/lib/routes/dhu/yjs/news.ts +2 -2
  280. package/lib/routes/dhu/yjs/zs.ts +2 -2
  281. package/lib/routes/diandong/news.ts +3 -3
  282. package/lib/routes/diariofruticola/filtro.ts +129 -0
  283. package/lib/routes/diariofruticola/namespace.ts +9 -0
  284. package/lib/routes/discuz/discuz.ts +7 -9
  285. package/lib/routes/dlsite/new.ts +2 -2
  286. package/lib/routes/dmzj/news.ts +2 -2
  287. package/lib/routes/dn/news.ts +12 -12
  288. package/lib/routes/docschina/weekly.ts +2 -2
  289. package/lib/routes/dongqiudi/special.ts +2 -2
  290. package/lib/routes/dongqiudi/top-news.ts +2 -2
  291. package/lib/routes/douban/book/latest.ts +2 -2
  292. package/lib/routes/douban/book/rank.ts +2 -2
  293. package/lib/routes/douban/channel/subject.ts +2 -2
  294. package/lib/routes/douban/channel/topic.ts +2 -2
  295. package/lib/routes/douban/other/jobs.ts +2 -2
  296. package/lib/routes/douban/other/latest-music.ts +2 -2
  297. package/lib/routes/douban/other/list.ts +24 -24
  298. package/lib/routes/douban/other/recommended.ts +3 -3
  299. package/lib/routes/douban/other/weekly-best.ts +2 -2
  300. package/lib/routes/douban/people/status.ts +15 -15
  301. package/lib/routes/douban/people/wish.ts +3 -3
  302. package/lib/routes/douyin/live.ts +1 -1
  303. package/lib/routes/douyin/types.ts +1 -5
  304. package/lib/routes/douyin/user.ts +1 -1
  305. package/lib/routes/douyu/group.ts +2 -2
  306. package/lib/routes/dtcj/datahero.ts +2 -2
  307. package/lib/routes/dtcj/datainsight.ts +2 -2
  308. package/lib/routes/dx2025/index.ts +17 -17
  309. package/lib/routes/dytt/index.ts +299 -56
  310. package/lib/routes/dytt/namespace.ts +1 -1
  311. package/lib/routes/e-hentai/index.ts +1 -1
  312. package/lib/routes/eagle/changelog.ts +3 -3
  313. package/lib/routes/earthquake/ceic.ts +8 -8
  314. package/lib/routes/eastday/24.ts +5 -5
  315. package/lib/routes/eastmoney/report/index.ts +2 -2
  316. package/lib/routes/ecust/jwc/notice.ts +2 -2
  317. package/lib/routes/ehentai/favorites.ts +7 -2
  318. package/lib/routes/ehentai/search.ts +2 -2
  319. package/lib/routes/ehentai/tag.ts +2 -2
  320. package/lib/routes/ekantipur/issue.ts +3 -3
  321. package/lib/routes/eleduck/posts.ts +17 -17
  322. package/lib/routes/epicgames/index.ts +2 -2
  323. package/lib/routes/eprice/rss.ts +3 -3
  324. package/lib/routes/espn/news.ts +1 -1
  325. package/lib/routes/famitsu/category.ts +2 -2
  326. package/lib/routes/fanbox/types.ts +0 -4
  327. package/lib/routes/fangchan/list.ts +224 -0
  328. package/lib/routes/fangchan/namespace.ts +9 -0
  329. package/lib/routes/fangchan/templates/description.art +7 -0
  330. package/lib/routes/fantia/search.ts +36 -36
  331. package/lib/routes/farcaster/namespace.ts +7 -0
  332. package/lib/routes/farcaster/user.ts +46 -0
  333. package/lib/routes/fashionnetwork/index.ts +10 -10
  334. package/lib/routes/feng/forum.ts +2 -2
  335. package/lib/routes/ff14/ff14-global.ts +5 -5
  336. package/lib/routes/ff14/ff14-zh.ts +2 -2
  337. package/lib/routes/finology/category.ts +17 -17
  338. package/lib/routes/finology/tag.ts +30 -30
  339. package/lib/routes/finviz/news.ts +2 -2
  340. package/lib/routes/fjksbm/index.ts +2 -2
  341. package/lib/routes/flyert/creditcard.ts +20 -20
  342. package/lib/routes/focustaiwan/index.ts +5 -5
  343. package/lib/routes/follow/profile.ts +1 -1
  344. package/lib/routes/followin/index.ts +6 -6
  345. package/lib/routes/followin/news.ts +1 -1
  346. package/lib/routes/foreignaffairs/namespace.ts +7 -0
  347. package/lib/routes/foreignaffairs/rss.ts +55 -0
  348. package/lib/routes/foresightnews/util.ts +1 -1
  349. package/lib/routes/forklog/index.ts +72 -0
  350. package/lib/routes/forklog/namespace.ts +7 -0
  351. package/lib/routes/fortnite/news.ts +4 -4
  352. package/lib/routes/fortunechina/index.ts +2 -2
  353. package/lib/routes/fx-markets/channel.ts +2 -2
  354. package/lib/routes/fxiaoke/crm.ts +2 -2
  355. package/lib/routes/gameapps/index.ts +1 -1
  356. package/lib/routes/gamekee/namespace.ts +6 -0
  357. package/lib/routes/gamekee/news.ts +64 -0
  358. package/lib/routes/gamer520/index.ts +3 -3
  359. package/lib/routes/gamersecret/index.ts +14 -14
  360. package/lib/routes/gcores/articles.ts +53 -0
  361. package/lib/routes/gcores/categories.ts +129 -0
  362. package/lib/routes/gcores/collections.ts +129 -0
  363. package/lib/routes/gcores/namespace.ts +1 -0
  364. package/lib/routes/gcores/news.ts +53 -0
  365. package/lib/routes/gcores/parser.ts +284 -0
  366. package/lib/routes/gcores/program-previews.ts +50 -0
  367. package/lib/routes/gcores/tags.ts +129 -0
  368. package/lib/routes/gcores/templates/description.art +67 -0
  369. package/lib/routes/gcores/topics.ts +63 -0
  370. package/lib/routes/gcores/util.ts +176 -0
  371. package/lib/routes/gcores/videos.ts +52 -0
  372. package/lib/routes/gdsrx/index.ts +8 -8
  373. package/lib/routes/geekpark/index.ts +10 -10
  374. package/lib/routes/gelbooru/namespace.ts +7 -0
  375. package/lib/routes/gelbooru/post.ts +113 -0
  376. package/lib/routes/gelbooru/templates/description.art +19 -0
  377. package/lib/routes/gelbooru/utils.ts +43 -0
  378. package/lib/routes/gelonghui/home.ts +2 -2
  379. package/lib/routes/gf-cn/news.ts +2 -2
  380. package/lib/routes/gitcode/namespace.ts +7 -0
  381. package/lib/routes/gitcode/repos/commits.ts +67 -0
  382. package/lib/routes/github/search.ts +5 -5
  383. package/lib/routes/github/topic.ts +4 -4
  384. package/lib/routes/google/fonts.ts +2 -2
  385. package/lib/routes/gov/ah/kjt.ts +18 -18
  386. package/lib/routes/gov/beijing/bphc/index.ts +1 -1
  387. package/lib/routes/gov/caac/cjwt.ts +1 -1
  388. package/lib/routes/gov/cbirc/index.ts +54 -53
  389. package/lib/routes/gov/ccdi/index.ts +1 -1
  390. package/lib/routes/gov/chongqing/gzw.ts +2 -2
  391. package/lib/routes/gov/csrc/csrc.ts +101 -101
  392. package/lib/routes/gov/customs/list.ts +1 -1
  393. package/lib/routes/gov/forestry/gjlckjdjt.ts +7 -7
  394. package/lib/routes/gov/general/general.ts +1 -1
  395. package/lib/routes/gov/hangzhou/namespace.ts +9 -0
  396. package/lib/routes/gov/hangzhou/templates/jbxx.art +173 -0
  397. package/lib/routes/gov/hangzhou/zjzwfw.ts +89 -0
  398. package/lib/routes/gov/hangzhou/zwfw.ts +112 -0
  399. package/lib/routes/gov/hebei/czt.ts +2 -2
  400. package/lib/routes/gov/lswz/index.ts +32 -32
  401. package/lib/routes/gov/maonan/maonan.ts +2 -2
  402. package/lib/routes/gov/mem/sgcc.ts +2 -2
  403. package/lib/routes/gov/mfa/wjdt.ts +10 -10
  404. package/lib/routes/gov/moa/gjs.ts +210 -0
  405. package/lib/routes/gov/moa/zdscxx.ts +2 -2
  406. package/lib/routes/gov/moe/moe.ts +2 -2
  407. package/lib/routes/gov/mof/bond.ts +3 -3
  408. package/lib/routes/gov/mof/gss.ts +82 -0
  409. package/lib/routes/gov/moj/aac/news.ts +2 -2
  410. package/lib/routes/gov/npc/index.ts +2 -2
  411. package/lib/routes/gov/nrta/dsj.ts +2 -2
  412. package/lib/routes/gov/nrta/news.ts +2 -2
  413. package/lib/routes/gov/pbc/goutongjiaoliu.ts +1 -1
  414. package/lib/routes/gov/pbc/namespace.ts +28 -28
  415. package/lib/routes/gov/pbc/trade-announcement.ts +1 -1
  416. package/lib/routes/gov/samr/xgzlyhd.ts +91 -91
  417. package/lib/routes/gov/sh/fgw/index.ts +3 -3
  418. package/lib/routes/gov/shaanxi/kjt.ts +2 -2
  419. package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +2 -2
  420. package/lib/routes/gov/shenzhen/xxgk/zfxxgj.ts +2 -2
  421. package/lib/routes/gov/shenzhen/zjj/index.ts +2 -2
  422. package/lib/routes/gov/shenzhen/zzb/index.ts +2 -2
  423. package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +2 -2
  424. package/lib/routes/gov/sichuan/deyang/mztoday.ts +2 -2
  425. package/lib/routes/gov/stats/index.ts +4 -8
  426. package/lib/routes/gov/suzhou/news.ts +15 -15
  427. package/lib/routes/gov/taiyuan/rsj.ts +2 -2
  428. package/lib/routes/gov/tianjin/tjftz.ts +53 -0
  429. package/lib/routes/gov/tianjin/tjrcgzw.ts +51 -0
  430. package/lib/routes/gov/xuzhou/hrss.ts +2 -2
  431. package/lib/routes/gov/zhejiang/gwy.ts +22 -22
  432. package/lib/routes/gov/zhengce/govall.ts +9 -9
  433. package/lib/routes/grainoil/category.ts +207 -0
  434. package/lib/routes/grainoil/namespace.ts +9 -0
  435. package/lib/routes/grist/topic.ts +43 -43
  436. package/lib/routes/guancha/index.ts +2 -2
  437. package/lib/routes/guancha/member.ts +2 -2
  438. package/lib/routes/guokr/channel.ts +2 -2
  439. package/lib/routes/gzdaily/app.ts +7 -7
  440. package/lib/routes/hacking8/index.ts +2 -2
  441. package/lib/routes/hafu/news.ts +2 -2
  442. package/lib/routes/hafu/utils.ts +3 -3
  443. package/lib/routes/hakkatv/type.ts +2 -2
  444. package/lib/routes/hanime1/namespace.ts +7 -0
  445. package/lib/routes/hanime1/previews.ts +89 -0
  446. package/lib/routes/hbr/topic.ts +2 -2
  447. package/lib/routes/hellobtc/kepu.ts +2 -2
  448. package/lib/routes/hellogithub/article.ts +2 -2
  449. package/lib/routes/hellogithub/index.ts +2 -2
  450. package/lib/routes/hellogithub/report.ts +3 -3
  451. package/lib/routes/hfut/hf/notice.ts +2 -2
  452. package/lib/routes/hfut/xc/notice.ts +2 -2
  453. package/lib/routes/hinatazaka46/blog.ts +35 -35
  454. package/lib/routes/hitcon/zeroday.ts +3 -3
  455. package/lib/routes/hitsz/article.ts +2 -2
  456. package/lib/routes/hizu/index.ts +25 -25
  457. package/lib/routes/hkej/index.ts +2 -2
  458. package/lib/routes/hkepc/index.ts +2 -2
  459. package/lib/routes/hket/index.ts +3 -3
  460. package/lib/routes/hkushop/namespace.ts +9 -0
  461. package/lib/routes/hkushop/vinyl-or-picture-lp.ts +87 -0
  462. package/lib/routes/hljucm/yjsy.ts +2 -2
  463. package/lib/routes/hnrb/index.ts +11 -11
  464. package/lib/routes/hongkong/dh.ts +3 -3
  465. package/lib/routes/hostmonit/cloudflareyes.ts +3 -3
  466. package/lib/routes/hottoys/index.ts +2 -2
  467. package/lib/routes/hoyolab/news.ts +21 -21
  468. package/lib/routes/hrbeu/cec/list.ts +82 -0
  469. package/lib/routes/hrbeu/job/calendar.ts +2 -2
  470. package/lib/routes/hrbeu/job/list.ts +2 -2
  471. package/lib/routes/hrbeu/uae/news.ts +2 -2
  472. package/lib/routes/hrbeu/ugs/news.ts +21 -21
  473. package/lib/routes/hrbeu/yjsy/list.ts +2 -2
  474. package/lib/routes/hrbust/cs.ts +100 -0
  475. package/lib/routes/hrbust/gzc.ts +97 -0
  476. package/lib/routes/hrbust/jwzx.ts +8 -8
  477. package/lib/routes/hrbust/lib.ts +97 -0
  478. package/lib/routes/hrbust/news.ts +9 -10
  479. package/lib/routes/hrbust/nic.ts +5 -8
  480. package/lib/routes/huanqiu/index.ts +2 -2
  481. package/lib/routes/hubu/index.ts +3 -3
  482. package/lib/routes/hubu/zhxy.ts +19 -19
  483. package/lib/routes/hunau/gfxy/index.ts +2 -2
  484. package/lib/routes/hunau/ied.ts +3 -3
  485. package/lib/routes/hunau/jwc.ts +2 -2
  486. package/lib/routes/hunau/xky/index.ts +2 -2
  487. package/lib/routes/hupu/index.ts +2 -2
  488. package/lib/routes/hust/aia/notice.ts +2 -2
  489. package/lib/routes/hust/gs.ts +31 -31
  490. package/lib/routes/hust/mse.ts +66 -66
  491. package/lib/routes/huxiu/channel.ts +8 -8
  492. package/lib/routes/huxiu/member.ts +2 -2
  493. package/lib/routes/huxiu/util.ts +11 -9
  494. package/lib/routes/hypergryph/arknights/announce.ts +7 -7
  495. package/lib/routes/hypergryph/arknights/news.ts +3 -3
  496. package/lib/routes/ianspriggs/index.ts +2 -2
  497. package/lib/routes/icbc/whpj.ts +2 -2
  498. package/lib/routes/idaily/index.ts +3 -3
  499. package/lib/routes/iehou/index.ts +3 -3
  500. package/lib/routes/ielts/index.ts +1 -1
  501. package/lib/routes/ifanr/category.ts +7 -2
  502. package/lib/routes/ifanr/digest.ts +1 -1
  503. package/lib/routes/ifanr/index.ts +1 -1
  504. package/lib/routes/ifeng/feng.ts +2 -2
  505. package/lib/routes/imdb/chart.ts +2 -2
  506. package/lib/routes/indienova/column.ts +20 -20
  507. package/lib/routes/inewsweek/index.ts +3 -3
  508. package/lib/routes/infzm/index.ts +3 -3
  509. package/lib/routes/instructables/projects.ts +22 -17
  510. package/lib/routes/investor/index.ts +16 -16
  511. package/lib/routes/iplaysoft/category.ts +49 -0
  512. package/lib/routes/iplaysoft/index.ts +48 -41
  513. package/lib/routes/iplaysoft/namespace.ts +1 -0
  514. package/lib/routes/iplaysoft/tag.ts +49 -0
  515. package/lib/routes/iplaysoft/utils.ts +34 -0
  516. package/lib/routes/iqiyi/video.ts +1 -1
  517. package/lib/routes/iresearch/weekly.ts +1 -1
  518. package/lib/routes/ithome/index.ts +2 -2
  519. package/lib/routes/ithome/ranking.ts +2 -2
  520. package/lib/routes/ithome/tw/feeds.ts +2 -2
  521. package/lib/routes/japanpost/utils.ts +2 -2
  522. package/lib/routes/javdb/actors.ts +2 -2
  523. package/lib/routes/javdb/index.ts +9 -9
  524. package/lib/routes/javdb/makers.ts +2 -2
  525. package/lib/routes/javdb/rankings.ts +6 -6
  526. package/lib/routes/javdb/search.ts +6 -6
  527. package/lib/routes/javdb/series.ts +2 -2
  528. package/lib/routes/javdb/tags.ts +3 -3
  529. package/lib/routes/javdb/videocodes.ts +2 -2
  530. package/lib/routes/javlibrary/bestrated.ts +2 -2
  531. package/lib/routes/javlibrary/bestreviews.ts +2 -2
  532. package/lib/routes/javlibrary/genre.ts +2 -2
  533. package/lib/routes/javlibrary/maker.ts +2 -2
  534. package/lib/routes/javlibrary/mostwanted.ts +2 -2
  535. package/lib/routes/javlibrary/newrelease.ts +2 -2
  536. package/lib/routes/javlibrary/star.ts +2 -2
  537. package/lib/routes/javlibrary/user.ts +2 -2
  538. package/lib/routes/jin10/category.ts +223 -0
  539. package/lib/routes/jinritemai/docs.ts +6 -6
  540. package/lib/routes/jinse/catalogue.ts +5 -5
  541. package/lib/routes/jinse/lives.ts +2 -2
  542. package/lib/routes/jinse/timeline.ts +3 -3
  543. package/lib/routes/joins/chinese.ts +15 -15
  544. package/lib/routes/jornada/index.ts +13 -13
  545. package/lib/routes/joshwcomeau/latest.ts +59 -0
  546. package/lib/routes/joshwcomeau/namespace.ts +8 -0
  547. package/lib/routes/joshwcomeau/popular.ts +38 -0
  548. package/lib/routes/joshwcomeau/utils.ts +61 -0
  549. package/lib/routes/jsu/jwc.ts +2 -2
  550. package/lib/routes/juejin/collections.ts +1 -1
  551. package/lib/routes/juejin/dynamic.ts +11 -1
  552. package/lib/routes/juejin/pins.ts +2 -2
  553. package/lib/routes/juejin/trending.ts +17 -17
  554. package/lib/routes/jump/discount.ts +14 -14
  555. package/lib/routes/kamen-rider-official/news.ts +31 -31
  556. package/lib/routes/kanxue/topic.ts +21 -21
  557. package/lib/routes/kaopu/news.ts +2 -2
  558. package/lib/routes/kbs/news.ts +2 -2
  559. package/lib/routes/kbs/today.ts +2 -2
  560. package/lib/routes/kcna/news.ts +13 -13
  561. package/lib/routes/kemono/index.ts +6 -5
  562. package/lib/routes/komiic/comic.ts +88 -0
  563. package/lib/routes/komiic/namespace.ts +7 -0
  564. package/lib/routes/konachan/post.ts +2 -2
  565. package/lib/routes/kpopping/kpics.ts +218 -0
  566. package/lib/routes/kpopping/namespace.ts +9 -0
  567. package/lib/routes/kpopping/news.ts +197 -0
  568. package/lib/routes/kpopping/templates/description.art +17 -0
  569. package/lib/routes/kurogames/namespace.ts +1 -1
  570. package/lib/routes/kurogames/wutheringwaves/constants.ts +34 -0
  571. package/lib/routes/kurogames/wutheringwaves/news.ts +60 -33
  572. package/lib/routes/kurogames/wutheringwaves/utils.ts +79 -0
  573. package/lib/routes/landiannews/category.ts +48 -0
  574. package/lib/routes/landiannews/index.ts +44 -0
  575. package/lib/routes/landiannews/namespace.ts +9 -0
  576. package/lib/routes/landiannews/tag.ts +48 -0
  577. package/lib/routes/landiannews/utils.ts +34 -0
  578. package/lib/routes/latepost/index.ts +3 -3
  579. package/lib/routes/leagueoflegends/namespace.ts +8 -0
  580. package/lib/routes/leagueoflegends/patch-notes.ts +76 -0
  581. package/lib/routes/learnblockchain/posts.ts +17 -17
  582. package/lib/routes/lens/namespace.ts +7 -0
  583. package/lib/routes/lens/profile.ts +80 -0
  584. package/lib/routes/likeshop/index.ts +43 -0
  585. package/lib/routes/likeshop/namespace.ts +7 -0
  586. package/lib/routes/line/today.ts +3 -3
  587. package/lib/routes/linkedin/cn/index.ts +7 -7
  588. package/lib/routes/linkedin/jobs.ts +14 -14
  589. package/lib/routes/linkedin/posts.ts +64 -0
  590. package/lib/routes/linkedin/utils.ts +75 -1
  591. package/lib/routes/lofter/tag.ts +2 -2
  592. package/lib/routes/logclub/report.ts +2 -2
  593. package/lib/routes/loltw/news.ts +2 -2
  594. package/lib/routes/loongarch/post.ts +1 -0
  595. package/lib/routes/lovelive-anime/news.ts +5 -5
  596. package/lib/routes/lovelive-anime/topics.ts +5 -5
  597. package/lib/routes/lrepacks/index.ts +11 -11
  598. package/lib/routes/lsnu/jiaowc/tzgg.ts +2 -2
  599. package/lib/routes/ltaaa/article.ts +180 -0
  600. package/lib/routes/ltaaa/namespace.ts +9 -0
  601. package/lib/routes/ltaaa/templates/description.art +7 -0
  602. package/lib/routes/lvv2/news.ts +5 -5
  603. package/lib/routes/lvv2/top.ts +5 -5
  604. package/lib/routes/malaysiakini/index.ts +8 -8
  605. package/lib/routes/mashiro/index.ts +62 -0
  606. package/lib/routes/mashiro/namespace.ts +11 -0
  607. package/lib/routes/mastodon/timeline-local.ts +1 -1
  608. package/lib/routes/mastodon/timeline-remote.ts +1 -1
  609. package/lib/routes/matters/latest.ts +2 -2
  610. package/lib/routes/mckinsey/cn/index.ts +19 -19
  611. package/lib/routes/medsci/index.ts +27 -27
  612. package/lib/routes/meishichina/index.ts +189 -189
  613. package/lib/routes/meituan/tech.ts +31 -37
  614. package/lib/routes/melonbooks/namespace.ts +9 -0
  615. package/lib/routes/melonbooks/parser.ts +39 -0
  616. package/lib/routes/melonbooks/search.ts +44 -0
  617. package/lib/routes/mercari/keyword.ts +67 -0
  618. package/lib/routes/mercari/namespace.ts +9 -0
  619. package/lib/routes/mercari/templates/item.art +46 -0
  620. package/lib/routes/mercari/templates/shopItem.art +46 -0
  621. package/lib/routes/mercari/types.ts +278 -0
  622. package/lib/routes/mercari/util.ts +308 -0
  623. package/lib/routes/meteor/index.ts +1 -1
  624. package/lib/routes/mihoyo/bbs/img-ranking.ts +20 -20
  625. package/lib/routes/mihoyo/bbs/official.ts +6 -6
  626. package/lib/routes/mihoyo/sr/news.ts +3 -3
  627. package/lib/routes/mihoyo/ys/news.ts +3 -3
  628. package/lib/routes/mindmeister/example.ts +27 -27
  629. package/lib/routes/misskey/home-timeline.ts +99 -0
  630. package/lib/routes/misskey/user-timeline.ts +11 -9
  631. package/lib/routes/misskey/utils.ts +6 -6
  632. package/lib/routes/mittrchina/index.ts +5 -5
  633. package/lib/routes/miui/firmware/index.ts +6 -6
  634. package/lib/routes/mixcloud/index.ts +2 -2
  635. package/lib/routes/modian/zhongchou.ts +18 -18
  636. package/lib/routes/mrm/index.ts +2 -2
  637. package/lib/routes/mwm/index.ts +2 -2
  638. package/lib/routes/mycard520/namespace.ts +9 -0
  639. package/lib/routes/mycard520/news.ts +252 -0
  640. package/lib/routes/mydrivers/rank.ts +2 -2
  641. package/lib/routes/myfigurecollection/activity.ts +19 -19
  642. package/lib/routes/myfigurecollection/index.ts +2 -2
  643. package/lib/routes/mygopen/index.ts +1 -1
  644. package/lib/routes/mysql/release.ts +1 -1
  645. package/lib/routes/nature/research.ts +10 -10
  646. package/lib/routes/nautiljon/manga-releases.ts +72 -0
  647. package/lib/routes/nautiljon/namespace.ts +7 -0
  648. package/lib/routes/nbd/index.ts +2 -2
  649. package/lib/routes/ncc-cma/cmdp.ts +27 -27
  650. package/lib/routes/ncepu/master/masterinfo.ts +2 -2
  651. package/lib/routes/neea/jlpt.ts +91 -53
  652. package/lib/routes/neea/namespace.ts +1 -1
  653. package/lib/routes/neu/bmie.ts +16 -16
  654. package/lib/routes/neu/news.ts +16 -16
  655. package/lib/routes/newsmarket/index.ts +5 -5
  656. package/lib/routes/nextapple/realtime.ts +5 -5
  657. package/lib/routes/ngocn2/index.ts +2 -2
  658. package/lib/routes/nhentai/util.ts +7 -2
  659. package/lib/routes/nhk/news.ts +2 -2
  660. package/lib/routes/nikkei/news.ts +2 -2
  661. package/lib/routes/nippon/index.ts +2 -2
  662. package/lib/routes/njnu/ceai/ceai.ts +2 -2
  663. package/lib/routes/njnu/jwc/jwc.ts +2 -2
  664. package/lib/routes/nju/exchangesys.ts +2 -2
  665. package/lib/routes/nju/jw.ts +2 -2
  666. package/lib/routes/nju/rczp.ts +2 -2
  667. package/lib/routes/nju/scit.ts +2 -2
  668. package/lib/routes/nju/zbb.ts +2 -2
  669. package/lib/routes/njupt/jwc.ts +2 -2
  670. package/lib/routes/njust/cwc.ts +2 -2
  671. package/lib/routes/njust/dgxg.ts +2 -2
  672. package/lib/routes/njust/eo.ts +6 -6
  673. package/lib/routes/njust/eoe.ts +2 -2
  674. package/lib/routes/njust/gs.ts +2 -2
  675. package/lib/routes/njust/jwc.ts +2 -2
  676. package/lib/routes/njust/utils.ts +1 -1
  677. package/lib/routes/nlc/read.ts +3 -3
  678. package/lib/routes/nltimes/news.ts +2 -2
  679. package/lib/routes/nodejs/blog.ts +12 -12
  680. package/lib/routes/nogizaka46/blog.ts +42 -42
  681. package/lib/routes/nosec/index.ts +8 -8
  682. package/lib/routes/notefolio/search.ts +14 -14
  683. package/lib/routes/now/news.ts +9 -9
  684. package/lib/routes/nowcoder/discuss.ts +2 -2
  685. package/lib/routes/nowcoder/jobcenter.ts +6 -6
  686. package/lib/routes/nua/dc.ts +7 -7
  687. package/lib/routes/nua/gra.ts +4 -4
  688. package/lib/routes/nua/index.ts +3 -3
  689. package/lib/routes/nua/lib.ts +5 -5
  690. package/lib/routes/nua/sxw.ts +6 -6
  691. package/lib/routes/nuaa/college/cs.ts +2 -2
  692. package/lib/routes/nuaa/jwc/jwc.ts +2 -2
  693. package/lib/routes/nuaa/yjsy/yjsy.ts +2 -2
  694. package/lib/routes/nudt/yjszs.ts +2 -2
  695. package/lib/routes/nuist/bulletin.ts +5 -5
  696. package/lib/routes/nuist/cas.ts +2 -2
  697. package/lib/routes/nuist/jwc.ts +2 -2
  698. package/lib/routes/nuist/scs.ts +2 -2
  699. package/lib/routes/nuist/sese.ts +2 -2
  700. package/lib/routes/nwafu/all.ts +3 -3
  701. package/lib/routes/nwnu/namespace.ts +7 -0
  702. package/lib/routes/nwnu/routes/college/csse.ts +133 -0
  703. package/lib/routes/nwnu/routes/department/academic-affairs.ts +115 -0
  704. package/lib/routes/nwnu/routes/department/postgraduate.ts +139 -0
  705. package/lib/routes/nwnu/routes/lib/embed-resource.ts +14 -0
  706. package/lib/routes/nytimes/index.ts +1 -1
  707. package/lib/routes/oceanengine/arithmetic-index.ts +1 -1
  708. package/lib/routes/odaily/post.ts +2 -2
  709. package/lib/routes/oilchem/index.ts +1 -1
  710. package/lib/routes/okx/index.ts +125 -0
  711. package/lib/routes/okx/namespace.ts +7 -0
  712. package/lib/routes/oncc/money18.ts +3 -3
  713. package/lib/routes/oo-software/changelog.ts +5 -5
  714. package/lib/routes/openai/blog.ts +2 -2
  715. package/lib/routes/openrice/chart.ts +6 -6
  716. package/lib/routes/openrice/offers.ts +3 -3
  717. package/lib/routes/openrice/promos.ts +3 -3
  718. package/lib/routes/openrice/voting.ts +6 -6
  719. package/lib/routes/oreno3d/main.ts +2 -2
  720. package/lib/routes/oschina/column.ts +1 -1
  721. package/lib/routes/oschina/news.ts +2 -2
  722. package/lib/routes/ouc/it-tx.ts +2 -2
  723. package/lib/routes/ouc/it.ts +2 -2
  724. package/lib/routes/panewslab/profundity.ts +1 -1
  725. package/lib/routes/papers/category.ts +1222 -0
  726. package/lib/routes/papers/query.ts +4 -4
  727. package/lib/routes/papers/templates/description.art +9 -6
  728. package/lib/routes/parliament/section77.ts +3 -3
  729. package/lib/routes/parliament.uk/commonslibrary.ts +1 -1
  730. package/lib/routes/parliament.uk/lordslibrary.ts +1 -1
  731. package/lib/routes/parliament.uk/petitions.ts +1 -1
  732. package/lib/routes/patagonia/new-arrivals.ts +2 -2
  733. package/lib/routes/patreon/feed.ts +2 -2
  734. package/lib/routes/patreon/templates/description.art +2 -0
  735. package/lib/routes/patreon/types.ts +8 -12
  736. package/lib/routes/people/index.ts +2 -2
  737. package/lib/routes/people/liuyan.ts +2 -2
  738. package/lib/routes/peopo/topic.ts +18 -18
  739. package/lib/routes/picnob/user.ts +153 -106
  740. package/lib/routes/pincong/utils.ts +1 -1
  741. package/lib/routes/pingwest/tag.ts +3 -3
  742. package/lib/routes/pingwest/user.ts +3 -3
  743. package/lib/routes/pinterest/user.ts +9 -0
  744. package/lib/routes/pixiv/api/get-ranking.ts +1 -1
  745. package/lib/routes/pixiv/novel-api/content/utils.ts +1 -0
  746. package/lib/routes/pku/scc/recruit.ts +2 -2
  747. package/lib/routes/playno1/av.ts +3 -3
  748. package/lib/routes/playno1/st.ts +2 -2
  749. package/lib/routes/plurk/top.ts +5 -5
  750. package/lib/routes/pnas/index.ts +1 -1
  751. package/lib/routes/priconne-redive/news.ts +3 -3
  752. package/lib/routes/producthunt/templates/description.art +19 -0
  753. package/lib/routes/producthunt/today.ts +49 -22
  754. package/lib/routes/psnine/game.ts +42 -0
  755. package/lib/routes/psnine/index.ts +58 -0
  756. package/lib/routes/psnine/namespace.ts +8 -0
  757. package/lib/routes/psnine/node.ts +80 -0
  758. package/lib/routes/psnine/shuzhe.ts +43 -0
  759. package/lib/routes/psnine/trade.ts +58 -0
  760. package/lib/routes/publico/ciencias.ts +55 -0
  761. package/lib/routes/publico/culturas.ts +55 -0
  762. package/lib/routes/publico/economia.ts +55 -0
  763. package/lib/routes/publico/internacional.ts +55 -0
  764. package/lib/routes/publico/items-processor.ts +20 -0
  765. package/lib/routes/publico/mujer.ts +55 -0
  766. package/lib/routes/publico/namespace.ts +6 -0
  767. package/lib/routes/publico/opinion.ts +55 -0
  768. package/lib/routes/publico/politica.ts +56 -0
  769. package/lib/routes/publico/public.ts +48 -0
  770. package/lib/routes/publico/sociedad.ts +55 -0
  771. package/lib/routes/publico/tremending.ts +48 -0
  772. package/lib/routes/qianzhan/column.ts +2 -2
  773. package/lib/routes/qianzhan/rank.ts +2 -2
  774. package/lib/routes/qiche365/recall.ts +2 -2
  775. package/lib/routes/qm120/news.ts +8 -8
  776. package/lib/routes/qoo-app/apps/comment.ts +2 -2
  777. package/lib/routes/qoo-app/news.ts +2 -2
  778. package/lib/routes/qq/ac/rank.ts +2 -2
  779. package/lib/routes/qq/cfhd/index.ts +7 -7
  780. package/lib/routes/qq88/index.ts +2 -2
  781. package/lib/routes/qqorw/index.ts +2 -2
  782. package/lib/routes/questmobile/report.ts +75 -75
  783. package/lib/routes/quicker/qa.ts +12 -12
  784. package/lib/routes/quicker/share.ts +5 -5
  785. package/lib/routes/quicker/user.ts +2 -2
  786. package/lib/routes/radio-canada/latest.ts +2 -2
  787. package/lib/routes/raspberrypi/magazine.ts +174 -0
  788. package/lib/routes/raspberrypi/namespace.ts +9 -0
  789. package/lib/routes/raspberrypi/templates/description.art +21 -0
  790. package/lib/routes/readhub/daily.ts +2 -2
  791. package/lib/routes/readhub/index.ts +2 -2
  792. package/lib/routes/reuters/common.ts +17 -2
  793. package/lib/routes/rodong/news.ts +2 -2
  794. package/lib/routes/rsc/journal.ts +3 -3
  795. package/lib/routes/rsshub/transform/html.ts +7 -7
  796. package/lib/routes/rsshub/transform/json.ts +10 -10
  797. package/lib/routes/ruankao/news.ts +1 -1
  798. package/lib/routes/sakurazaka46/blog.ts +36 -36
  799. package/lib/routes/sara/index.ts +2 -2
  800. package/lib/routes/sass/gs/index.ts +2 -2
  801. package/lib/routes/science/blogs.ts +2 -2
  802. package/lib/routes/science/current.ts +7 -7
  803. package/lib/routes/sciencedirect/current-issue.ts +93 -0
  804. package/lib/routes/sciencenet/blog.ts +9 -9
  805. package/lib/routes/sctv/programme.ts +47 -47
  806. package/lib/routes/scut/gzic/notice.ts +2 -2
  807. package/lib/routes/scut/jwc/notice.ts +2 -2
  808. package/lib/routes/scut/jwc/school.ts +2 -2
  809. package/lib/routes/scut/smae/notice.ts +2 -2
  810. package/lib/routes/sdu/cmse.ts +2 -2
  811. package/lib/routes/sdu/epe.ts +2 -2
  812. package/lib/routes/sdu/gjsw.ts +2 -2
  813. package/lib/routes/sdu/mech.ts +2 -2
  814. package/lib/routes/sdu/qd/xszxqd.ts +2 -2
  815. package/lib/routes/sdu/qd/xyb.ts +2 -2
  816. package/lib/routes/sdu/sc.ts +2 -2
  817. package/lib/routes/sdu/wh/jwc.ts +2 -2
  818. package/lib/routes/sdu/wh/news.ts +2 -2
  819. package/lib/routes/sdu/ygb.ts +2 -2
  820. package/lib/routes/sdust/yjsy/zhaosheng.ts +6 -6
  821. package/lib/routes/seekingalpha/index.ts +3 -3
  822. package/lib/routes/sehuatang/index.ts +7 -7
  823. package/lib/routes/sensortower/blog.ts +2 -2
  824. package/lib/routes/setn/index.ts +7 -7
  825. package/lib/routes/seu/cse/index.ts +2 -2
  826. package/lib/routes/seu/yzb/index.ts +2 -2
  827. package/lib/routes/shiep/index.ts +16 -16
  828. package/lib/routes/shisu/news.ts +2 -2
  829. package/lib/routes/shopify/apps/[handle].reviews.ts +1 -1
  830. package/lib/routes/shopify/apps/search.ts +6 -3
  831. package/lib/routes/shu/global.ts +2 -2
  832. package/lib/routes/shu/gs.ts +2 -2
  833. package/lib/routes/shu/index.ts +2 -2
  834. package/lib/routes/shu/jwb.ts +2 -2
  835. package/lib/routes/shu/xykd.ts +2 -2
  836. package/lib/routes/sicau/dky.ts +2 -2
  837. package/lib/routes/sicau/yan.ts +2 -2
  838. package/lib/routes/sicau/zsjy.ts +2 -2
  839. package/lib/routes/simpleinfo/index.ts +8 -8
  840. package/lib/routes/sina/discovery.ts +2 -2
  841. package/lib/routes/sina/finance/china.ts +2 -2
  842. package/lib/routes/sina/finance/stock/usstock.ts +2 -2
  843. package/lib/routes/sina/rollnews.ts +2 -2
  844. package/lib/routes/sjtu/gs.ts +8 -8
  845. package/lib/routes/sjtu/jwc.ts +2 -2
  846. package/lib/routes/sjtu/tongqu/activity.ts +2 -2
  847. package/lib/routes/sjtu/yzb/zkxx.ts +2 -2
  848. package/lib/routes/sketis/isabelle-dev/blog/index.ts +1 -1
  849. package/lib/routes/slowmist/slowmist.ts +2 -2
  850. package/lib/routes/smashingmagazine/category.ts +34 -34
  851. package/lib/routes/smzdm/haowen-fenlei.ts +2 -2
  852. package/lib/routes/sobooks/index.ts +9 -9
  853. package/lib/routes/sobooks/tag.ts +7 -7
  854. package/lib/routes/sohu/mp.ts +3 -2
  855. package/lib/routes/spankbang/new-videos.ts +1 -1
  856. package/lib/routes/spotify/playlist.ts +3 -0
  857. package/lib/routes/spotify/show.ts +1 -1
  858. package/lib/routes/sputniknews/index.ts +38 -38
  859. package/lib/routes/sqmc/www.ts +2 -2
  860. package/lib/routes/sse/sselawsrules.ts +27 -27
  861. package/lib/routes/startuplatte/index.ts +2 -2
  862. package/lib/routes/stcn/index.ts +241 -136
  863. package/lib/routes/stcn/kx.ts +144 -0
  864. package/lib/routes/stcn/rank.ts +249 -0
  865. package/lib/routes/steam/search.ts +1 -2
  866. package/lib/routes/storm/index.ts +2 -2
  867. package/lib/routes/swjtu/namespace.ts +1 -1
  868. package/lib/routes/swjtu/scai.ts +117 -0
  869. package/lib/routes/swjtu/{scai/bks.ts → sports.ts} +16 -15
  870. package/lib/routes/swjtu/xg.ts +3 -3
  871. package/lib/routes/swpu/bgw.ts +2 -2
  872. package/lib/routes/swpu/cjxy.ts +2 -2
  873. package/lib/routes/swpu/dean.ts +2 -2
  874. package/lib/routes/swpu/dxy.ts +2 -2
  875. package/lib/routes/swpu/is.ts +2 -2
  876. package/lib/routes/swpu/scs.ts +2 -2
  877. package/lib/routes/sysu/ygafz.ts +6 -6
  878. package/lib/routes/szse/disclosure/listed-notice.ts +111 -0
  879. package/lib/routes/szse/inquire.ts +5 -5
  880. package/lib/routes/szse/projectdynamic.ts +21 -21
  881. package/lib/routes/szse/rule.ts +70 -70
  882. package/lib/routes/szse/templates/inquire.art +1 -1
  883. package/lib/routes/szu/yz/index.ts +2 -2
  884. package/lib/routes/t66y/index.ts +12 -12
  885. package/lib/routes/tangshufang/index.ts +8 -8
  886. package/lib/routes/taobao/zhongchou.ts +2 -2
  887. package/lib/routes/taoguba/index.ts +2 -2
  888. package/lib/routes/taptap/changelog-intl.ts +3 -3
  889. package/lib/routes/tass/news.ts +2 -2
  890. package/lib/routes/telecompaper/news.ts +3 -3
  891. package/lib/routes/telecompaper/search.ts +6 -6
  892. package/lib/routes/telegram/channel.ts +2 -2
  893. package/lib/routes/telegram/stickerpack.ts +19 -10
  894. package/lib/routes/telegram/tglib/client.ts +18 -18
  895. package/lib/routes/tencent/news/author.ts +40 -37
  896. package/lib/routes/tencent/pvp/newsindex.ts +2 -2
  897. package/lib/routes/tesla/cx.ts +47 -47
  898. package/lib/routes/test/index.ts +1 -1
  899. package/lib/routes/tgbus/list.ts +2 -2
  900. package/lib/routes/the/index.ts +13 -13
  901. package/lib/routes/theatlantic/news.ts +2 -2
  902. package/lib/routes/theblock/index.ts +142 -0
  903. package/lib/routes/theblock/namespace.ts +7 -0
  904. package/lib/routes/theblockbeats/index.ts +5 -5
  905. package/lib/routes/thecover/channel.ts +2 -2
  906. package/lib/routes/theinitium/app.ts +82 -53
  907. package/lib/routes/theinitium/channel.ts +3 -3
  908. package/lib/routes/themoviedb/sheet.ts +6 -6
  909. package/lib/routes/thepaper/channel.ts +14 -14
  910. package/lib/routes/thepaper/list.ts +98 -98
  911. package/lib/routes/thepetcity/index.ts +6 -6
  912. package/lib/routes/theverge/index.ts +86 -75
  913. package/lib/routes/theverge/templates/header.art +19 -0
  914. package/lib/routes/thoughtco/index.ts +293 -293
  915. package/lib/routes/threads/index.ts +73 -54
  916. package/lib/routes/threads/utils.ts +60 -78
  917. package/lib/routes/tiktok/user.ts +1 -1
  918. package/lib/routes/timednews/news.ts +3 -3
  919. package/lib/routes/tingshuitz/changsha.ts +4 -4
  920. package/lib/routes/tju/cic/index.ts +2 -2
  921. package/lib/routes/tju/news/index.ts +2 -2
  922. package/lib/routes/tju/oaa/index.ts +2 -2
  923. package/lib/routes/tju/yzb/index.ts +2 -2
  924. package/lib/routes/tmtpost/column.ts +298 -0
  925. package/lib/routes/tmtpost/new.ts +42 -0
  926. package/lib/routes/tmtpost/templates/description.art +7 -0
  927. package/lib/routes/tmtpost/util.ts +207 -0
  928. package/lib/routes/tokeninsight/report.ts +3 -3
  929. package/lib/routes/tongji/sse/notice.ts +2 -2
  930. package/lib/routes/topys/index.ts +1 -1
  931. package/lib/routes/toranoana/namespace.ts +7 -0
  932. package/lib/routes/toranoana/news.ts +110 -0
  933. package/lib/routes/toutiao/a-bogus.ts +15 -15
  934. package/lib/routes/transformer-circuits/index.ts +124 -0
  935. package/lib/routes/transformer-circuits/namespace.ts +7 -0
  936. package/lib/routes/transformer-circuits/templates/article.art +62 -0
  937. package/lib/routes/tsinghua/lib/zydt.ts +3 -3
  938. package/lib/routes/tvb/news.ts +6 -6
  939. package/lib/routes/tvtropes/featured.ts +2 -2
  940. package/lib/routes/twitter/api/developer-api/user.ts +2 -2
  941. package/lib/routes/twitter/namespace.ts +1 -1
  942. package/lib/routes/twitter/user.ts +3 -4
  943. package/lib/routes/twitter/utils.ts +13 -13
  944. package/lib/routes/txks/news.ts +1 -1
  945. package/lib/routes/txrjy/fornumtopic.ts +2 -2
  946. package/lib/routes/ucas/index.ts +2 -2
  947. package/lib/routes/uchicago/current.ts +3 -3
  948. package/lib/routes/udn/breaking-news.ts +2 -2
  949. package/lib/routes/udn/global/index.ts +2 -2
  950. package/lib/routes/udn/global/tag.ts +1 -1
  951. package/lib/routes/uestc/cqe.ts +2 -2
  952. package/lib/routes/uestc/gr.ts +3 -3
  953. package/lib/routes/uestc/jwc.ts +3 -3
  954. package/lib/routes/uestc/news.ts +2 -2
  955. package/lib/routes/uestc/sise.ts +2 -2
  956. package/lib/routes/ulapia/index.ts +2 -2
  957. package/lib/routes/unipd/ilbolive/news.ts +104 -0
  958. package/lib/routes/unipd/namespace.ts +7 -0
  959. package/lib/routes/upc/jsj.ts +2 -2
  960. package/lib/routes/upc/jwc.ts +2 -2
  961. package/lib/routes/upc/main.ts +2 -2
  962. package/lib/routes/uptimerobot/rss.ts +2 -2
  963. package/lib/routes/uraaka-joshi/uraaka-joshi-user.ts +2 -2
  964. package/lib/routes/uraaka-joshi/uraaka-joshi.ts +42 -46
  965. package/lib/routes/usepanda/index.ts +2 -2
  966. package/lib/routes/ustb/tj/news.ts +2 -2
  967. package/lib/routes/ustb/yjsy/news.ts +2 -2
  968. package/lib/routes/ustc/eeis.ts +2 -2
  969. package/lib/routes/ustc/gs.ts +2 -2
  970. package/lib/routes/ustc/index.ts +2 -2
  971. package/lib/routes/ustc/job.ts +2 -2
  972. package/lib/routes/ustc/jwc.ts +2 -2
  973. package/lib/routes/ustc/math.ts +2 -2
  974. package/lib/routes/ustc/scms.ts +2 -2
  975. package/lib/routes/ustc/sist.ts +2 -2
  976. package/lib/routes/usts/jwch.ts +2 -2
  977. package/lib/routes/utgd/category.ts +2 -2
  978. package/lib/routes/utgd/topic.ts +1 -1
  979. package/lib/routes/utgd/utils.ts +1 -1
  980. package/lib/routes/uw/gix/news.ts +2 -2
  981. package/lib/routes/vcb-s/category.ts +2 -2
  982. package/lib/routes/vom/featured.ts +2 -2
  983. package/lib/routes/wainao/namespace.ts +8 -0
  984. package/lib/routes/wainao/templates/description.art +9 -0
  985. package/lib/routes/wainao/topics.ts +214 -0
  986. package/lib/routes/wainao/wainao-reads.ts +49 -0
  987. package/lib/routes/wallstreetcn/live.ts +2 -2
  988. package/lib/routes/wallstreetcn/news.ts +12 -12
  989. package/lib/routes/wechat/tgchannel.ts +4 -4
  990. package/lib/routes/weibo/friends.ts +1 -1
  991. package/lib/routes/weibo/group.ts +1 -1
  992. package/lib/routes/weibo/namespace.ts +1 -0
  993. package/lib/routes/weibo/timeline.ts +3 -1
  994. package/lib/routes/weibo/user-bookmarks.ts +1 -1
  995. package/lib/routes/weibo/user.ts +11 -3
  996. package/lib/routes/weibo/utils.ts +11 -3
  997. package/lib/routes/wfu/news.ts +4 -4
  998. package/lib/routes/whitehouse/news.ts +2 -2
  999. package/lib/routes/who/news-room.ts +6 -6
  1000. package/lib/routes/who/news.ts +3 -3
  1001. package/lib/routes/who/speeches.ts +3 -3
  1002. package/lib/routes/whu/cs.ts +2 -2
  1003. package/lib/routes/whu/gs/index.ts +2 -2
  1004. package/lib/routes/whu/swrh.ts +3 -3
  1005. package/lib/routes/wmpvp/index.ts +2 -2
  1006. package/lib/routes/wohnnet/index.ts +129 -0
  1007. package/lib/routes/wohnnet/namespace.ts +8 -0
  1008. package/lib/routes/wordpress/util.ts +1 -1
  1009. package/lib/routes/woshipm/popular.ts +2 -2
  1010. package/lib/routes/wsj/news.ts +6 -6
  1011. package/lib/routes/wsyu/news.ts +2 -2
  1012. package/lib/routes/wtu/index.ts +2 -2
  1013. package/lib/routes/wtu/job.ts +2 -2
  1014. package/lib/routes/wyzxwk/article.ts +21 -21
  1015. package/lib/routes/x6d/index.ts +17 -17
  1016. package/lib/routes/xaufe/jiaowu.ts +2 -2
  1017. package/lib/routes/xaut/index.ts +2 -2
  1018. package/lib/routes/xaut/jwc.ts +3 -3
  1019. package/lib/routes/xaut/rsc.ts +3 -3
  1020. package/lib/routes/xiaoheihe/discount.ts +2 -2
  1021. package/lib/routes/xiaoheihe/util.ts +1 -1
  1022. package/lib/routes/xiaohongshu/util.ts +2 -2
  1023. package/lib/routes/xiaoyuzhou/pickup.ts +1 -1
  1024. package/lib/routes/xiaoyuzhou/podcast.ts +27 -27
  1025. package/lib/routes/xidian/jwc.ts +2 -2
  1026. package/lib/routes/xinpianchang/rank.ts +7 -7
  1027. package/lib/routes/xjtu/2yuan/news.ts +11 -11
  1028. package/lib/routes/xjtu/job.ts +3 -3
  1029. package/lib/routes/xjtu/std.ts +2 -2
  1030. package/lib/routes/xjtu/yz.ts +74 -0
  1031. package/lib/routes/xjtu/zs.ts +170 -0
  1032. package/lib/routes/xkb/index.ts +8 -8
  1033. package/lib/routes/xmnn/epaper.ts +2 -2
  1034. package/lib/routes/xsijishe/rank.ts +49 -17
  1035. package/lib/routes/xsijishe/utils.ts +25 -0
  1036. package/lib/routes/xueqiu/stock-info.ts +2 -2
  1037. package/lib/routes/xueqiu/timeline.ts +3 -3
  1038. package/lib/routes/xueqiu/user.ts +2 -2
  1039. package/lib/routes/yande/post.ts +2 -2
  1040. package/lib/routes/ycwb/index.ts +6 -6
  1041. package/lib/routes/yicai/dt.ts +39 -39
  1042. package/lib/routes/yicai/news.ts +26 -26
  1043. package/lib/routes/yicai/video.ts +36 -36
  1044. package/lib/routes/ymgal/article.ts +2 -2
  1045. package/lib/routes/yomiuri/news.ts +18 -18
  1046. package/lib/routes/youmemark/index.ts +88 -0
  1047. package/lib/routes/youmemark/namespace.ts +7 -0
  1048. package/lib/routes/youtube/channel.ts +40 -16
  1049. package/lib/routes/youtube/charts.ts +30 -30
  1050. package/lib/routes/youtube/community.ts +1 -1
  1051. package/lib/routes/youtube/user.ts +38 -9
  1052. package/lib/routes/youtube/utils.ts +17 -0
  1053. package/lib/routes/youzhiyouxing/materials.ts +2 -2
  1054. package/lib/routes/yuque/book.ts +2 -2
  1055. package/lib/routes/yuque/utils.ts +1 -0
  1056. package/lib/routes/yxdown/news.ts +2 -2
  1057. package/lib/routes/yxdzqb/index.ts +2 -2
  1058. package/lib/routes/yxrb/home.ts +2 -2
  1059. package/lib/routes/yyets/article.ts +2 -2
  1060. package/lib/routes/yystv/category.ts +49 -51
  1061. package/lib/routes/yystv/docs.ts +7 -9
  1062. package/lib/routes/yystv/fetcher.ts +10 -0
  1063. package/lib/routes/zaobao/realtime.ts +2 -2
  1064. package/lib/routes/zaobao/util.ts +12 -3
  1065. package/lib/routes/zaobao/znews.ts +2 -2
  1066. package/lib/routes/zaozao/article.ts +2 -2
  1067. package/lib/routes/zcmu/jwc/index.ts +2 -2
  1068. package/lib/routes/zcmu/yxy/index.ts +2 -2
  1069. package/lib/routes/zcool/discover.ts +51 -51
  1070. package/lib/routes/zhihu/answers.ts +26 -54
  1071. package/lib/routes/zhihu/timeline.ts +1 -2
  1072. package/lib/routes/zhihu/utils.ts +5 -5
  1073. package/lib/routes/zhihu/zhuanlan.ts +1 -2
  1074. package/lib/routes/zhitongcaijing/index.ts +15 -15
  1075. package/lib/routes/zhonglun/index.ts +3 -3
  1076. package/lib/routes/zimuxia/index.ts +2 -2
  1077. package/lib/routes/zjol/paper.ts +2 -2
  1078. package/lib/routes/zju/career/index.ts +2 -2
  1079. package/lib/routes/zju/cst/custom.ts +2 -2
  1080. package/lib/routes/zju/cst/index.ts +2 -2
  1081. package/lib/routes/zju/grs/index.ts +2 -2
  1082. package/lib/routes/zju/physics/index.ts +2 -2
  1083. package/lib/routes/zsxq/group.ts +2 -2
  1084. package/lib/routes/zsxq/utils.ts +1 -1
  1085. package/lib/routes/zyw/hot.ts +2 -2
  1086. package/lib/utils/otel/metric.ts +3 -3
  1087. package/lib/utils/otel/trace.ts +16 -16
  1088. package/lib/utils/puppeteer-utils.test.ts +2 -2
  1089. package/lib/utils/puppeteer.test.ts +2 -2
  1090. package/lib/utils/puppeteer.ts +2 -2
  1091. package/lib/utils/timezone.ts +1 -1
  1092. package/package.json +70 -69
  1093. package/lib/routes/apnews/api.ts +0 -77
  1094. package/lib/routes/coomer/artist.ts +0 -33
  1095. package/lib/routes/coomer/posts.ts +0 -32
  1096. package/lib/routes/coomer/utils.ts +0 -57
  1097. package/lib/routes/gcores/category.ts +0 -171
  1098. package/lib/routes/gcores/collection.ts +0 -161
  1099. package/lib/routes/gcores/tag.ts +0 -158
  1100. package/lib/routes/papers/index.ts +0 -136
  1101. package/lib/routes/producthunt/templates/descImg.art +0 -5
  1102. package/lib/routes-deprecated/chuapp/index.js +0 -54
  1103. package/lib/routes-deprecated/ltaaa/index.js +0 -69
  1104. package/lib/routes-deprecated/psnine/game.js +0 -32
  1105. package/lib/routes-deprecated/psnine/index.js +0 -33
  1106. package/lib/routes-deprecated/psnine/news.js +0 -53
  1107. package/lib/routes-deprecated/psnine/node.js +0 -54
  1108. package/lib/routes-deprecated/psnine/shuzhe.js +0 -33
  1109. package/lib/routes-deprecated/psnine/trade.js +0 -39
@@ -0,0 +1,112 @@
1
+ import { Route } from '@/types';
2
+ import { load } from 'cheerio';
3
+ const __dirname = getCurrentPath(import.meta.url);
4
+
5
+ import puppeteer from '@/utils/puppeteer';
6
+ import ofetch from '@/utils/ofetch';
7
+ import cache from '@/utils/cache';
8
+ import got from '@/utils/got';
9
+ import { parseDate } from '@/utils/parse-date';
10
+ import { crawler, analyzer } from './zjzwfw';
11
+ import timezone from '@/utils/timezone';
12
+ import path from 'node:path';
13
+ import { art } from '@/utils/render';
14
+ import { getCurrentPath } from '@/utils/helpers';
15
+
16
+ export const route: Route = {
17
+ path: '/hangzhou/zwfw',
18
+ categories: ['government'],
19
+ example: '/gov/hangzhou/zwfw',
20
+ features: {
21
+ requireConfig: false,
22
+ requirePuppeteer: true,
23
+ antiCrawler: true,
24
+ supportBT: false,
25
+ supportPodcast: false,
26
+ supportScihub: false,
27
+ },
28
+ radar: [
29
+ {
30
+ source: ['hangzhou.gov.cn/col/col1256349/index.html'],
31
+ },
32
+ ],
33
+ name: '政务服务公开',
34
+ maintainers: ['flynncao'],
35
+ handler,
36
+ url: 'hangzhou.gov.cn/col/col1256349/index.html',
37
+ };
38
+
39
+ async function handler() {
40
+ const host = 'https://www.hangzhou.gov.cn/col/col1256349/index.html';
41
+ const response = await ofetch(host);
42
+
43
+ const browser = await puppeteer({ stealth: true });
44
+ const link = host;
45
+ const formatted = response
46
+ .replace('<script type="text/xml">', '')
47
+ .replace('</script>', '')
48
+ .replaceAll('<recordset>', '')
49
+ .replaceAll('</recordset>', '')
50
+ .replaceAll('<record>', '')
51
+ .replaceAll('</record>', '')
52
+ .replaceAll('<![CDATA[', '')
53
+ .replaceAll(']]>', '');
54
+ const $ = load(formatted);
55
+
56
+ const list = $('li.clearfix')
57
+ .toArray()
58
+ .map((item: any) => {
59
+ item = $(item);
60
+ const title = item.find('a').first().text();
61
+ const time = timezone(parseDate(item.find('span').first().text(), 'YYYY-MM-DD'), 8);
62
+ const a = item.find('a').first().attr('href');
63
+ const fullUrl = new URL(a, host).href;
64
+
65
+ return {
66
+ title,
67
+ link: fullUrl,
68
+ pubDate: time,
69
+ };
70
+ })
71
+ .filter((item) => !item.title.includes('置顶'));
72
+ const items: any = await Promise.all(
73
+ list.map((item: any) =>
74
+ cache.tryGet(item.link, async () => {
75
+ const host = new URL(item.link).hostname;
76
+ if (host === 'www.zjzwfw.gov.cn') {
77
+ // 来源为浙江政务服务网
78
+ const content = await crawler(item, browser);
79
+ const $ = load(content);
80
+ item.description = art(path.resolve(__dirname, 'templates/jbxx.art'), analyzer($('.item-left .item .bg_box')));
81
+ item.author = '浙江政务服务网';
82
+ item.category = $('meta[name="ColumnType"]').attr('content');
83
+ } else {
84
+ // 其他正常抓取
85
+ const response = await got(item.link);
86
+ const $ = load(response.data);
87
+ if (host === 'police.hangzhou.gov.cn') {
88
+ // 来源为杭州市公安局
89
+ item.description = $('.art-content .wz_con_content').html();
90
+ item.author = $('meta[name="ContentSource"]').attr('content');
91
+ item.category = $('meta[name="ColumnType"]').attr('content');
92
+ } else {
93
+ // 缺省:来源为杭州市政府网
94
+ item.description = $('.article').html();
95
+ item.author = $('meta[name="ContentSource"]').attr('content');
96
+ item.category = $('meta[name="ColumnType"]').attr('content');
97
+ }
98
+ }
99
+ item.pubDate = $('meta[name="PubDate"]').length ? timezone(parseDate($('meta[name="PubDate"]').attr('content') as string, 'YYYY-MM-DD HH:mm'), 8) : item.pubDate;
100
+ return item;
101
+ })
102
+ )
103
+ );
104
+
105
+ await browser.close();
106
+ return {
107
+ allowEmpty: true,
108
+ title: '杭州市人民政府-政务服务公开',
109
+ link,
110
+ item: items,
111
+ };
112
+ }
@@ -21,8 +21,8 @@ export const route: Route = {
21
21
  maintainers: ['nczitzk'],
22
22
  handler,
23
23
  description: `| 财政动态 | 综合新闻 | 通知公告 |
24
- | -------- | -------- | -------- |
25
- | gzdt | zhxw | tzgg |`,
24
+ | -------- | -------- | -------- |
25
+ | gzdt | zhxw | tzgg |`,
26
26
  };
27
27
 
28
28
  async function handler(ctx) {
@@ -87,52 +87,52 @@ export const route: Route = {
87
87
  若订阅 [新闻发布](https://www.lswz.gov.cn/html/xinwen/index.shtml),网址为 \`https://www.lswz.gov.cn/html/xinwen/index.shtml\`。截取 \`https://www.lswz.gov.cn/\` 到末尾 \`.shtml\` 的部分 \`html/xinwen/index\` 作为参数填入,此时路由为 [\`/gov/lswz/html/xinwen/index\`](https://rsshub.app/gov/lswz/html/xinwen/index)。
88
88
  :::
89
89
 
90
- | [新闻发布](https://www.lswz.gov.cn/html/xinwen/index.shtml) | [党建工作](https://www.lswz.gov.cn/html/djgz/index.shtml) |
91
- | ------------------------------------------------------------------ | -------------------------------------------------------------- |
92
- | [html/xinwen/index](https://rsshub.app/gov/lswz/html/xinwen/index) | [html/djgz/index](https://rsshub.app/gov/lswz/html/djgz/index) |
90
+ | [新闻发布](https://www.lswz.gov.cn/html/xinwen/index.shtml) | [党建工作](https://www.lswz.gov.cn/html/djgz/index.shtml) |
91
+ | ------------------------------------------------------------------ | -------------------------------------------------------------- |
92
+ | [html/xinwen/index](https://rsshub.app/gov/lswz/html/xinwen/index) | [html/djgz/index](https://rsshub.app/gov/lswz/html/djgz/index) |
93
93
 
94
- | [粮食交易](https://www.lswz.gov.cn/html/zmhd/lysj/lsjy.shtml) | [粮食质量](https://www.lswz.gov.cn/html/zmhd/lysj/lszl.shtml) |
95
- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
96
- | [html/zmhd/lysj/lsjy](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjy) | [html/zmhd/lysj/lszl](https://rsshub.app/gov/lswz/html/zmhd/lysj/lszl) |
94
+ | [粮食交易](https://www.lswz.gov.cn/html/zmhd/lysj/lsjy.shtml) | [粮食质量](https://www.lswz.gov.cn/html/zmhd/lysj/lszl.shtml) |
95
+ | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
96
+ | [html/zmhd/lysj/lsjy](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjy) | [html/zmhd/lysj/lszl](https://rsshub.app/gov/lswz/html/zmhd/lysj/lszl) |
97
97
 
98
98
 
99
- #### [业务频道](https://www.lswz.gov.cn/html/ywpd/index.shtml)
99
+ #### [业务频道](https://www.lswz.gov.cn/html/ywpd/index.shtml)
100
100
 
101
- | [粮食调控](https://www.lswz.gov.cn/html/ywpd/lstk/index.shtml) | [物资储备](https://www.lswz.gov.cn/html/ywpd/wzcb/index.shtml) | [能源储备](https://www.lswz.gov.cn/html/ywpd/nycb/index.shtml) | [安全应急](https://www.lswz.gov.cn/html/ywpd/aqyj/index.shtml) | [法规体改](https://www.lswz.gov.cn/html/ywpd/fgtg/index.shtml) |
102
- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
103
- | [html/ywpd/lstk/index](https://rsshub.app/gov/lswz/html/ywpd/lstk/index) | [html/ywpd/wzcb/index](https://rsshub.app/gov/lswz/html/ywpd/wzcb/index) | [html/ywpd/nycb/index](https://rsshub.app/gov/lswz/html/ywpd/nycb/index) | [html/ywpd/aqyj/index](https://rsshub.app/gov/lswz/html/ywpd/aqyj/index) | [html/ywpd/fgtg/index](https://rsshub.app/gov/lswz/html/ywpd/fgtg/index) |
101
+ | [粮食调控](https://www.lswz.gov.cn/html/ywpd/lstk/index.shtml) | [物资储备](https://www.lswz.gov.cn/html/ywpd/wzcb/index.shtml) | [能源储备](https://www.lswz.gov.cn/html/ywpd/nycb/index.shtml) | [安全应急](https://www.lswz.gov.cn/html/ywpd/aqyj/index.shtml) | [法规体改](https://www.lswz.gov.cn/html/ywpd/fgtg/index.shtml) |
102
+ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
103
+ | [html/ywpd/lstk/index](https://rsshub.app/gov/lswz/html/ywpd/lstk/index) | [html/ywpd/wzcb/index](https://rsshub.app/gov/lswz/html/ywpd/wzcb/index) | [html/ywpd/nycb/index](https://rsshub.app/gov/lswz/html/ywpd/nycb/index) | [html/ywpd/aqyj/index](https://rsshub.app/gov/lswz/html/ywpd/aqyj/index) | [html/ywpd/fgtg/index](https://rsshub.app/gov/lswz/html/ywpd/fgtg/index) |
104
104
 
105
- | [规划建设](https://www.lswz.gov.cn/html/ywpd/gjks/index.shtml) | [财务审计](https://www.lswz.gov.cn/html/ywpd/cwsj/index.shtml) | [仓储科技](https://www.lswz.gov.cn/html/ywpd/cckj/index.shtml) | [执法督查](https://www.lswz.gov.cn/html/ywpd/zfdc/index.shtml) | [国际交流](https://www.lswz.gov.cn/html/ywpd/gjjl/index.shtml) |
106
- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
107
- | [html/ywpd/gjks/index](https://rsshub.app/gov/lswz/html/ywpd/gjks/index) | [html/ywpd/cwsj/index](https://rsshub.app/gov/lswz/html/ywpd/cwsj/index) | [html/ywpd/cckj/index](https://rsshub.app/gov/lswz/html/ywpd/cckj/index) | [html/ywpd/zfdc/index](https://rsshub.app/gov/lswz/html/ywpd/zfdc/index) | [html/ywpd/gjjl/index](https://rsshub.app/gov/lswz/html/ywpd/gjjl/index) |
105
+ | [规划建设](https://www.lswz.gov.cn/html/ywpd/gjks/index.shtml) | [财务审计](https://www.lswz.gov.cn/html/ywpd/cwsj/index.shtml) | [仓储科技](https://www.lswz.gov.cn/html/ywpd/cckj/index.shtml) | [执法督查](https://www.lswz.gov.cn/html/ywpd/zfdc/index.shtml) | [国际交流](https://www.lswz.gov.cn/html/ywpd/gjjl/index.shtml) |
106
+ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
107
+ | [html/ywpd/gjks/index](https://rsshub.app/gov/lswz/html/ywpd/gjks/index) | [html/ywpd/cwsj/index](https://rsshub.app/gov/lswz/html/ywpd/cwsj/index) | [html/ywpd/cckj/index](https://rsshub.app/gov/lswz/html/ywpd/cckj/index) | [html/ywpd/zfdc/index](https://rsshub.app/gov/lswz/html/ywpd/zfdc/index) | [html/ywpd/gjjl/index](https://rsshub.app/gov/lswz/html/ywpd/gjjl/index) |
108
108
 
109
- | [人事人才](https://www.lswz.gov.cn/html/ywpd/rsrc/index.shtml) | [标准质量](https://www.lswz.gov.cn/html/ywpd/bzzl/index.shtml) | [粮食和储备研究](https://www.lswz.gov.cn/html/ywpd/lshcbyj/index.shtml) |
110
- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
111
- | [html/ywpd/rsrc/index](https://rsshub.app/gov/lswz/html/ywpd/rsrc/index) | [html/ywpd/bzzl/index](https://rsshub.app/gov/lswz/html/ywpd/bzzl/index) | [html/ywpd/lshcbyj/index](https://rsshub.app/gov/lswz/html/ywpd/lshcbyj/index) |
109
+ | [人事人才](https://www.lswz.gov.cn/html/ywpd/rsrc/index.shtml) | [标准质量](https://www.lswz.gov.cn/html/ywpd/bzzl/index.shtml) | [粮食和储备研究](https://www.lswz.gov.cn/html/ywpd/lshcbyj/index.shtml) |
110
+ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
111
+ | [html/ywpd/rsrc/index](https://rsshub.app/gov/lswz/html/ywpd/rsrc/index) | [html/ywpd/bzzl/index](https://rsshub.app/gov/lswz/html/ywpd/bzzl/index) | [html/ywpd/lshcbyj/index](https://rsshub.app/gov/lswz/html/ywpd/lshcbyj/index) |
112
112
 
113
- #### [政策发布](https://www.lswz.gov.cn/html/zcfb/index.shtml)
113
+ #### [政策发布](https://www.lswz.gov.cn/html/zcfb/index.shtml)
114
114
 
115
- | [文件](https://www.lswz.gov.cn/html/zcfb/wenjian.shtml) | [法律法规](https://www.lswz.gov.cn/html/zcfb/fggz-fg.shtml) | [规章](https://www.lswz.gov.cn/html/zcfb/fggz-gz.shtml) |
116
- | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
117
- | [html/zcfb/wenjian](https://rsshub.app/gov/lswz/html/zcfb/wenjian) | [html/zcfb/fggz-fg](https://rsshub.app/gov/lswz/html/zcfb/fggz-fg) | [html/zcfb/fggz-gz](https://rsshub.app/gov/lswz/html/zcfb/fggz-gz) |
115
+ | [文件](https://www.lswz.gov.cn/html/zcfb/wenjian.shtml) | [法律法规](https://www.lswz.gov.cn/html/zcfb/fggz-fg.shtml) | [规章](https://www.lswz.gov.cn/html/zcfb/fggz-gz.shtml) |
116
+ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
117
+ | [html/zcfb/wenjian](https://rsshub.app/gov/lswz/html/zcfb/wenjian) | [html/zcfb/fggz-fg](https://rsshub.app/gov/lswz/html/zcfb/fggz-fg) | [html/zcfb/fggz-gz](https://rsshub.app/gov/lswz/html/zcfb/fggz-gz) |
118
118
 
119
- #### [通知公告](https://www.lswz.gov.cn/html/tzgg/index.shtml)
119
+ #### [通知公告](https://www.lswz.gov.cn/html/tzgg/index.shtml)
120
120
 
121
- | [行政通知](https://www.lswz.gov.cn/html/tzgg/xztz.shtml) | [公告通告](https://www.lswz.gov.cn/html/tzgg/ggtg.shtml) |
122
- | ------------------------------------------------------------ | ------------------------------------------------------------ |
123
- | [html/tzgg/xztz](https://rsshub.app/gov/lswz/html/tzgg/xztz) | [html/tzgg/ggtg](https://rsshub.app/gov/lswz/html/tzgg/ggtg) |
121
+ | [行政通知](https://www.lswz.gov.cn/html/tzgg/xztz.shtml) | [公告通告](https://www.lswz.gov.cn/html/tzgg/ggtg.shtml) |
122
+ | ------------------------------------------------------------ | ------------------------------------------------------------ |
123
+ | [html/tzgg/xztz](https://rsshub.app/gov/lswz/html/tzgg/xztz) | [html/tzgg/ggtg](https://rsshub.app/gov/lswz/html/tzgg/ggtg) |
124
124
 
125
- #### [粮食收购](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-szym.shtml)
125
+ #### [粮食收购](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-szym.shtml)
126
126
 
127
- | [收购数据](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-szym.shtml) | [政策·解读](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-gzdt.shtml) |
128
- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
129
- | [html/zmhd/lysj/lssg-szym](https://rsshub.app/gov/lswz/html/zmhd/lysj/lssg-szym) | [html/zmhd/lysj/lssg-gzdt](https://rsshub.app/gov/lswz/html/zmhd/lysj/lssg-gzdt) |
127
+ | [收购数据](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-szym.shtml) | [政策·解读](https://www.lswz.gov.cn/html/zmhd/lysj/lssg-gzdt.shtml) |
128
+ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
129
+ | [html/zmhd/lysj/lssg-szym](https://rsshub.app/gov/lswz/html/zmhd/lysj/lssg-szym) | [html/zmhd/lysj/lssg-gzdt](https://rsshub.app/gov/lswz/html/zmhd/lysj/lssg-gzdt) |
130
130
 
131
- #### [粮食价格](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjc.shtml)
131
+ #### [粮食价格](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjc.shtml)
132
132
 
133
- | [市场监测](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjc.shtml) | [市场价格](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjg.shtml) |
134
- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
135
- | [html/zmhd/lysj/lsjg-scjc](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjg-scjc) | [html/zmhd/lysj/lsjg-scjg](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjg-scjg) |
133
+ | [市场监测](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjc.shtml) | [市场价格](https://www.lswz.gov.cn/html/zmhd/lysj/lsjg-scjg.shtml) |
134
+ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
135
+ | [html/zmhd/lysj/lsjg-scjc](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjg-scjc) | [html/zmhd/lysj/lsjg-scjg](https://rsshub.app/gov/lswz/html/zmhd/lysj/lsjg-scjg) |
136
136
 
137
137
  `,
138
138
  categories: ['government'],
@@ -24,8 +24,8 @@ export const route: Route = {
24
24
  maintainers: ['ShuiHuo'],
25
25
  handler,
26
26
  description: `| 政务公开 | 政务新闻 | 茂南动态 | 重大会议 | 公告公示 | 招录信息 | 政策解读 |
27
- | :------: | :------: | :------: | :------: | :------: | :------: | :------: |
28
- | zwgk | zwxw | mndt | zdhy | tzgg | zlxx | zcjd |`,
27
+ | :------: | :------: | :------: | :------: | :------: | :------: | :------: |
28
+ | zwgk | zwxw | mndt | zdhy | tzgg | zlxx | zcjd |`,
29
29
  };
30
30
 
31
31
  async function handler(ctx) {
@@ -27,8 +27,8 @@ export const route: Route = {
27
27
  maintainers: ['nczitzk'],
28
28
  handler,
29
29
  description: `| 挂牌督办 | 调查报告 |
30
- | -------- | ---------- |
31
- | sggpdbqk | tbzdsgdcbg |`,
30
+ | -------- | ---------- |
31
+ | sggpdbqk | tbzdsgdcbg |`,
32
32
  };
33
33
 
34
34
  async function handler(ctx) {
@@ -23,16 +23,16 @@ export const route: Route = {
23
23
  maintainers: ['nicolaszf', 'nczitzk'],
24
24
  handler,
25
25
  description: `| 分类 | category |
26
- | ---------- | -------- |
27
- | 领导人活动 | gjldrhd |
28
- | 外事日程 | wsrc |
29
- | 部领导活动 | wjbxw |
30
- | 业务动态 | sjxw |
31
- | 发言人表态 | fyrbt |
32
- | 吹风会 | cfhsl |
33
- | 大使任免 | dsrm |
34
- | 驻外报道 | zwbd |
35
- | 政策解读 | zcjd |`,
26
+ | ---------- | -------- |
27
+ | 领导人活动 | gjldrhd |
28
+ | 外事日程 | wsrc |
29
+ | 部领导活动 | wjbxw |
30
+ | 业务动态 | sjxw |
31
+ | 发言人表态 | fyrbt |
32
+ | 吹风会 | cfhsl |
33
+ | 大使任免 | dsrm |
34
+ | 驻外报道 | zwbd |
35
+ | 政策解读 | zcjd |`,
36
36
  };
37
37
 
38
38
  async function handler(ctx) {
@@ -0,0 +1,210 @@
1
+ import { type Data, type DataItem, type Route, ViewType } from '@/types';
2
+
3
+ import cache from '@/utils/cache';
4
+ import ofetch from '@/utils/ofetch';
5
+ import { parseDate } from '@/utils/parse-date';
6
+ import timezone from '@/utils/timezone';
7
+
8
+ import { type CheerioAPI, type Cheerio, type Element, load } from 'cheerio';
9
+ import { type Context } from 'hono';
10
+
11
+ export const handler = async (ctx: Context): Promise<Data> => {
12
+ const { category = 'gzdt' } = ctx.req.param();
13
+ const limit: number = Number.parseInt(ctx.req.query('limit') ?? '30', 10);
14
+
15
+ const baseUrl: string = 'http://www.gjs.moa.gov.cn';
16
+ const targetUrl: string = new URL(category.endsWith('/') ? category : `${category}/`, baseUrl).href;
17
+
18
+ const response = await ofetch(targetUrl);
19
+ const $: CheerioAPI = load(response);
20
+ const language = $('html').attr('lang') ?? 'zh-CN';
21
+
22
+ let items: DataItem[] = [];
23
+
24
+ items = $('ul#div li')
25
+ .slice(0, limit)
26
+ .toArray()
27
+ .map((el): Element => {
28
+ const $el: Cheerio<Element> = $(el);
29
+
30
+ const aEl: Cheerio<Element> = $el.find('a');
31
+
32
+ const title: string = aEl.attr('title') ?? $el.find('span.sj_gztzle').text();
33
+ const pubDateStr: string | undefined = $el.find('span.sj_gztzri').text();
34
+ const linkUrl: string | undefined = aEl.attr('href');
35
+ const upDatedStr: string | undefined = pubDateStr;
36
+
37
+ const processedItem: DataItem = {
38
+ title,
39
+ pubDate: parseDate(pubDateStr),
40
+ link: linkUrl ? new URL(linkUrl, targetUrl).href : undefined,
41
+ updated: parseDate(upDatedStr),
42
+ language,
43
+ };
44
+
45
+ return processedItem;
46
+ });
47
+
48
+ items = (
49
+ await Promise.all(
50
+ items.map((item) => {
51
+ if (!item.link) {
52
+ return item;
53
+ }
54
+
55
+ return cache.tryGet(item.link, async (): Promise<DataItem> => {
56
+ const detailResponse = await ofetch(item.link);
57
+ const $$: CheerioAPI = load(detailResponse);
58
+
59
+ const title: string = $$('meta[name="ArticleTitle"]').attr('content') ?? '';
60
+ const description: string = $$('div.TRS_Editor').html() ?? '';
61
+ const pubDateStr: string | undefined = $$('meta[name="PubDate"]').attr('content');
62
+ const linkUrl: string | undefined = $$('meta[name="Url"]').attr('content');
63
+ const categoryEls: Element[] = $$('meta[name="ColumnName"], meta[name="ContentSource"], meta[name="Keywords"]').toArray();
64
+ const categories: string[] = [...new Set(categoryEls.map((el) => $$(el).attr('content') as string).filter(Boolean))];
65
+ const authors: DataItem['author'] = $$('meta[name="Author"]').attr('content');
66
+ const upDatedStr: string | undefined = pubDateStr;
67
+
68
+ let processedItem: DataItem = {
69
+ title,
70
+ description,
71
+ pubDate: pubDateStr ? timezone(parseDate(pubDateStr), +8) : item.pubDate,
72
+ link: linkUrl ?? item.link,
73
+ category: categories,
74
+ author: authors,
75
+ content: {
76
+ html: description,
77
+ text: description,
78
+ },
79
+ updated: upDatedStr ? timezone(parseDate(upDatedStr), +8) : item.updated,
80
+ language,
81
+ };
82
+
83
+ const $enclosureEl: Cheerio<Element> = $$('div.sj_fujianxia_right ul li a').first();
84
+ const enclosureUrl: string | undefined = $enclosureEl.attr('href');
85
+
86
+ if (enclosureUrl) {
87
+ const enclosureType: string = `application/${enclosureUrl.split('.').pop()}`;
88
+ const enclosureTitle: string = $enclosureEl.text();
89
+
90
+ processedItem = {
91
+ ...processedItem,
92
+ enclosure_url: new URL(enclosureUrl, item.link).href,
93
+ enclosure_type: enclosureType,
94
+ enclosure_title: enclosureTitle || title,
95
+ };
96
+ }
97
+
98
+ return {
99
+ ...item,
100
+ ...processedItem,
101
+ };
102
+ });
103
+ })
104
+ )
105
+ ).filter((_): _ is DataItem => true);
106
+
107
+ const author: string = '中华人民共和国农业农村部国际合作司';
108
+ const description: string = $('meta[name="ColumnName"]').attr('content') ?? '';
109
+
110
+ return {
111
+ title: `${author} - ${description}`,
112
+ description,
113
+ link: targetUrl,
114
+ item: items,
115
+ allowEmpty: true,
116
+ image: new URL('images/logo-china.png', baseUrl).href,
117
+ author,
118
+ language,
119
+ };
120
+ };
121
+
122
+ export const route: Route = {
123
+ path: '/moa/gjs/:category{.+}?',
124
+ name: '中华人民共和国农业农村部国际合作司',
125
+ url: 'www.gjs.moa.gov.cn',
126
+ maintainers: ['nczitzk'],
127
+ handler,
128
+ example: '/gov/moa/gjs/gzdt',
129
+ parameters: {
130
+ category: {
131
+ description: '分类,默认为 `gzdt`,即工作动态,可在对应分类页 URL 中找到',
132
+ options: [
133
+ {
134
+ label: '工作动态',
135
+ value: 'gzdt',
136
+ },
137
+ {
138
+ label: '通知公告',
139
+ value: 'tzgg',
140
+ },
141
+ {
142
+ label: '“一带一路”合作和农业走出去',
143
+ value: 'ydylhzhhnyzcq',
144
+ },
145
+ {
146
+ label: '农业国际贸易监测与展望',
147
+ value: 'ncpmy',
148
+ },
149
+ {
150
+ label: '多双边合作',
151
+ value: 'dsbhz',
152
+ },
153
+ ],
154
+ },
155
+ },
156
+ description: `:::tip
157
+ 若订阅 [中华人民共和国农业农村部国际合作司工作动态](https://www.gjs.moa.gov.cn/gzdt/),网址为 \`https://www.gjs.moa.gov.cn/gzdt/\`,请截取 \`https://www.gjs.moa.gov.cn/\` 到末尾 \`/\` 的部分 \`gzdt\` 作为 \`category\` 参数填入,此时目标路由为 [\`/gov/moa/gjs/gzdt\`](https://rsshub.app/gov/moa/gjs/gzdt)。
158
+ :::
159
+
160
+ | [工作动态](http://www.gjs.moa.gov.cn/gzdt/) | [通知公告](http://www.gjs.moa.gov.cn/tzgg/) | [“一带一路”合作和农业走出去](http://www.gjs.moa.gov.cn/ydylhzhhnyzcq/) | [农业国际贸易监测与展望](http://www.gjs.moa.gov.cn/ncpmy/) | [多双边合作](http://www.gjs.moa.gov.cn/dsbhz/) |
161
+ | ------------------------------------------- | ------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------- |
162
+ | [gzdt](https://rsshub.app/gov/moa/gjs/gzdt) | [tzgg](https://rsshub.app/gov/moa/gjs/tzgg) | [ydylhzhhnyzcq](https://rsshub.app/gov/moa/gjs/ydylhzhhnyzcq) | [ncpmy](https://rsshub.app/gov/moa/gjs/ncpmy) | [dsbhz](https://rsshub.app/gov/moa/gjs/dsbhz) |
163
+ `,
164
+ categories: ['government'],
165
+ features: {
166
+ requireConfig: false,
167
+ requirePuppeteer: false,
168
+ antiCrawler: false,
169
+ supportRadar: true,
170
+ supportBT: false,
171
+ supportPodcast: false,
172
+ supportScihub: false,
173
+ },
174
+ radar: [
175
+ {
176
+ source: ['www.gjs.moa.gov.cn/:category{.+}?'],
177
+ target: (params) => {
178
+ const category: string = params.category;
179
+
180
+ return `/gov/moa/gjs${category ? `/${category}` : ''}`;
181
+ },
182
+ },
183
+ {
184
+ title: '工作动态',
185
+ source: ['www.gjs.moa.gov.cn/gzdt/'],
186
+ target: '/moa/gjs/gzdt',
187
+ },
188
+ {
189
+ title: '通知公告',
190
+ source: ['www.gjs.moa.gov.cn/tzgg/'],
191
+ target: '/moa/gjs/tzgg',
192
+ },
193
+ {
194
+ title: '“一带一路”合作和农业走出去',
195
+ source: ['www.gjs.moa.gov.cn/ydylhzhhnyzcq/'],
196
+ target: '/moa/gjs/ydylhzhhnyzcq',
197
+ },
198
+ {
199
+ title: '农业国际贸易监测与展望',
200
+ source: ['www.gjs.moa.gov.cn/ncpmy/'],
201
+ target: '/moa/gjs/ncpmy',
202
+ },
203
+ {
204
+ title: '多双边合作',
205
+ source: ['www.gjs.moa.gov.cn/dsbhz/'],
206
+ target: '/moa/gjs/dsbhz',
207
+ },
208
+ ],
209
+ view: ViewType.Articles,
210
+ };
@@ -112,8 +112,8 @@ export const route: Route = {
112
112
  若订阅 \`央视网\` 报告来源 的 \`蔬菜生产\` 报告主题。此时路由为 [\`/gov/moa/zdscxx/央视网/蔬菜生产\`](https://rsshub.app/gov/moa/zdscxx/央视网/蔬菜生产)。
113
113
  :::
114
114
 
115
- | 价格指数 | 供需形势 | 分析报告周报 | 分析报告日报 | 日历信息 | 蔬菜生产 |
116
- | -------- | -------- | ------------ | ------------ | -------- | -------- |
115
+ | 价格指数 | 供需形势 | 分析报告周报 | 分析报告日报 | 日历信息 | 蔬菜生产 |
116
+ | -------- | -------- | ------------ | ------------ | -------- | -------- |
117
117
  `,
118
118
  categories: ['government'],
119
119
 
@@ -31,8 +31,8 @@ export const route: Route = {
31
31
  maintainers: ['Crawler995'],
32
32
  handler,
33
33
  description: `| 政策解读 | 最新文件 | 公告公示 | 教育部简报 | 教育要闻 |
34
- | :----------: | :----------: | :------: | :-----------------: | :--------------: |
35
- | policy\_anal | newest\_file | notice | edu\_ministry\_news | edu\_focus\_news |`,
34
+ | :----------: | :----------: | :------: | :-----------------: | :--------------: |
35
+ | policy\_anal | newest\_file | notice | edu\_ministry\_news | edu\_focus\_news |`,
36
36
  };
37
37
 
38
38
  async function handler(ctx) {
@@ -26,9 +26,9 @@ export const route: Route = {
26
26
  handler,
27
27
  description: `#### 政府债券管理
28
28
 
29
- | 国债管理工作动态 | 记账式国债 (含特别国债) 发行 | 储蓄国债发行 | 地方政府债券管理 |
30
- | ---------------- | ---------------------------- | ------------ | --------------------- |
31
- | gzfxgzdt | gzfxzjs | gzfxdzs | difangzhengfuzhaiquan |`,
29
+ | 国债管理工作动态 | 记账式国债 (含特别国债) 发行 | 储蓄国债发行 | 地方政府债券管理 |
30
+ | ---------------- | ---------------------------- | ------------ | --------------------- |
31
+ | gzfxgzdt | gzfxzjs | gzfxdzs | difangzhengfuzhaiquan |`,
32
32
  };
33
33
 
34
34
  async function handler(ctx) {
@@ -0,0 +1,82 @@
1
+ import { Data, Route } from '@/types';
2
+ import cache from '@/utils/cache';
3
+ import got from '@/utils/got';
4
+ import { load } from 'cheerio';
5
+ import timezone from '@/utils/timezone';
6
+ import { parseDate } from '@/utils/parse-date';
7
+ import { Context } from 'hono';
8
+
9
+ const DOMAIN = 'gss.mof.gov.cn';
10
+
11
+ const handler = async (ctx: Context): Promise<Data | null> => {
12
+ const { category = 'zhengcefabu' } = ctx.req.param();
13
+ const currentUrl = `https://${DOMAIN}/gzdt/${category}/`;
14
+ const { data: response } = await got(currentUrl);
15
+ const $ = load(response);
16
+ const title = $('title').text();
17
+ const author = $('div.zzName').text();
18
+ const siteName = $('meta[name="SiteName"]').prop('content');
19
+ const description = $('meta[name="ColumnDescription"]').prop('content');
20
+ const indexes = $('ul.liBox li')
21
+ .toArray()
22
+ .map((li) => {
23
+ const a = $(li).find('a');
24
+ const pubDate = $(li).find('span').text();
25
+ const href = a.prop('href') as string;
26
+ const link = href.startsWith('http') ? href : new URL(href, currentUrl).href;
27
+ return {
28
+ title: a.prop('title'),
29
+ link,
30
+ pubDate: timezone(parseDate(pubDate), +8),
31
+ };
32
+ });
33
+
34
+ const items = await Promise.all(
35
+ indexes.map((item: Data) =>
36
+ cache.tryGet(item.link!, async () => {
37
+ const { data: detailResponse } = await got(item.link);
38
+ const content = load(detailResponse);
39
+ item.description = content('div.my_doccontent').html() ?? '';
40
+ item.author = author;
41
+ return item;
42
+ })
43
+ )
44
+ );
45
+
46
+ return {
47
+ item: items,
48
+ title,
49
+ link: currentUrl,
50
+ description: `${description} - ${siteName}`,
51
+ author,
52
+ } as Data;
53
+ };
54
+
55
+ export const route: Route = {
56
+ path: '/mof/gss/:category?',
57
+ categories: ['government'],
58
+ example: '/gov/mof/gss',
59
+ parameters: { category: '列表标签,默认为政策发布' },
60
+ features: {
61
+ requireConfig: false,
62
+ requirePuppeteer: false,
63
+ antiCrawler: false,
64
+ supportBT: false,
65
+ supportPodcast: false,
66
+ supportScihub: false,
67
+ },
68
+ name: '关税政策文件',
69
+ maintainers: ['la3rence'],
70
+ handler,
71
+ description: `#### 关税文件发布
72
+
73
+ | 政策发布 | 政策解读 |
74
+ | ------------- | -------------- |
75
+ | zhengcefabu | zhengcejiedu |`,
76
+ radar: [
77
+ {
78
+ source: ['gss.mof.gov.cn/gzdt/:category/'],
79
+ target: '/mof/gss/:category',
80
+ },
81
+ ],
82
+ };
@@ -23,8 +23,8 @@ export const route: Route = {
23
23
  maintainers: ['TonyRL'],
24
24
  handler,
25
25
  description: `| 全部 | 其他 | 採購公告 | 新聞稿 | 肅貪 | 預防 | 綜合 | 防疫專區 |
26
- | ---- | ---- | -------- | ------ | ---- | ---- | ---- | -------- |
27
- | | 02 | 01 | 06 | 05 | 04 | 03 | 99 |`,
26
+ | ---- | ---- | -------- | ------ | ---- | ---- | ---- | -------- |
27
+ | | 02 | 01 | 06 | 05 | 04 | 03 | 99 |`,
28
28
  };
29
29
 
30
30
  async function handler(ctx) {
@@ -27,8 +27,8 @@ export const route: Route = {
27
27
  maintainers: ['233yeee'],
28
28
  handler,
29
29
  description: `| 立法 | 监督 | 代表 | 理论 | 权威发布 | 滚动新闻 |
30
- | ---- | ---- | ---- | ---- | -------- | -------- |
31
- | c183 | c184 | c185 | c189 | c12435 | c10134 |`,
30
+ | ---- | ---- | ---- | ---- | -------- | -------- |
31
+ | c183 | c184 | c185 | c189 | c12435 | c10134 |`,
32
32
  };
33
33
 
34
34
  async function handler(ctx) {
@@ -22,8 +22,8 @@ export const route: Route = {
22
22
  maintainers: ['nczitzk'],
23
23
  handler,
24
24
  description: `| 备案公示 | 发行许可通告 | 重大题材立项 | 重大题材摄制 | 变更通报 |
25
- | -------- | ------------ | ---------------- | --------------- | -------- |
26
- | note | announce | importantLixiang | importantShezhi | changing |`,
25
+ | -------- | ------------ | ---------------- | --------------- | -------- |
26
+ | note | announce | importantLixiang | importantShezhi | changing |`,
27
27
  };
28
28
 
29
29
  async function handler(ctx) {