rsshub 1.0.0-master.dc19fc2 → 1.0.0-master.dc4c5c8

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 (2003) hide show
  1. package/README.md +4 -4
  2. package/lib/api/index.ts +31 -0
  3. package/lib/api/namespace/all.ts +17 -0
  4. package/lib/api/namespace/one.ts +33 -0
  5. package/lib/api/radar/rules/all.ts +59 -0
  6. package/lib/api/radar/rules/one.ts +75 -0
  7. package/lib/{app.ts → app.tsx} +13 -2
  8. package/lib/config.test.ts +0 -6
  9. package/lib/config.ts +50 -12
  10. package/lib/errors/index.test.ts +23 -7
  11. package/lib/errors/index.tsx +30 -35
  12. package/lib/errors/types/config-not-found.ts +5 -0
  13. package/lib/errors/types/invalid-parameter.ts +5 -0
  14. package/lib/errors/types/not-found.ts +5 -0
  15. package/lib/errors/types/reject.ts +5 -0
  16. package/lib/errors/types/request-in-progress.ts +5 -0
  17. package/lib/index.ts +1 -1
  18. package/lib/middleware/access-control.ts +1 -1
  19. package/lib/middleware/cache.test.ts +54 -53
  20. package/lib/middleware/cache.ts +1 -1
  21. package/lib/middleware/parameter.test.ts +8 -24
  22. package/lib/middleware/parameter.ts +7 -8
  23. package/lib/middleware/{template.ts → template.tsx} +22 -11
  24. package/lib/registry.test.ts +2 -57
  25. package/lib/registry.ts +31 -43
  26. package/lib/router.js +12 -40
  27. package/lib/routes/005/index.ts +156 -0
  28. package/lib/routes/005/namespace.ts +8 -0
  29. package/lib/routes/005/templates/description.art +27 -0
  30. package/lib/routes/0x80/index.ts +87 -0
  31. package/lib/routes/0x80/namespace.ts +7 -0
  32. package/lib/routes/12306/index.ts +3 -2
  33. package/lib/routes/12306/zxdt.ts +6 -4
  34. package/lib/routes/12371/namespace.ts +7 -0
  35. package/lib/routes/12371/zxfb.ts +64 -0
  36. package/lib/routes/141jav/index.ts +38 -4
  37. package/lib/routes/141ppv/index.ts +38 -4
  38. package/lib/routes/163/ds.ts +6 -4
  39. package/lib/routes/163/dy.ts +1 -2
  40. package/lib/routes/163/dy2.ts +7 -11
  41. package/lib/routes/163/exclusive.ts +6 -4
  42. package/lib/routes/163/music/artist-songs.ts +1 -1
  43. package/lib/routes/163/music/artist.ts +1 -1
  44. package/lib/routes/163/music/djradio.ts +1 -1
  45. package/lib/routes/163/music/playlist.ts +9 -10
  46. package/lib/routes/163/music/userevents.ts +3 -2
  47. package/lib/routes/163/music/userplaylist.ts +1 -1
  48. package/lib/routes/163/music/userplayrecords.ts +8 -2
  49. package/lib/routes/163/news/rank.ts +3 -2
  50. package/lib/routes/163/news/special.ts +2 -1
  51. package/lib/routes/163/open/vip.ts +6 -4
  52. package/lib/routes/163/renjian.ts +5 -3
  53. package/lib/routes/163/today.ts +6 -4
  54. package/lib/routes/163/utils.ts +5 -6
  55. package/lib/routes/18comic/album.ts +5 -3
  56. package/lib/routes/18comic/blogs.ts +5 -3
  57. package/lib/routes/18comic/index.ts +6 -4
  58. package/lib/routes/18comic/search.ts +7 -5
  59. package/lib/routes/18comic/templates/description.art +8 -0
  60. package/lib/routes/18comic/utils.ts +6 -2
  61. package/lib/routes/19lou/index.ts +2 -1
  62. package/lib/routes/1lou/index.ts +118 -57
  63. package/lib/routes/1lou/namespace.ts +2 -0
  64. package/lib/routes/1point3acres/blog.ts +5 -3
  65. package/lib/routes/1point3acres/category.ts +5 -3
  66. package/lib/routes/1point3acres/offer.ts +8 -6
  67. package/lib/routes/1point3acres/section.ts +5 -3
  68. package/lib/routes/1point3acres/thread.ts +2 -1
  69. package/lib/routes/1point3acres/user/post.ts +5 -3
  70. package/lib/routes/1point3acres/user/thread.ts +5 -3
  71. package/lib/routes/1point3acres/utils.ts +1 -1
  72. package/lib/routes/1x/index.ts +121 -0
  73. package/lib/routes/1x/namespace.ts +8 -0
  74. package/lib/routes/1x/templates/description.art +17 -0
  75. package/lib/routes/2023game/index.ts +69 -0
  76. package/lib/routes/{zhangyoubao → 2023game}/namespace.ts +2 -2
  77. package/lib/routes/2048/index.ts +1 -1
  78. package/lib/routes/36kr/hot-list.ts +6 -4
  79. package/lib/routes/36kr/index.ts +13 -3
  80. package/lib/routes/3dmgame/game.ts +9 -6
  81. package/lib/routes/3dmgame/news-center.ts +7 -5
  82. package/lib/routes/3kns/index.ts +121 -0
  83. package/lib/routes/3kns/namespace.ts +6 -0
  84. package/lib/routes/3kns/templates/description.art +9 -0
  85. package/lib/routes/4gamers/category.ts +6 -5
  86. package/lib/routes/4gamers/tag.ts +5 -3
  87. package/lib/routes/4gamers/topic.ts +5 -3
  88. package/lib/routes/4gamers/utils.ts +3 -2
  89. package/lib/routes/4ksj/forum.ts +130 -77
  90. package/lib/routes/4ksj/templates/description.art +49 -46
  91. package/lib/routes/500px/tribe-set.ts +3 -12
  92. package/lib/routes/500px/utils.ts +23 -22
  93. package/lib/routes/50forum/zhuanjia.ts +6 -4
  94. package/lib/routes/51cto/namespace.ts +6 -0
  95. package/lib/routes/51cto/recommend.ts +52 -0
  96. package/lib/routes/51cto/utils.ts +21 -0
  97. package/lib/routes/52hrtt/symposium.ts +6 -4
  98. package/lib/routes/56kog/class.ts +1 -1
  99. package/lib/routes/56kog/top.ts +1 -1
  100. package/lib/routes/56kog/util.ts +1 -1
  101. package/lib/routes/591/list.ts +7 -6
  102. package/lib/routes/5eplay/index.ts +5 -3
  103. package/lib/routes/6park/index.ts +6 -4
  104. package/lib/routes/6park/news.ts +6 -4
  105. package/lib/routes/6v123/latest-movies.ts +5 -3
  106. package/lib/routes/6v123/latest-tvseries.ts +5 -3
  107. package/lib/routes/78dm/index.ts +1 -1
  108. package/lib/routes/7mmtv/index.ts +1 -1
  109. package/lib/routes/8264/list.ts +1 -1
  110. package/lib/routes/8kcos/cat.ts +6 -4
  111. package/lib/routes/8kcos/latest.ts +6 -4
  112. package/lib/routes/8kcos/tag.ts +5 -3
  113. package/lib/routes/91porn/author.ts +7 -5
  114. package/lib/routes/91porn/index.ts +7 -5
  115. package/lib/routes/91porn/utils.ts +2 -1
  116. package/lib/routes/95mm/category.ts +6 -4
  117. package/lib/routes/95mm/tab.ts +6 -4
  118. package/lib/routes/95mm/tag.ts +6 -4
  119. package/lib/routes/95mm/utils.ts +1 -1
  120. package/lib/routes/a9vg/a9vg.ts +6 -4
  121. package/lib/routes/aamacau/index.ts +5 -3
  122. package/lib/routes/abc/index.ts +20 -6
  123. package/lib/routes/abmedia/category.ts +6 -4
  124. package/lib/routes/abmedia/index.ts +5 -3
  125. package/lib/routes/abskoop/index.ts +7 -5
  126. package/lib/routes/abskoop/nsfw.ts +8 -6
  127. package/lib/routes/accessbriefing/index.ts +217 -0
  128. package/lib/routes/accessbriefing/namespace.ts +8 -0
  129. package/lib/routes/accessbriefing/templates/description.art +27 -0
  130. package/lib/routes/acfun/article.ts +4 -3
  131. package/lib/routes/acfun/video.ts +10 -4
  132. package/lib/routes/acg17/post.ts +5 -3
  133. package/lib/routes/acs/journal.ts +6 -4
  134. package/lib/routes/aeaweb/index.ts +6 -4
  135. package/lib/routes/aeon/category.ts +5 -4
  136. package/lib/routes/aeon/type.ts +5 -4
  137. package/lib/routes/aeon/utils.ts +5 -2
  138. package/lib/{routes-deprecated/afdian/dynamic.js → routes/afdian/dynamic.ts} +16 -5
  139. package/lib/{routes-deprecated/afdian/explore.js → routes/afdian/explore.ts} +26 -5
  140. package/lib/routes/afdian/namespace.ts +6 -0
  141. package/lib/routes/agefans/detail.ts +5 -3
  142. package/lib/routes/agefans/update.ts +5 -3
  143. package/lib/routes/agirls/index.ts +6 -4
  144. package/lib/routes/agirls/topic-list.ts +5 -3
  145. package/lib/routes/agirls/topic.ts +5 -3
  146. package/lib/routes/agora0/index.ts +6 -4
  147. package/lib/routes/agora0/pen0.ts +5 -3
  148. package/lib/routes/ahjzu/news.ts +5 -3
  149. package/lib/routes/aicaijing/index.ts +1 -1
  150. package/lib/routes/aiea/index.ts +14 -17
  151. package/lib/routes/ainvest/article.ts +5 -3
  152. package/lib/routes/ainvest/news.ts +5 -3
  153. package/lib/routes/aip/journal-pupp.ts +4 -2
  154. package/lib/routes/aip/journal.ts +5 -3
  155. package/lib/routes/aip/utils.ts +1 -1
  156. package/lib/routes/airchina/index.ts +7 -5
  157. package/lib/routes/aisixiang/thinktank.ts +2 -1
  158. package/lib/routes/aliresearch/information.ts +6 -4
  159. package/lib/routes/alistapart/index.ts +6 -4
  160. package/lib/routes/alistapart/topic.ts +5 -3
  161. package/lib/routes/aliyun/database-month.ts +5 -3
  162. package/lib/routes/aliyun/developer/group.ts +5 -3
  163. package/lib/routes/aljazeera/index.ts +1 -1
  164. package/lib/routes/ally/rail.ts +5 -3
  165. package/lib/routes/alternativeto/platform.ts +6 -4
  166. package/lib/routes/alternativeto/software.ts +6 -4
  167. package/lib/routes/amazon/kindle-software-updates.ts +1 -1
  168. package/lib/routes/android/platform-tools-releases.ts +5 -3
  169. package/lib/routes/annualreviews/index.ts +5 -3
  170. package/lib/routes/anquanke/vul.ts +3 -1
  171. package/lib/routes/apnews/topics.ts +7 -5
  172. package/lib/routes/app-center/release.ts +6 -4
  173. package/lib/routes/apple/apps.ts +13 -13
  174. package/lib/routes/apple/exchange-repair.ts +6 -4
  175. package/lib/routes/apple/podcast.ts +64 -0
  176. package/lib/routes/appleinsider/index.ts +6 -4
  177. package/lib/routes/appstore/price.ts +5 -3
  178. package/lib/routes/appstore/xianmian.ts +5 -3
  179. package/lib/routes/appstorrent/namespace.ts +6 -0
  180. package/lib/routes/appstorrent/programs.ts +91 -0
  181. package/lib/routes/appstorrent/templates/description.art +22 -0
  182. package/lib/routes/aqara/post.ts +1 -1
  183. package/lib/routes/aqicn/aqi.ts +82 -0
  184. package/lib/routes/aqicn/namespace.ts +6 -0
  185. package/lib/routes/arcteryx/new-arrivals.ts +6 -4
  186. package/lib/routes/arcteryx/outlet.ts +6 -4
  187. package/lib/routes/arcteryx/regear-new-arrivals.ts +6 -4
  188. package/lib/routes/arknights/japan.ts +5 -3
  189. package/lib/routes/arknights/news.ts +5 -3
  190. package/lib/routes/artstation/user.ts +6 -4
  191. package/lib/routes/asiantolick/index.ts +7 -5
  192. package/lib/routes/asus/bios.ts +6 -4
  193. package/lib/routes/asus/gpu-tweak.ts +5 -3
  194. package/lib/routes/atptour/namespace.ts +7 -0
  195. package/lib/routes/atptour/news.ts +52 -0
  196. package/lib/routes/baai/comments.ts +5 -3
  197. package/lib/routes/baai/events.ts +5 -3
  198. package/lib/routes/backlinko/blog.ts +5 -3
  199. package/lib/routes/baidu/gushitong/index.ts +6 -4
  200. package/lib/routes/baidu/search.ts +1 -1
  201. package/lib/routes/baidu/tieba/forum.ts +1 -1
  202. package/lib/routes/baidu/tieba/post.ts +6 -4
  203. package/lib/routes/baidu/tieba/search.ts +3 -3
  204. package/lib/routes/baidu/top.ts +1 -1
  205. package/lib/routes/bandcamp/live.ts +5 -3
  206. package/lib/routes/bandcamp/tag.ts +6 -4
  207. package/lib/routes/bandcamp/weekly.ts +6 -4
  208. package/lib/routes/bangumi/moe/index.ts +6 -4
  209. package/lib/routes/bangumi/online/online.ts +7 -5
  210. package/lib/routes/bangumi/tv/calendar/_base.ts +2 -1
  211. package/lib/routes/bangumi/tv/calendar/today.ts +6 -4
  212. package/lib/routes/bangumi/tv/group/reply.ts +5 -3
  213. package/lib/routes/bangumi/tv/group/topic.ts +5 -3
  214. package/lib/routes/bangumi/tv/other/followrank.ts +5 -3
  215. package/lib/routes/bangumi/tv/person/index.ts +5 -3
  216. package/lib/routes/bangumi/tv/subject/comments.ts +2 -1
  217. package/lib/routes/bangumi/tv/subject/ep.ts +3 -2
  218. package/lib/routes/bangumi/tv/subject/index.ts +9 -6
  219. package/lib/routes/bangumi/tv/subject/offcial-subject-api.ts +2 -1
  220. package/lib/routes/bangumi/tv/user/blog.ts +5 -3
  221. package/lib/routes/bangumi/tv/user/wish.ts +5 -3
  222. package/lib/routes/baozimh/index.ts +9 -5
  223. package/lib/routes/barronschina/index.ts +6 -4
  224. package/lib/routes/bbc/index.ts +17 -9
  225. package/lib/routes/bbcnewslabs/news.ts +5 -3
  226. package/lib/routes/bdys/index.ts +3 -2
  227. package/lib/routes/bellroy/new-releases.ts +5 -3
  228. package/lib/routes/bendibao/news.ts +7 -4
  229. package/lib/routes/bgmlist/onair.ts +1 -1
  230. package/lib/routes/bigquant/collections.ts +5 -3
  231. package/lib/routes/bilibili/api-interface.d.ts +484 -0
  232. package/lib/routes/bilibili/article.ts +5 -3
  233. package/lib/routes/bilibili/bangumi.ts +7 -2
  234. package/lib/routes/bilibili/cache.ts +24 -38
  235. package/lib/routes/bilibili/coin.ts +6 -4
  236. package/lib/routes/bilibili/dynamic.ts +270 -198
  237. package/lib/routes/bilibili/followers.ts +9 -6
  238. package/lib/routes/bilibili/followings-article.ts +3 -2
  239. package/lib/routes/bilibili/followings-dynamic.ts +3 -2
  240. package/lib/routes/bilibili/followings-video.ts +3 -2
  241. package/lib/routes/bilibili/followings.ts +11 -7
  242. package/lib/routes/bilibili/hot-search.ts +5 -3
  243. package/lib/routes/bilibili/like.ts +6 -4
  244. package/lib/routes/bilibili/live-room.ts +5 -3
  245. package/lib/routes/bilibili/manga-followings.ts +3 -2
  246. package/lib/routes/bilibili/manga-update.ts +5 -3
  247. package/lib/routes/bilibili/platform.ts +5 -3
  248. package/lib/routes/bilibili/ranking.ts +12 -1
  249. package/lib/routes/bilibili/user-bangumi.ts +6 -4
  250. package/lib/routes/bilibili/user-channel.ts +2 -4
  251. package/lib/routes/bilibili/user-collection.ts +14 -6
  252. package/lib/routes/bilibili/user-fav.ts +6 -4
  253. package/lib/routes/bilibili/utils.ts +1 -1
  254. package/lib/routes/bilibili/video-all.ts +2 -1
  255. package/lib/routes/bilibili/video.ts +7 -5
  256. package/lib/routes/bilibili/vsearch.ts +27 -30
  257. package/lib/routes/bilibili/watchlater.ts +3 -2
  258. package/lib/routes/binance/launchpool.ts +46 -0
  259. package/lib/routes/binance/namespace.ts +6 -0
  260. package/lib/routes/bing/daily-wallpaper.ts +15 -12
  261. package/lib/routes/bing/search.ts +6 -4
  262. package/lib/routes/biodiscover/index.ts +6 -4
  263. package/lib/routes/bioone/featured.ts +5 -3
  264. package/lib/routes/bioone/journal.ts +6 -4
  265. package/lib/routes/biquge/index.ts +2 -1
  266. package/lib/routes/bit/cs/cs.ts +5 -3
  267. package/lib/routes/bit/jwc/jwc.ts +5 -3
  268. package/lib/routes/bit/rszhaopin.ts +5 -3
  269. package/lib/routes/bit/yjs.ts +5 -3
  270. package/lib/routes/bitbucket/commits.ts +5 -3
  271. package/lib/routes/bitmovin/blog.ts +5 -3
  272. package/lib/routes/bjfu/grs.ts +5 -3
  273. package/lib/routes/bjfu/it/index.ts +5 -3
  274. package/lib/routes/bjfu/jwc/index.ts +5 -3
  275. package/lib/routes/bjfu/kjc.ts +5 -3
  276. package/lib/routes/bjfu/namespace.ts +1 -1
  277. package/lib/routes/bjfu/news/index.ts +5 -3
  278. package/lib/routes/bjp/apod.ts +5 -3
  279. package/lib/routes/bjsk/keti.ts +6 -4
  280. package/lib/routes/bjx/huanbao.ts +5 -3
  281. package/lib/{routes-deprecated/blogread/newest.js → routes/blogread/index.ts} +22 -7
  282. package/lib/routes/blogread/namespace.ts +6 -0
  283. package/lib/routes/bloomberg/authors.ts +6 -4
  284. package/lib/routes/bloomberg/index.ts +32 -3
  285. package/lib/routes/bloomberg/utils.ts +34 -20
  286. package/lib/routes/bluestacks/release.ts +8 -6
  287. package/lib/routes/bmkg/earthquake.ts +5 -3
  288. package/lib/routes/bmkg/news.ts +5 -3
  289. package/lib/routes/bnu/bs.ts +6 -4
  290. package/lib/routes/bnu/dwxgb.ts +5 -3
  291. package/lib/routes/bnu/jwb.ts +56 -0
  292. package/lib/routes/bnu/lib.ts +6 -4
  293. package/lib/routes/boc/whpj.ts +6 -4
  294. package/lib/routes/booru/mmda.ts +65 -3
  295. package/lib/routes/booru/templates/description.art +25 -0
  296. package/lib/routes/brave/latest.ts +5 -3
  297. package/lib/routes/brooklynmuseum/exhibitions.ts +11 -14
  298. package/lib/routes/bse/index.ts +5 -3
  299. package/lib/routes/bsky/posts.ts +12 -10
  300. package/lib/routes/btzj/index.ts +8 -5
  301. package/lib/routes/buaa/sme.ts +33 -2
  302. package/lib/routes/bulianglin/{bulianglin.ts → rss.ts} +8 -5
  303. package/lib/routes/bupt/rczp.ts +5 -3
  304. package/lib/routes/byau/namespace.ts +6 -0
  305. package/lib/routes/byau/xinwen/index.ts +72 -0
  306. package/lib/routes/byteclicks/index.ts +6 -4
  307. package/lib/routes/byteclicks/tag.ts +5 -3
  308. package/lib/routes/bytes/bytes.ts +6 -4
  309. package/lib/routes/c114/roll.ts +5 -3
  310. package/lib/routes/caai/utils.ts +1 -1
  311. package/lib/routes/caareviews/book.ts +5 -3
  312. package/lib/routes/caareviews/essay.ts +5 -3
  313. package/lib/routes/caareviews/exhibition.ts +5 -3
  314. package/lib/routes/caareviews/utils.ts +1 -1
  315. package/lib/routes/cahkms/index.ts +6 -4
  316. package/lib/routes/caijing/roll.ts +5 -3
  317. package/lib/routes/caixin/article.ts +5 -3
  318. package/lib/routes/caixin/blog.ts +4 -3
  319. package/lib/routes/caixin/category.ts +2 -1
  320. package/lib/routes/caixin/database.ts +6 -4
  321. package/lib/routes/caixin/latest.ts +8 -6
  322. package/lib/routes/caixin/utils.ts +1 -1
  323. package/lib/routes/caixin/weekly.ts +5 -3
  324. package/lib/routes/caixinglobal/latest.ts +5 -3
  325. package/lib/routes/camchina/index.ts +5 -3
  326. package/lib/routes/cankaoxiaoxi/index.ts +1 -1
  327. package/lib/routes/cartoonmad/comic.ts +6 -4
  328. package/lib/routes/cas/cg/index.ts +5 -3
  329. package/lib/routes/cas/ia/yjs.ts +5 -3
  330. package/lib/routes/cas/iee/kydt.ts +5 -3
  331. package/lib/routes/cas/mesalab/kb.ts +8 -6
  332. package/lib/routes/cas/sim/kyjz.ts +5 -3
  333. package/lib/routes/cast/index.ts +6 -4
  334. package/lib/routes/cau/ele.ts +5 -3
  335. package/lib/routes/cau/yjs.ts +6 -4
  336. package/lib/routes/cbaigui/index.ts +1 -1
  337. package/lib/routes/cbc/topics.ts +6 -4
  338. package/lib/routes/cbirc/index.ts +5 -3
  339. package/lib/routes/cbnweek/index.ts +6 -4
  340. package/lib/routes/ccf/ccfcv/index.ts +1 -1
  341. package/lib/routes/ccf/news.ts +6 -4
  342. package/lib/routes/ccf/tfbd/index.ts +5 -3
  343. package/lib/routes/ccf/tfbd/utils.ts +1 -1
  344. package/lib/routes/ccnu/career.ts +5 -3
  345. package/lib/routes/ccnu/cs.ts +5 -3
  346. package/lib/routes/ccnu/wu.ts +5 -3
  347. package/lib/routes/ccnu/yjs.ts +5 -3
  348. package/lib/routes/ccreports/index.ts +5 -3
  349. package/lib/routes/cctv/category.ts +6 -4
  350. package/lib/routes/cctv/jx.ts +5 -3
  351. package/lib/routes/cctv/lm.ts +6 -4
  352. package/lib/routes/cctv/utils/mzzlbg.ts +2 -1
  353. package/lib/routes/cctv/utils/news.ts +3 -2
  354. package/lib/routes/cctv/utils/xinwen1j1.ts +2 -1
  355. package/lib/routes/cctv/xwlb.ts +5 -3
  356. package/lib/routes/cde/xxgk.ts +1 -1
  357. package/lib/routes/cdzjryb/project-list.ts +6 -4
  358. package/lib/routes/cebbank/all.ts +9 -8
  359. package/lib/routes/cebbank/history.ts +5 -8
  360. package/lib/routes/cfachina/analygarden.ts +5 -3
  361. package/lib/routes/cgtn/podcast.ts +5 -3
  362. package/lib/routes/chaincatcher/home.ts +7 -5
  363. package/lib/routes/chaincatcher/news.ts +5 -3
  364. package/lib/routes/changba/user.ts +6 -4
  365. package/lib/routes/chaoxing/qk.ts +1 -1
  366. package/lib/routes/chaping/banner.ts +5 -3
  367. package/lib/routes/chaping/newsflash.ts +5 -3
  368. package/lib/routes/china/finance/finance.ts +5 -3
  369. package/lib/routes/china/news/highlights/news.ts +5 -3
  370. package/lib/routes/china/news/military/news.ts +5 -3
  371. package/lib/routes/chinadegrees/province.ts +36 -2
  372. package/lib/routes/chinafactcheck/index.ts +6 -4
  373. package/lib/routes/chinanews/index.ts +6 -4
  374. package/lib/routes/chinaventure/index.ts +6 -4
  375. package/lib/routes/chsi/hotnews.ts +5 -3
  376. package/lib/routes/chsi/kydt.ts +5 -3
  377. package/lib/routes/chsi/kyzx.ts +5 -3
  378. package/lib/routes/chuanliu/nice.ts +6 -4
  379. package/lib/routes/cib/whpj.ts +6 -4
  380. package/lib/routes/civitai/discussions.ts +5 -3
  381. package/lib/routes/civitai/models.ts +5 -3
  382. package/lib/routes/ciweimao/chapter.ts +5 -3
  383. package/lib/routes/cls/depth.ts +3 -2
  384. package/lib/routes/cls/hot.ts +6 -4
  385. package/lib/routes/cls/telegraph.ts +7 -5
  386. package/lib/routes/cma/channel.ts +1 -1
  387. package/lib/routes/cmpxchg8b/articles.ts +5 -3
  388. package/lib/routes/cn-healthcare/index.ts +5 -3
  389. package/lib/routes/cna/web/index.ts +1 -1
  390. package/lib/routes/cnbc/rss.ts +6 -4
  391. package/lib/routes/cnbeta/type.ts +6 -4
  392. package/lib/routes/cnblogs/common.ts +5 -3
  393. package/lib/routes/cncf/reports.ts +5 -3
  394. package/lib/routes/cneb/yjxw.ts +5 -3
  395. package/lib/routes/cneb/yjxx.ts +6 -4
  396. package/lib/routes/cngal/entry.ts +7 -5
  397. package/lib/routes/cngal/weekly.ts +6 -4
  398. package/lib/routes/cnjxol/index.ts +3 -2
  399. package/lib/routes/cnki/author.ts +4 -1
  400. package/lib/routes/cnki/debut.ts +6 -4
  401. package/lib/routes/cnki/journals.ts +5 -3
  402. package/lib/routes/cnki/utils.ts +1 -1
  403. package/lib/routes/cntheory/paper.ts +1 -1
  404. package/lib/routes/cntv/column.ts +6 -4
  405. package/lib/routes/codeforces/contests.ts +6 -4
  406. package/lib/routes/codeforces/recent-actions.ts +6 -4
  407. package/lib/routes/coindesk/index.ts +5 -3
  408. package/lib/routes/comicskingdom/index.ts +8 -5
  409. package/lib/routes/consumer/index.ts +5 -3
  410. package/lib/routes/cool18/index.ts +5 -3
  411. package/lib/routes/coolapk/dyh.ts +2 -1
  412. package/lib/routes/coolapk/huati.ts +2 -1
  413. package/lib/routes/coolapk/user-dynamic.ts +3 -2
  414. package/lib/routes/coomer/artist.ts +6 -4
  415. package/lib/routes/coomer/posts.ts +6 -4
  416. package/lib/routes/coomer/utils.ts +2 -1
  417. package/lib/routes/copymanga/comic.ts +1 -1
  418. package/lib/routes/cpcaauto/index.ts +255 -0
  419. package/lib/routes/cpcaauto/namespace.ts +8 -0
  420. package/lib/routes/cpuid/news.ts +5 -3
  421. package/lib/routes/cqgas/tqtz.ts +5 -3
  422. package/lib/routes/creative-comic/book.ts +7 -5
  423. package/lib/routes/crossbell/notes/character.ts +6 -4
  424. package/lib/routes/crossbell/notes/index.ts +5 -3
  425. package/lib/routes/crossbell/notes/source.ts +6 -4
  426. package/lib/routes/cs/index.ts +50 -2
  427. package/lib/routes/cs/namespace.ts +1 -0
  428. package/lib/routes/cs/video.ts +3 -1
  429. package/lib/routes/csdn/blog.ts +5 -3
  430. package/lib/routes/csu/career.ts +5 -3
  431. package/lib/routes/cts/news.ts +5 -3
  432. package/lib/routes/cuc/yz.ts +5 -3
  433. package/lib/routes/curiouscat/user.ts +5 -3
  434. package/lib/routes/curius/links.ts +6 -4
  435. package/lib/routes/cw/author.ts +5 -3
  436. package/lib/routes/cw/today.ts +5 -3
  437. package/lib/routes/cyzone/author.ts +5 -3
  438. package/lib/routes/cyzone/index.ts +6 -4
  439. package/lib/routes/cyzone/label.ts +5 -3
  440. package/lib/routes/cztv/daily.ts +6 -4
  441. package/lib/routes/cztv/zjxwlb.ts +6 -4
  442. package/lib/routes/dahecube/index.ts +3 -7
  443. package/lib/routes/daily/discussed.ts +6 -4
  444. package/lib/routes/daily/index.ts +6 -4
  445. package/lib/routes/daily/upvoted.ts +6 -4
  446. package/lib/routes/damai/activity.ts +1 -1
  447. package/lib/routes/dapenti/subject.ts +1 -1
  448. package/lib/routes/dapenti/tugua.ts +2 -2
  449. package/lib/routes/darwinawards/index.ts +6 -4
  450. package/lib/routes/dayanzai/index.ts +6 -4
  451. package/lib/routes/dbaplus/namespace.ts +6 -0
  452. package/lib/routes/dbaplus/rss.ts +48 -0
  453. package/lib/routes/dblp/publication.ts +5 -3
  454. package/lib/routes/dcfever/news.ts +14 -19
  455. package/lib/routes/dcfever/reviews.ts +13 -19
  456. package/lib/routes/dcfever/trading-search.ts +11 -22
  457. package/lib/routes/dcfever/trading.ts +10 -21
  458. package/lib/routes/dcfever/utils.ts +11 -10
  459. package/lib/routes/ddosi/category.ts +6 -4
  460. package/lib/routes/ddosi/index.ts +6 -4
  461. package/lib/routes/deadline/posts.ts +7 -5
  462. package/lib/routes/dedao/knowledge.ts +6 -4
  463. package/lib/routes/dedao/list.ts +5 -3
  464. package/lib/routes/dedao/user.ts +1 -1
  465. package/lib/routes/deepin/homepage.ts +41 -0
  466. package/lib/routes/deepin/namespace.ts +9 -0
  467. package/lib/routes/deeplearning/thebatch.ts +5 -3
  468. package/lib/routes/deepmind/blog.ts +5 -3
  469. package/lib/routes/dehenglaw/index.ts +128 -0
  470. package/lib/routes/dehenglaw/namespace.ts +8 -0
  471. package/lib/routes/dehenglaw/templates/description.art +7 -0
  472. package/lib/routes/deltaio/blog.ts +5 -3
  473. package/lib/routes/devolverdigital/blog.ts +5 -3
  474. package/lib/routes/dhu/news/xsxx.ts +5 -3
  475. package/lib/routes/diandong/news.ts +6 -4
  476. package/lib/routes/diershoubing/news.ts +6 -4
  477. package/lib/routes/discord/channel.ts +8 -5
  478. package/lib/routes/discourse/notifications.ts +4 -4
  479. package/lib/routes/discourse/utils.ts +2 -1
  480. package/lib/routes/discuz/discuz.ts +4 -2
  481. package/lib/routes/disinfo/publications.ts +5 -3
  482. package/lib/routes/diskanalyzer/whats-new.ts +5 -3
  483. package/lib/routes/distill/index.ts +6 -4
  484. package/lib/routes/dlnews/category.ts +7 -5
  485. package/lib/routes/dlsite/campaign.ts +2 -1
  486. package/lib/routes/dlsite/ci-en/article.ts +5 -3
  487. package/lib/routes/dlsite/index.ts +1 -1
  488. package/lib/routes/dlsite/new.ts +2 -1
  489. package/lib/routes/dlsite/utils.ts +1 -1
  490. package/lib/routes/dmzj/news.ts +6 -4
  491. package/lib/routes/dn/news.ts +1 -1
  492. package/lib/routes/dnaindia/category.ts +6 -4
  493. package/lib/routes/docschina/weekly.ts +37 -19
  494. package/lib/routes/dol/announce.ts +3 -5
  495. package/lib/routes/domp4/detail.ts +5 -3
  496. package/lib/routes/domp4/latest.ts +5 -3
  497. package/lib/routes/domp4/utils.ts +2 -1
  498. package/lib/routes/dongqiudi/daily.ts +5 -12
  499. package/lib/routes/dongqiudi/player-news.ts +6 -8
  500. package/lib/routes/dongqiudi/result.ts +6 -8
  501. package/lib/routes/dongqiudi/special.ts +5 -11
  502. package/lib/routes/dongqiudi/team-news.ts +7 -9
  503. package/lib/routes/dongqiudi/top-news.ts +6 -4
  504. package/lib/routes/dora-world/article.ts +87 -0
  505. package/lib/routes/dora-world/namespace.ts +6 -0
  506. package/lib/routes/dorohedoro/news.ts +5 -3
  507. package/lib/routes/douban/book/latest.ts +65 -0
  508. package/lib/routes/douban/other/discussion.ts +5 -3
  509. package/lib/routes/douban/other/doulist.ts +1 -1
  510. package/lib/routes/douban/other/explore.ts +1 -1
  511. package/lib/routes/douban/other/group.ts +6 -4
  512. package/lib/routes/douban/other/latest-music.ts +1 -1
  513. package/lib/routes/douban/other/list.ts +7 -5
  514. package/lib/routes/douban/other/recommended.ts +1 -1
  515. package/lib/routes/douban/other/weekly-best.ts +1 -1
  516. package/lib/routes/douyin/hashtag.ts +8 -5
  517. package/lib/routes/douyin/live.ts +7 -4
  518. package/lib/routes/douyin/user.ts +8 -5
  519. package/lib/routes/douyin/utils.ts +1 -1
  520. package/lib/routes/douyu/group.ts +7 -5
  521. package/lib/routes/douyu/post.ts +6 -4
  522. package/lib/routes/douyu/room.ts +5 -3
  523. package/lib/routes/dribbble/keyword.ts +1 -1
  524. package/lib/routes/dribbble/popular.ts +7 -5
  525. package/lib/routes/dribbble/user.ts +6 -4
  526. package/lib/routes/dribbble/utils.ts +1 -1
  527. package/lib/routes/dtcj/datainsight.ts +6 -4
  528. package/lib/routes/duozhuayu/search.ts +6 -4
  529. package/lib/routes/dushu/fuzhou/index.ts +6 -4
  530. package/lib/routes/dut/index.ts +2 -1
  531. package/lib/routes/dxy/profile/thread.ts +5 -3
  532. package/lib/routes/e-hentai/index.ts +1 -1
  533. package/lib/routes/eagle/blog.ts +8 -5
  534. package/lib/routes/earthquake/ceic.ts +6 -4
  535. package/lib/routes/earthquake/index.ts +6 -4
  536. package/lib/routes/eastday/24.ts +6 -4
  537. package/lib/routes/eastday/portrait.ts +5 -3
  538. package/lib/routes/eastday/sh.ts +5 -3
  539. package/lib/routes/eastmoney/report/index.ts +5 -3
  540. package/lib/routes/ecnu/contest.ts +7 -5
  541. package/lib/routes/ecnu/yjs.ts +5 -3
  542. package/lib/routes/economist/espresso.ts +5 -3
  543. package/lib/routes/economist/full.ts +5 -3
  544. package/lib/routes/economist/global-business-review.ts +6 -4
  545. package/lib/routes/ecust/e/news.ts +5 -3
  546. package/lib/routes/ecust/gschool/yjs.ts +5 -3
  547. package/lib/routes/egsea/flash.ts +5 -3
  548. package/lib/routes/ehentai/ehapi.ts +1 -1
  549. package/lib/routes/ehentai/favorites.ts +13 -15
  550. package/lib/routes/ehentai/search.ts +11 -14
  551. package/lib/routes/ehentai/tag.ts +11 -14
  552. package/lib/routes/ekantipur/issue.ts +6 -4
  553. package/lib/routes/elasticsearch-cn/index.ts +6 -4
  554. package/lib/routes/eleduck/jobs.ts +5 -3
  555. package/lib/routes/elsevier/issue.ts +7 -5
  556. package/lib/routes/elsevier/journal.ts +7 -5
  557. package/lib/routes/epicgames/index.ts +7 -5
  558. package/lib/routes/eprice/rss.ts +6 -11
  559. package/lib/routes/esquirehk/namespace.ts +6 -0
  560. package/lib/routes/esquirehk/tag.ts +104 -0
  561. package/lib/routes/esquirehk/templates/subpages.art +30 -0
  562. package/lib/routes/europechinese/latest.ts +66 -0
  563. package/lib/routes/europechinese/namespace.ts +6 -0
  564. package/lib/routes/eventernote/actors.ts +5 -3
  565. package/lib/routes/f-droid/apprelease.ts +5 -3
  566. package/lib/routes/fansly/post.ts +5 -3
  567. package/lib/routes/fansly/tag.ts +5 -3
  568. package/lib/routes/fansly/utils.ts +3 -2
  569. package/lib/routes/fantia/user.ts +5 -3
  570. package/lib/routes/fanxinzhui/index.ts +127 -0
  571. package/lib/routes/fanxinzhui/namespace.ts +6 -0
  572. package/lib/routes/fanxinzhui/templates/description.art +13 -0
  573. package/lib/routes/farmatters/index.ts +7 -5
  574. package/lib/routes/fastbull/express-news.ts +5 -3
  575. package/lib/routes/fastbull/news.ts +6 -4
  576. package/lib/routes/fda/cdrh.ts +6 -4
  577. package/lib/routes/feng/forum.ts +7 -5
  578. package/lib/routes/ff14/ff14-global.ts +3 -2
  579. package/lib/routes/ff14/ff14-zh.ts +7 -5
  580. package/lib/routes/fffdm/manhua/manhua.ts +7 -5
  581. package/lib/routes/finology/bullets.ts +5 -3
  582. package/lib/routes/finology/most-viewed.ts +6 -4
  583. package/lib/routes/finology/tag.ts +6 -4
  584. package/lib/routes/finviz/news.ts +7 -4
  585. package/lib/routes/firefox/addons.ts +6 -4
  586. package/lib/routes/firefox/breaches.ts +5 -3
  587. package/lib/routes/fisher-spb/news.ts +6 -4
  588. package/lib/routes/fishshell/index.ts +6 -4
  589. package/lib/routes/fjksbm/index.ts +5 -3
  590. package/lib/routes/flyert/creditcard.ts +5 -3
  591. package/lib/routes/flyert/preferential.ts +5 -3
  592. package/lib/routes/focustaiwan/index.ts +1 -1
  593. package/lib/routes/followin/kol.ts +5 -3
  594. package/lib/routes/followin/news.ts +5 -3
  595. package/lib/routes/followin/tag.ts +5 -3
  596. package/lib/routes/followin/topic.ts +5 -3
  597. package/lib/routes/followin/utils.ts +1 -1
  598. package/lib/routes/foresightnews/article.ts +5 -3
  599. package/lib/routes/foresightnews/column.ts +5 -3
  600. package/lib/routes/foresightnews/index.ts +6 -4
  601. package/lib/routes/foresightnews/news.ts +5 -3
  602. package/lib/routes/foresightnews/util.ts +1 -1
  603. package/lib/routes/foreverblog/feeds.ts +5 -3
  604. package/lib/routes/fortunechina/index.ts +5 -3
  605. package/lib/routes/fosshub/index.ts +1 -1
  606. package/lib/routes/free/rss.ts +8 -5
  607. package/lib/routes/freebuf/index.ts +5 -3
  608. package/lib/routes/freecomputerbooks/index.ts +24 -8
  609. package/lib/routes/freewechat/profile.ts +7 -5
  610. package/lib/routes/freexcomic/book.ts +84 -0
  611. package/lib/routes/freexcomic/namespace.ts +7 -0
  612. package/lib/routes/ft/channel.ts +5 -8
  613. package/lib/routes/fuliba/latest.ts +5 -3
  614. package/lib/routes/furstar/archive.ts +6 -4
  615. package/lib/routes/furstar/artists.ts +6 -4
  616. package/lib/routes/furstar/index.ts +6 -4
  617. package/lib/routes/furstar/utils.ts +1 -1
  618. package/lib/routes/futunn/main.ts +1 -1
  619. package/lib/routes/fx678/kx.ts +5 -3
  620. package/lib/routes/gameapps/index.ts +7 -5
  621. package/lib/routes/gamegene/news.ts +5 -3
  622. package/lib/routes/gamer/ani/new-anime.ts +6 -4
  623. package/lib/routes/gamer/gnn-index.ts +7 -6
  624. package/lib/routes/gamer/hot.ts +3 -6
  625. package/lib/routes/gamer520/index.ts +85 -0
  626. package/lib/routes/gamer520/namespace.ts +6 -0
  627. package/lib/routes/gamersecret/index.ts +5 -3
  628. package/lib/routes/gamme/category.ts +2 -1
  629. package/lib/routes/gamme/tag.ts +2 -1
  630. package/lib/routes/gcores/category.ts +12 -6
  631. package/lib/routes/gcores/collection.ts +5 -3
  632. package/lib/routes/gcores/radio.ts +7 -5
  633. package/lib/routes/gcores/tag.ts +8 -5
  634. package/lib/routes/gdut/oa-news.ts +6 -4
  635. package/lib/routes/gelonghui/hot-article.ts +6 -4
  636. package/lib/routes/gelonghui/live.ts +6 -4
  637. package/lib/routes/gelonghui/subject.ts +5 -3
  638. package/lib/routes/gelonghui/user.ts +5 -3
  639. package/lib/routes/geocaching/blogs.ts +5 -3
  640. package/lib/routes/getdr/index.ts +6 -4
  641. package/lib/routes/gettr/user.ts +6 -4
  642. package/lib/routes/gf-cn/news.ts +5 -3
  643. package/lib/routes/gihyo/group.ts +5 -3
  644. package/lib/routes/gitee/repos/commits.ts +5 -3
  645. package/lib/routes/gitee/repos/events.ts +5 -3
  646. package/lib/routes/gitee/repos/releases.ts +5 -3
  647. package/lib/routes/gitee/users/events.ts +5 -3
  648. package/lib/routes/github/branches.ts +5 -3
  649. package/lib/routes/github/comments.ts +38 -30
  650. package/lib/routes/github/contributors.ts +6 -4
  651. package/lib/routes/github/file.ts +14 -5
  652. package/lib/routes/github/follower.ts +7 -4
  653. package/lib/routes/github/gist.ts +5 -3
  654. package/lib/routes/github/issue.ts +6 -12
  655. package/lib/routes/github/notifications.ts +13 -10
  656. package/lib/routes/github/pulls.ts +6 -4
  657. package/lib/routes/github/pulse.ts +6 -4
  658. package/lib/routes/github/repos.ts +5 -3
  659. package/lib/routes/github/star.ts +13 -10
  660. package/lib/routes/github/starred-repos.ts +31 -54
  661. package/lib/routes/github/topic.ts +5 -3
  662. package/lib/routes/github/trending.ts +9 -6
  663. package/lib/routes/github/wiki.ts +6 -4
  664. package/lib/routes/gitpod/blog.ts +9 -12
  665. package/lib/routes/gitpod/changelog.ts +5 -3
  666. package/lib/routes/globallawreview/index.ts +6 -4
  667. package/lib/routes/gocn/jobs.ts +5 -3
  668. package/lib/routes/gocn/topics.ts +5 -3
  669. package/lib/routes/gofans/index.ts +1 -1
  670. package/lib/routes/gogoanimehd/recent-releases.ts +5 -3
  671. package/lib/routes/google/extension.ts +5 -3
  672. package/lib/routes/google/fonts.ts +4 -3
  673. package/lib/routes/google/news.ts +1 -1
  674. package/lib/routes/google/search.ts +1 -1
  675. package/lib/routes/gov/beijing/bjedu/gh.ts +6 -4
  676. package/lib/routes/gov/beijing/jw/tzgg.ts +5 -3
  677. package/lib/routes/gov/caac/cjwt.ts +7 -5
  678. package/lib/routes/gov/chinatax/latest.ts +6 -4
  679. package/lib/routes/gov/chongqing/gzw.ts +15 -2
  680. package/lib/routes/gov/chongqing/rsks.ts +6 -13
  681. package/lib/routes/gov/chongqing/sydwgkzp.ts +26 -26
  682. package/lib/routes/gov/cmse/fxrw.ts +6 -4
  683. package/lib/routes/gov/csrc/news.ts +1 -1
  684. package/lib/routes/gov/customs/list.ts +6 -4
  685. package/lib/routes/gov/forestry/gjlckjdjt.ts +1 -1
  686. package/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts +6 -4
  687. package/lib/routes/gov/guangdong/tqyb/tfxtq.ts +6 -4
  688. package/lib/routes/gov/hunan/changsha/major-email.ts +5 -3
  689. package/lib/routes/gov/jiangsu/wlt/index.ts +99 -0
  690. package/lib/routes/gov/jiangsu/wlt/templates/wlt.art +9 -0
  691. package/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts +5 -3
  692. package/lib/routes/gov/mee/ywdt.ts +6 -4
  693. package/lib/routes/gov/mem/sgcc.ts +6 -4
  694. package/lib/routes/gov/miit/wjfb.ts +5 -3
  695. package/lib/routes/gov/miit/yjzj.ts +5 -3
  696. package/lib/routes/gov/moa/moa.ts +142 -68
  697. package/lib/routes/gov/moe/s78.ts +5 -3
  698. package/lib/routes/gov/moj/lfyjzj.ts +5 -3
  699. package/lib/routes/gov/mot/index.ts +3 -3
  700. package/lib/routes/gov/nea/ghs.ts +5 -3
  701. package/lib/routes/gov/npc/index.ts +5 -3
  702. package/lib/routes/gov/pbc/goutongjiaoliu.ts +5 -3
  703. package/lib/routes/gov/pbc/gzlw.ts +5 -3
  704. package/lib/routes/gov/pbc/zcyj.ts +5 -3
  705. package/lib/routes/gov/safe/business.ts +1 -1
  706. package/lib/routes/gov/safe/complaint.ts +1 -1
  707. package/lib/routes/gov/safe/util.ts +1 -1
  708. package/lib/routes/gov/samr/xgzlyhd.ts +6 -4
  709. package/lib/routes/gov/shanghai/rsj/ksxm.ts +6 -4
  710. package/lib/routes/gov/shanghai/wgj/wgj.ts +7 -5
  711. package/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts +5 -3
  712. package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +5 -3
  713. package/lib/routes/gov/shenzhen/xxgk/zfxxgj.ts +2 -1
  714. package/lib/routes/gov/shenzhen/zjj/index.ts +7 -4
  715. package/lib/routes/gov/shenzhen/zzb/index.ts +5 -3
  716. package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +1 -1
  717. package/lib/routes/gov/sichuan/deyang/mztoday.ts +7 -5
  718. package/lib/routes/gov/stats/index.ts +44 -25
  719. package/lib/routes/gov/suzhou/doc.ts +5 -3
  720. package/lib/routes/gov/suzhou/news.ts +7 -4
  721. package/lib/routes/gov/taiyuan/rsj.ts +5 -3
  722. package/lib/routes/gov/wuhan/whyw.ts +5 -3
  723. package/lib/routes/gov/zhejiang/gwy.ts +6 -4
  724. package/lib/routes/gov/zhengce/govall.ts +6 -4
  725. package/lib/routes/gov/zhengce/index.ts +5 -3
  726. package/lib/routes/gov/zhengce/wenjian.ts +6 -4
  727. package/lib/routes/gov/zhengce/zhengceku.ts +15 -18
  728. package/lib/routes/greasyfork/feedback.ts +5 -3
  729. package/lib/routes/greasyfork/scripts.ts +5 -3
  730. package/lib/routes/greasyfork/versions.ts +5 -3
  731. package/lib/routes/grist/featured.ts +5 -3
  732. package/lib/routes/grist/index.ts +5 -3
  733. package/lib/routes/grist/series.ts +5 -3
  734. package/lib/routes/grist/topic.ts +5 -3
  735. package/lib/routes/grubstreet/index.ts +7 -5
  736. package/lib/routes/guancha/headline.ts +5 -3
  737. package/lib/routes/guancha/index.ts +5 -3
  738. package/lib/routes/guancha/member.ts +6 -4
  739. package/lib/routes/guancha/topic.ts +6 -4
  740. package/lib/routes/guangdiu/rank.ts +5 -3
  741. package/lib/routes/guanhai/index.ts +6 -4
  742. package/lib/routes/guduodata/daily.ts +6 -4
  743. package/lib/routes/gumroad/index.ts +3 -2
  744. package/lib/routes/guokr/channel.ts +26 -41
  745. package/lib/routes/guokr/scientific.ts +16 -32
  746. package/lib/routes/guokr/utils.ts +37 -0
  747. package/lib/routes/gxmzu/ai.ts +6 -4
  748. package/lib/routes/gxmzu/lib.ts +14 -29
  749. package/lib/routes/gxmzu/utils/index.ts +31 -13
  750. package/lib/routes/gxmzu/yjs.ts +6 -4
  751. package/lib/routes/gzdaily/app.ts +1 -1
  752. package/lib/routes/gzhu/yjs.ts +5 -3
  753. package/lib/routes/hackernews/index.ts +5 -3
  754. package/lib/routes/hackertalk/index.ts +6 -4
  755. package/lib/routes/hacking8/index.ts +5 -3
  756. package/lib/routes/hacking8/search.ts +6 -4
  757. package/lib/routes/hackyournews/index.ts +6 -4
  758. package/lib/routes/hafu/utils.ts +3 -2
  759. package/lib/routes/hakkatv/type.ts +6 -4
  760. package/lib/routes/hameln/chapter.ts +5 -3
  761. package/lib/routes/harvard/health/blog.ts +5 -3
  762. package/lib/routes/hashnode/blog.ts +6 -4
  763. package/lib/routes/hbooker/chapter.ts +5 -3
  764. package/lib/routes/hbr/topic.ts +5 -3
  765. package/lib/routes/hdu/cs/notice.ts +5 -3
  766. package/lib/routes/hdu/cs/pg.ts +5 -3
  767. package/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +6 -4
  768. package/lib/routes/hellobtc/news.ts +5 -3
  769. package/lib/routes/hellogithub/index.ts +1 -1
  770. package/lib/routes/hellogithub/report.ts +1 -1
  771. package/lib/routes/hellogithub/volume.ts +1 -1
  772. package/lib/routes/hex-rays/index.ts +5 -3
  773. package/lib/routes/hicairo/rss.ts +8 -5
  774. package/lib/routes/hinatazaka46/news.ts +5 -3
  775. package/lib/routes/hit/hitgs.ts +5 -3
  776. package/lib/routes/hit/jwc.ts +5 -3
  777. package/lib/routes/hit/namespace.ts +1 -1
  778. package/lib/routes/hit/today.ts +5 -3
  779. package/lib/routes/hitcon/namespace.ts +6 -0
  780. package/lib/routes/hitcon/templates/zeroday.art +8 -0
  781. package/lib/routes/hitcon/zeroday.ts +109 -0
  782. package/lib/routes/hitwh/today.ts +5 -3
  783. package/lib/routes/hizu/index.ts +5 -3
  784. package/lib/routes/hk01/channel.ts +5 -3
  785. package/lib/routes/hk01/hot.ts +5 -3
  786. package/lib/routes/hk01/issue.ts +5 -3
  787. package/lib/routes/hk01/latest.ts +5 -3
  788. package/lib/routes/hk01/tag.ts +5 -3
  789. package/lib/routes/hk01/utils.ts +1 -1
  790. package/lib/routes/hk01/zone.ts +5 -3
  791. package/lib/routes/hkej/index.ts +9 -10
  792. package/lib/routes/hkepc/index.ts +6 -4
  793. package/lib/routes/hket/index.ts +10 -13
  794. package/lib/routes/hkjunkcall/index.ts +6 -4
  795. package/lib/routes/hnrb/index.ts +6 -4
  796. package/lib/routes/hnu/careers.ts +5 -3
  797. package/lib/routes/hongkong/chp.ts +5 -3
  798. package/lib/routes/hongkong/dh.ts +5 -3
  799. package/lib/routes/hostmonit/cloudflareyes.ts +1 -1
  800. package/lib/routes/hotukdeals/hottest.ts +5 -3
  801. package/lib/routes/houxu/events.ts +6 -4
  802. package/lib/routes/houxu/index.ts +7 -5
  803. package/lib/routes/houxu/lives.ts +5 -3
  804. package/lib/routes/houxu/memory.ts +6 -4
  805. package/lib/routes/howtoforge/rss.ts +8 -5
  806. package/lib/routes/hoyolab/news.ts +6 -6
  807. package/lib/routes/hpoi/all.ts +7 -5
  808. package/lib/routes/hpoi/banner-item.ts +5 -3
  809. package/lib/routes/hpoi/character.ts +1 -1
  810. package/lib/routes/hpoi/work.ts +1 -1
  811. package/lib/routes/hrbeu/job/bigemploy.ts +6 -4
  812. package/lib/routes/hrbeu/job/calendar.ts +5 -3
  813. package/lib/routes/hrbeu/job/list.ts +4 -1
  814. package/lib/routes/hrbeu/uae/news.ts +5 -3
  815. package/lib/routes/hrbeu/ugs/news.ts +6 -4
  816. package/lib/routes/hrbeu/yjsy/list.ts +5 -3
  817. package/lib/routes/hrbust/utils.ts +1 -1
  818. package/lib/routes/huanqiu/index.ts +13 -9
  819. package/lib/routes/hubu/index.ts +124 -0
  820. package/lib/routes/hubu/namespace.ts +8 -0
  821. package/lib/routes/hubu/zhxy.ts +228 -0
  822. package/lib/routes/huggingface/blog-zh.ts +5 -3
  823. package/lib/routes/huggingface/daily-papers.ts +5 -3
  824. package/lib/routes/hunanpea/rsks.ts +5 -3
  825. package/lib/routes/hunau/gfxy/index.ts +6 -4
  826. package/lib/routes/hunau/ied.ts +6 -4
  827. package/lib/routes/hunau/jwc.ts +6 -4
  828. package/lib/routes/hunau/xky/index.ts +6 -4
  829. package/lib/routes/hupu/all.ts +7 -5
  830. package/lib/routes/hupu/bbs.ts +7 -5
  831. package/lib/routes/hupu/index.ts +6 -4
  832. package/lib/routes/hust/aia/news.ts +5 -3
  833. package/lib/routes/hust/yjs.ts +5 -3
  834. package/lib/routes/huxiu/channel.ts +5 -3
  835. package/lib/routes/huxiu/moment.ts +5 -3
  836. package/lib/routes/huxiu/search.ts +5 -3
  837. package/lib/routes/huxiu/util.ts +1 -1
  838. package/lib/routes/ianspriggs/index.ts +1 -1
  839. package/lib/routes/icac/news.ts +6 -4
  840. package/lib/routes/icbc/whpj.ts +6 -4
  841. package/lib/routes/idaily/index.ts +13 -4
  842. package/lib/routes/idolypride/news.ts +5 -3
  843. package/lib/routes/ieee/earlyaccess.ts +1 -1
  844. package/lib/routes/ieee/journal.ts +1 -1
  845. package/lib/routes/ieee/recent.ts +1 -1
  846. package/lib/routes/ieee-security/sp.ts +5 -3
  847. package/lib/routes/ielts/index.ts +6 -4
  848. package/lib/routes/ifeng/news.ts +1 -1
  849. package/lib/routes/ifeng/utils.ts +1 -1
  850. package/lib/routes/iiilab/index.ts +25 -26
  851. package/lib/routes/ikea/cn/family-offers.ts +5 -3
  852. package/lib/routes/ikea/cn/low-price.ts +5 -3
  853. package/lib/routes/ikea/cn/new.ts +5 -3
  854. package/lib/routes/ikea/cn/utils.ts +1 -1
  855. package/lib/routes/ikea/gb/new.ts +6 -4
  856. package/lib/routes/ikea/gb/offer.ts +6 -4
  857. package/lib/routes/imagemagick/changelog.ts +5 -3
  858. package/lib/routes/imiker/jinghua.ts +6 -4
  859. package/lib/routes/indiansinkuwait/latest.ts +5 -3
  860. package/lib/routes/indienova/article.ts +1 -1
  861. package/lib/routes/indienova/column.ts +5 -3
  862. package/lib/routes/indienova/usergames.ts +5 -3
  863. package/lib/routes/inewsweek/index.ts +5 -3
  864. package/lib/routes/infoq/recommend.ts +5 -3
  865. package/lib/routes/infoq/topic.ts +5 -3
  866. package/lib/routes/informs/index.ts +1 -1
  867. package/lib/routes/infzm/index.ts +75 -0
  868. package/lib/routes/infzm/types.ts +17 -0
  869. package/lib/routes/instagram/common-utils.ts +1 -1
  870. package/lib/routes/instagram/private-api/index.ts +3 -2
  871. package/lib/routes/instagram/private-api/utils.ts +2 -1
  872. package/lib/routes/instagram/web-api/index.ts +5 -3
  873. package/lib/routes/instagram/web-api/utils.ts +5 -4
  874. package/lib/routes/instructables/projects.ts +6 -4
  875. package/lib/routes/ippa/namespace.ts +6 -0
  876. package/lib/routes/ippa/rss.ts +35 -0
  877. package/lib/routes/ipsw/index.ts +109 -0
  878. package/lib/routes/ipsw/namespace.ts +6 -0
  879. package/lib/routes/iqilu/program.ts +1 -1
  880. package/lib/routes/iqiyi/album.ts +3 -2
  881. package/lib/routes/iqiyi/video.ts +6 -4
  882. package/lib/routes/iqnew/latest.ts +5 -3
  883. package/lib/routes/iresearch/report.ts +6 -4
  884. package/lib/routes/iresearch/weekly.ts +1 -1
  885. package/lib/routes/itc/collection.ts +66 -0
  886. package/lib/routes/itc/namespace.ts +6 -0
  887. package/lib/routes/itch/devlog.ts +3 -2
  888. package/lib/routes/itch/index.ts +1 -1
  889. package/lib/routes/itch/posts.ts +5 -3
  890. package/lib/routes/ithome/index.ts +2 -1
  891. package/lib/routes/ithome/ranking.ts +2 -1
  892. package/lib/routes/ithome/tag.ts +5 -3
  893. package/lib/routes/ithome/tw/feeds.ts +5 -3
  894. package/lib/routes/ithome/zt.ts +5 -3
  895. package/lib/routes/iwara/subscriptions.ts +9 -6
  896. package/lib/routes/ixigua/user-video.ts +7 -5
  897. package/lib/routes/jandan/index.ts +6 -0
  898. package/lib/routes/jandan/section.ts +4 -1
  899. package/lib/routes/japanpost/track.ts +1 -1
  900. package/lib/routes/javbus/index.ts +9 -6
  901. package/lib/routes/javbus/namespace.ts +1 -1
  902. package/lib/routes/javdb/actors.ts +14 -7
  903. package/lib/routes/javdb/index.ts +7 -5
  904. package/lib/routes/javdb/lists.ts +7 -5
  905. package/lib/routes/javdb/makers.ts +14 -6
  906. package/lib/routes/javdb/rankings.ts +14 -6
  907. package/lib/routes/javdb/search.ts +14 -6
  908. package/lib/routes/javdb/series.ts +14 -6
  909. package/lib/routes/javdb/tags.ts +14 -6
  910. package/lib/routes/javdb/utils.ts +18 -1
  911. package/lib/routes/javlibrary/bestrated.ts +1 -1
  912. package/lib/routes/javlibrary/bestreviews.ts +1 -1
  913. package/lib/routes/javlibrary/genre.ts +1 -1
  914. package/lib/routes/javlibrary/maker.ts +1 -1
  915. package/lib/routes/javlibrary/mostwanted.ts +1 -1
  916. package/lib/routes/javlibrary/newentries.ts +1 -1
  917. package/lib/routes/javlibrary/newrelease.ts +1 -1
  918. package/lib/routes/javlibrary/star.ts +1 -1
  919. package/lib/routes/javlibrary/update.ts +1 -1
  920. package/lib/routes/javlibrary/user.ts +1 -1
  921. package/lib/routes/javlibrary/utils.ts +1 -1
  922. package/lib/routes/jd/price.ts +1 -1
  923. package/lib/routes/jewishmuseum/exhibitions.ts +11 -14
  924. package/lib/routes/jianshu/collection.ts +5 -3
  925. package/lib/routes/jianshu/home.ts +5 -3
  926. package/lib/routes/jianshu/user.ts +5 -3
  927. package/lib/routes/jiaoliudao/index.ts +6 -4
  928. package/lib/routes/jiemian/lists.ts +1 -1
  929. package/lib/routes/jike/topic-text.ts +7 -5
  930. package/lib/routes/jike/topic.ts +8 -6
  931. package/lib/routes/jike/user.ts +6 -4
  932. package/lib/routes/jike/utils.ts +1 -1
  933. package/lib/routes/jin10/index.ts +7 -5
  934. package/lib/routes/jin10/topic.ts +5 -3
  935. package/lib/routes/jinse/catalogue.ts +1 -1
  936. package/lib/routes/jinse/lives.ts +1 -1
  937. package/lib/routes/jinse/timeline.ts +1 -1
  938. package/lib/routes/jisilu/index.ts +5 -3
  939. package/lib/routes/jjwxc/author.ts +1 -1
  940. package/lib/routes/jjwxc/book.ts +1 -1
  941. package/lib/routes/jou/home.ts +5 -3
  942. package/lib/routes/jou/utils/index.ts +35 -25
  943. package/lib/routes/jou/yz.ts +5 -3
  944. package/lib/routes/jpxgmn/namespace.ts +6 -0
  945. package/lib/routes/jpxgmn/search.ts +45 -0
  946. package/lib/routes/jpxgmn/tab.ts +57 -0
  947. package/lib/routes/jpxgmn/templates/description.art +3 -0
  948. package/lib/routes/jpxgmn/utils.ts +36 -0
  949. package/lib/routes/jpxgmn/weekly.ts +54 -0
  950. package/lib/routes/jseea/news.ts +6 -4
  951. package/lib/routes/juejin/books.ts +5 -3
  952. package/lib/routes/juejin/collection.ts +5 -3
  953. package/lib/routes/juejin/column.ts +5 -3
  954. package/lib/routes/juejin/favorites.ts +6 -4
  955. package/lib/routes/juejin/posts.ts +5 -3
  956. package/lib/routes/juejin/tag.ts +5 -3
  957. package/lib/routes/jump/discount.ts +1 -1
  958. package/lib/routes/junhe/legal-updates.ts +98 -0
  959. package/lib/routes/junhe/namespace.ts +8 -0
  960. package/lib/routes/kamen-rider-official/news.ts +1 -1
  961. package/lib/routes/kantarworldpanel/index.ts +1 -1
  962. package/lib/routes/kanxue/namespace.ts +6 -0
  963. package/lib/routes/kanxue/topic.ts +153 -0
  964. package/lib/routes/kaopu/namespace.ts +6 -0
  965. package/lib/routes/kaopu/news.ts +51 -0
  966. package/lib/routes/kbs/news.ts +6 -4
  967. package/lib/routes/kbs/today.ts +6 -4
  968. package/lib/routes/kcna/news.ts +7 -5
  969. package/lib/routes/ke/results.ts +5 -3
  970. package/lib/routes/keep/user.ts +6 -4
  971. package/lib/routes/kemono/index.ts +79 -74
  972. package/lib/routes/kemono/templates/source.art +24 -0
  973. package/lib/routes/kepu/live.ts +6 -4
  974. package/lib/routes/kimlaw/thesis.ts +5 -3
  975. package/lib/routes/konghq/blog-posts.ts +5 -3
  976. package/lib/routes/kuaidi100/supported-company.ts +5 -3
  977. package/lib/routes/kunchengblog/essay.ts +5 -3
  978. package/lib/routes/kuwaitlocal/index.ts +6 -4
  979. package/lib/routes/kyodonews/index.ts +5 -3
  980. package/lib/routes/laimanhua/index.ts +5 -3
  981. package/lib/routes/lala/rss.ts +8 -5
  982. package/lib/routes/lang/room.ts +7 -5
  983. package/lib/routes/lanqiao/author.ts +5 -3
  984. package/lib/routes/lanqiao/questions.ts +5 -3
  985. package/lib/routes/lanqiao/utils.ts +1 -1
  986. package/lib/routes/laohu8/personal.ts +5 -3
  987. package/lib/routes/layoffs/index.ts +6 -4
  988. package/lib/routes/learnku/topic.ts +7 -5
  989. package/lib/routes/leetcode/articles.ts +5 -3
  990. package/lib/routes/leetcode/dailyquestion-cn.ts +6 -4
  991. package/lib/routes/leetcode/dailyquestion-en.ts +6 -4
  992. package/lib/routes/leetcode/dailyquestion-solution-cn.ts +5 -3
  993. package/lib/routes/leetcode/dailyquestion-solution-en.ts +6 -4
  994. package/lib/routes/leiphone/index.ts +6 -4
  995. package/lib/routes/leiphone/newsflash.ts +5 -3
  996. package/lib/routes/lemmy/index.ts +4 -2
  997. package/lib/routes/lfsyd/home.ts +5 -3
  998. package/lib/routes/lfsyd/old-home.ts +5 -3
  999. package/lib/routes/lfsyd/tag.ts +6 -4
  1000. package/lib/routes/lfsyd/user.ts +6 -4
  1001. package/lib/routes/lfsyd/utils.ts +1 -1
  1002. package/lib/routes/lifeweek/channel.ts +6 -4
  1003. package/lib/routes/lifeweek/tag.ts +6 -4
  1004. package/lib/routes/lightnovel/light-novel.ts +6 -4
  1005. package/lib/routes/line/publisher.ts +18 -26
  1006. package/lib/routes/line/today.ts +6 -13
  1007. package/lib/routes/line/utils.ts +4 -3
  1008. package/lib/routes/linkedin/cn/utils.ts +1 -1
  1009. package/lib/routes/linovelib/namespace.ts +1 -1
  1010. package/lib/routes/linovelib/volume.ts +36 -0
  1011. package/lib/routes/liquipedia/cs-matches.ts +6 -4
  1012. package/lib/routes/liquipedia/dota2-matches.ts +5 -3
  1013. package/lib/routes/literotica/category.ts +5 -3
  1014. package/lib/routes/literotica/new.ts +5 -3
  1015. package/lib/routes/liveuamap/index.ts +8 -5
  1016. package/lib/routes/lkong/forum.ts +6 -4
  1017. package/lib/routes/lkong/thread.ts +6 -4
  1018. package/lib/routes/lofter/tag.ts +3 -3
  1019. package/lib/routes/lofter/user.ts +5 -4
  1020. package/lib/routes/logclub/index.ts +1 -1
  1021. package/lib/routes/logclub/report.ts +1 -1
  1022. package/lib/routes/logonews/index.ts +6 -4
  1023. package/lib/routes/loltw/news.ts +1 -1
  1024. package/lib/routes/loongarch/namespace.ts +6 -0
  1025. package/lib/routes/loongarch/post.ts +59 -0
  1026. package/lib/routes/lovelive-anime/news.ts +7 -5
  1027. package/lib/routes/lovelive-anime/schedules.ts +1 -1
  1028. package/lib/routes/lovelive-anime/topics.ts +1 -1
  1029. package/lib/routes/lsnu/jiaowc/tzgg.ts +6 -4
  1030. package/lib/routes/luogu/contest.ts +5 -3
  1031. package/lib/routes/luogu/daily.ts +6 -4
  1032. package/lib/routes/luogu/user-blog.ts +5 -3
  1033. package/lib/routes/luogu/user-feed.ts +5 -3
  1034. package/lib/routes/luolei/index.ts +145 -0
  1035. package/lib/routes/luolei/namespace.ts +8 -0
  1036. package/lib/routes/luolei/templates/description.art +19 -0
  1037. package/lib/routes/luxiangdong/archive.ts +5 -3
  1038. package/lib/routes/lvv2/news.ts +1 -1
  1039. package/lib/routes/lvv2/top.ts +1 -1
  1040. package/lib/routes/lxixsxa/discography.ts +6 -4
  1041. package/lib/routes/lxixsxa/information.ts +6 -4
  1042. package/lib/routes/m4/index.ts +3 -2
  1043. package/lib/routes/macfilos/blog.ts +5 -3
  1044. package/lib/routes/macupdate/app.ts +9 -7
  1045. package/lib/routes/magazinelib/latest-magazine.ts +1 -1
  1046. package/lib/routes/mail/imap.ts +2 -1
  1047. package/lib/routes/mangadex/index.ts +6 -4
  1048. package/lib/routes/manhuagui/comic.ts +6 -4
  1049. package/lib/routes/manhuagui/subscribe.ts +8 -5
  1050. package/lib/routes/mastodon/account-id.ts +2 -1
  1051. package/lib/routes/mastodon/namespace.ts +1 -1
  1052. package/lib/routes/mastodon/timeline-local.ts +2 -1
  1053. package/lib/routes/mastodon/timeline-remote.ts +2 -1
  1054. package/lib/routes/mastodon/utils.ts +3 -2
  1055. package/lib/routes/mdpi/journal.ts +6 -4
  1056. package/lib/routes/medieval-china/post.ts +6 -4
  1057. package/lib/routes/medium/following.ts +3 -2
  1058. package/lib/routes/medium/for-you.ts +3 -2
  1059. package/lib/routes/medium/graphql.ts +12 -12
  1060. package/lib/routes/medium/list.ts +4 -2
  1061. package/lib/routes/medium/parse-article.ts +1 -1
  1062. package/lib/routes/medium/tag.ts +3 -2
  1063. package/lib/routes/metacritic/index.ts +1 -1
  1064. package/lib/routes/metacritic/release.ts +2 -1
  1065. package/lib/routes/meteor/boards.ts +5 -3
  1066. package/lib/routes/meteor/utils.ts +1 -1
  1067. package/lib/{routes-deprecated/mi/crowdfunding.js → routes/mi/crowdfunding.ts} +15 -5
  1068. package/lib/{routes-deprecated/mi/golden.js → routes/mi/golden.ts} +14 -4
  1069. package/lib/routes/mi/namespace.ts +6 -0
  1070. package/lib/routes/microsoft/addon.ts +5 -3
  1071. package/lib/routes/mihoyo/bbs/cache.ts +2 -1
  1072. package/lib/routes/mihoyo/bbs/follow-list.ts +2 -2
  1073. package/lib/routes/mihoyo/bbs/img-ranking.ts +7 -5
  1074. package/lib/routes/mihoyo/bbs/official.ts +87 -18
  1075. package/lib/routes/mihoyo/bbs/timeline.ts +8 -5
  1076. package/lib/routes/mihoyo/bbs/user-post.ts +1 -1
  1077. package/lib/routes/mihoyo/bbs/utils.ts +1 -1
  1078. package/lib/routes/mihoyo/sr/news.ts +6 -4
  1079. package/lib/routes/mihoyo/templates/official.art +7 -0
  1080. package/lib/routes/mihoyo/ys/news.ts +7 -5
  1081. package/lib/routes/mindmeister/example.ts +1 -1
  1082. package/lib/routes/minecraft/blockedservers.ts +52 -0
  1083. package/lib/routes/minecraft/java-runtime.ts +127 -0
  1084. package/lib/routes/minecraft/version.ts +100 -20
  1085. package/lib/routes/mingpao/index.ts +1 -1
  1086. package/lib/{routes-deprecated/miniflux/get-entries.js → routes/miniflux/entry.ts} +84 -33
  1087. package/lib/routes/miniflux/namespace.ts +6 -0
  1088. package/lib/routes/miniflux/subscription.ts +129 -0
  1089. package/lib/routes/mirror/index.ts +2 -1
  1090. package/lib/routes/missav/new.ts +6 -4
  1091. package/lib/routes/misskey/featured-notes.ts +2 -1
  1092. package/lib/routes/misskey/utils.ts +1 -1
  1093. package/lib/routes/mittrchina/index.ts +1 -1
  1094. package/lib/routes/miui/community/user.ts +69 -0
  1095. package/lib/{routes-deprecated/mi/miui/index.js → routes/miui/firmware/index.ts} +29 -32
  1096. package/lib/routes/miui/namespace.ts +6 -0
  1097. package/lib/routes/mixcloud/index.ts +27 -6
  1098. package/lib/routes/mixcloud/queries.ts +934 -186
  1099. package/lib/routes/modelscope/community.ts +6 -4
  1100. package/lib/routes/modelscope/datasets.ts +6 -4
  1101. package/lib/routes/modelscope/models.ts +5 -3
  1102. package/lib/routes/modelscope/studios.ts +6 -4
  1103. package/lib/routes/modian/namespace.ts +6 -0
  1104. package/lib/routes/modian/zhongchou.ts +101 -0
  1105. package/lib/routes/modrinth/versions.ts +55 -51
  1106. package/lib/routes/mohw/clarification.ts +5 -3
  1107. package/lib/routes/mox/index.ts +66 -34
  1108. package/lib/routes/mpaypass/main.ts +1 -1
  1109. package/lib/routes/mpaypass/news.ts +5 -3
  1110. package/lib/routes/mrdx/daily.ts +5 -3
  1111. package/lib/routes/mvm/index.ts +5 -3
  1112. package/lib/routes/mydrivers/index.ts +1 -1
  1113. package/lib/routes/mydrivers/rank.ts +6 -4
  1114. package/lib/routes/myfigurecollection/activity.ts +9 -6
  1115. package/lib/routes/myfigurecollection/index.ts +8 -5
  1116. package/lib/routes/mygopen/index.ts +5 -3
  1117. package/lib/routes/mymusicsheet/usersheets.ts +7 -5
  1118. package/lib/routes/nasa/apod-cn.ts +5 -3
  1119. package/lib/routes/nasa/apod-ncku.ts +5 -3
  1120. package/lib/routes/nasa/apod.ts +5 -3
  1121. package/lib/routes/natgeo/dailyphoto.ts +6 -4
  1122. package/lib/routes/natgeo/natgeo.ts +6 -4
  1123. package/lib/routes/nationalgeographic/latest-stories.ts +6 -4
  1124. package/lib/routes/nature/cover.ts +5 -3
  1125. package/lib/routes/nature/highlight.ts +6 -4
  1126. package/lib/routes/nature/news-and-comment.ts +6 -4
  1127. package/lib/routes/nature/news.ts +5 -3
  1128. package/lib/routes/nature/research.ts +6 -4
  1129. package/lib/routes/nature/siteindex.ts +3 -3
  1130. package/lib/routes/nautil/topics.ts +6 -4
  1131. package/lib/routes/nbd/daily.ts +5 -3
  1132. package/lib/routes/nbd/index.ts +5 -3
  1133. package/lib/routes/nber/index.ts +6 -4
  1134. package/lib/routes/ncc-cma/cmdp.ts +1 -1
  1135. package/lib/routes/ncpssd/namespace.ts +6 -0
  1136. package/lib/routes/ncpssd/newlist.ts +98 -0
  1137. package/lib/routes/ncu/jwc.ts +5 -3
  1138. package/lib/routes/ncwu/notice.ts +5 -3
  1139. package/lib/routes/ndss-symposium/ndss.ts +5 -3
  1140. package/lib/routes/neatdownloadmanager/download.ts +5 -3
  1141. package/lib/routes/neea/jlpt.ts +5 -3
  1142. package/lib/routes/netflav/index.ts +7 -5
  1143. package/lib/routes/neu/news.ts +5 -3
  1144. package/lib/routes/newmuseum/exhibitions.ts +11 -14
  1145. package/lib/routes/newrank/douyin.ts +2 -1
  1146. package/lib/routes/newrank/wechat.ts +2 -1
  1147. package/lib/routes/news/xhsxw.ts +6 -4
  1148. package/lib/routes/newsmarket/index.ts +5 -3
  1149. package/lib/routes/newzmz/index.ts +6 -4
  1150. package/lib/routes/newzmz/util.ts +1 -1
  1151. package/lib/routes/nextapple/realtime.ts +5 -3
  1152. package/lib/routes/ngocn2/index.ts +5 -3
  1153. package/lib/routes/nhentai/other.ts +9 -6
  1154. package/lib/routes/nhentai/search.ts +7 -5
  1155. package/lib/routes/nhentai/util.ts +4 -3
  1156. package/lib/routes/nhk/news-web-easy.ts +6 -4
  1157. package/lib/routes/nhk/news.ts +7 -5
  1158. package/lib/routes/niaogebiji/cat.ts +5 -3
  1159. package/lib/routes/niaogebiji/index.ts +6 -4
  1160. package/lib/routes/niaogebiji/today.ts +6 -4
  1161. package/lib/routes/nikkei/asia/index.ts +5 -3
  1162. package/lib/routes/nikkei/news.ts +14 -20
  1163. package/lib/routes/nintendo/direct.ts +6 -4
  1164. package/lib/routes/nintendo/eshop-cn.ts +7 -4
  1165. package/lib/routes/nintendo/eshop-hk.ts +6 -4
  1166. package/lib/routes/nintendo/eshop-jp.ts +6 -4
  1167. package/lib/routes/nintendo/eshop-us.ts +7 -5
  1168. package/lib/routes/nintendo/news-china.ts +7 -4
  1169. package/lib/routes/nintendo/news.ts +5 -3
  1170. package/lib/routes/nintendo/system-update.ts +5 -3
  1171. package/lib/routes/nintendo/utils.ts +1 -1
  1172. package/lib/routes/nippon/index.ts +9 -4
  1173. package/lib/routes/njglyy/ygbjypx.ts +5 -3
  1174. package/lib/routes/njit/tzgg.ts +5 -3
  1175. package/lib/routes/nju/admission.ts +5 -3
  1176. package/lib/routes/nju/dafls.ts +5 -3
  1177. package/lib/routes/nju/gra.ts +5 -3
  1178. package/lib/routes/nju/hosptial.ts +5 -3
  1179. package/lib/routes/nju/hqjt.ts +5 -3
  1180. package/lib/routes/nju/itsc.ts +5 -3
  1181. package/lib/routes/nju/jjc.ts +5 -3
  1182. package/lib/routes/nju/jw.ts +9 -5
  1183. package/lib/routes/nju/rczp.ts +5 -3
  1184. package/lib/routes/nju/zcc.ts +5 -3
  1185. package/lib/routes/njucm/grabs.ts +5 -3
  1186. package/lib/routes/njuferret/blog.ts +41 -0
  1187. package/lib/routes/njuferret/namespace.ts +10 -0
  1188. package/lib/routes/njust/cwc.ts +2 -1
  1189. package/lib/routes/njust/dgxg.ts +2 -1
  1190. package/lib/routes/njust/eoe.ts +2 -1
  1191. package/lib/routes/njust/gs.ts +6 -4
  1192. package/lib/routes/njust/jwc.ts +2 -1
  1193. package/lib/routes/njxzc/home.ts +5 -3
  1194. package/lib/routes/njxzc/lib.ts +5 -3
  1195. package/lib/routes/njxzc/utils/index.ts +31 -13
  1196. package/lib/routes/nlc/read.ts +1 -1
  1197. package/lib/routes/nltimes/news.ts +6 -4
  1198. package/lib/routes/nmc/weatheralarm.ts +8 -7
  1199. package/lib/routes/nmtv/column.ts +1 -1
  1200. package/lib/routes/nodejs/blog.ts +5 -3
  1201. package/lib/routes/nogizaka46/blog.ts +6 -4
  1202. package/lib/routes/nogizaka46/news.ts +5 -3
  1203. package/lib/{routes-deprecated/nosec/index.js → routes/nosec/index.ts} +37 -10
  1204. package/lib/routes/nosec/namespace.ts +6 -0
  1205. package/lib/routes/notateslaapp/update.ts +5 -3
  1206. package/lib/routes/notefolio/search.ts +6 -4
  1207. package/lib/routes/notion/database.ts +11 -7
  1208. package/lib/routes/notion/namespace.ts +2 -2
  1209. package/lib/routes/now/news.ts +5 -3
  1210. package/lib/routes/nowcoder/experience.ts +6 -4
  1211. package/lib/routes/nowcoder/jobcenter.ts +6 -4
  1212. package/lib/routes/nowcoder/recommend.ts +5 -3
  1213. package/lib/routes/nowcoder/schedule.ts +6 -4
  1214. package/lib/routes/npm/package.ts +1 -1
  1215. package/lib/routes/ntdm/namespace.ts +6 -0
  1216. package/lib/routes/ntdm/utils.ts +3 -0
  1217. package/lib/routes/ntdm/video.ts +57 -0
  1218. package/lib/routes/ntdtv/channel.ts +5 -3
  1219. package/lib/routes/nua/dc.ts +7 -4
  1220. package/lib/routes/nua/gra.ts +5 -3
  1221. package/lib/routes/nua/index.ts +5 -3
  1222. package/lib/routes/nua/lib.ts +7 -4
  1223. package/lib/routes/nua/sxw.ts +5 -3
  1224. package/lib/routes/nuist/bulletin.ts +6 -4
  1225. package/lib/routes/nuist/library/lib.ts +5 -3
  1226. package/lib/routes/nuist/scs.ts +6 -4
  1227. package/lib/routes/nuist/xgc.ts +5 -3
  1228. package/lib/routes/nymity/censorbib.ts +51 -0
  1229. package/lib/routes/nymity/namespace.ts +6 -0
  1230. package/lib/routes/nytimes/book.ts +6 -4
  1231. package/lib/routes/nytimes/daily-briefing-chinese.ts +7 -5
  1232. package/lib/routes/nytimes/index.ts +6 -4
  1233. package/lib/routes/oceanengine/arithmetic-index.ts +5 -4
  1234. package/lib/routes/odaily/activity.ts +5 -3
  1235. package/lib/routes/odaily/newsflash.ts +5 -3
  1236. package/lib/routes/odaily/post.ts +5 -3
  1237. package/lib/routes/odaily/search-news.ts +5 -3
  1238. package/lib/routes/odaily/user.ts +5 -3
  1239. package/lib/routes/oeeee/app/channel.ts +1 -1
  1240. package/lib/routes/oeeee/app/reporter.ts +1 -1
  1241. package/lib/routes/oeeee/web.ts +1 -1
  1242. package/lib/routes/oncc/index.ts +1 -1
  1243. package/lib/routes/oncc/money18.ts +1 -1
  1244. package/lib/routes/onet/news.ts +6 -4
  1245. package/lib/routes/onet/utils.ts +1 -1
  1246. package/lib/routes/openai/common.ts +1 -1
  1247. package/lib/routes/openwrt/releases.ts +6 -4
  1248. package/lib/routes/orcid/index.ts +1 -1
  1249. package/lib/routes/oreno3d/main.ts +1 -1
  1250. package/lib/routes/oschina/news.ts +6 -4
  1251. package/lib/routes/oschina/topic.ts +5 -3
  1252. package/lib/routes/oschina/user.ts +5 -3
  1253. package/lib/routes/oshwhub/explore.ts +1 -1
  1254. package/lib/routes/otobanana/cast.ts +10 -8
  1255. package/lib/routes/otobanana/livestream.ts +10 -8
  1256. package/lib/routes/otobanana/timeline.ts +10 -8
  1257. package/lib/routes/otobanana/utils.ts +1 -1
  1258. package/lib/routes/ouc/hqsz.ts +90 -0
  1259. package/lib/routes/ouc/it-postgraduate.ts +5 -3
  1260. package/lib/routes/ouc/it-tx.ts +6 -4
  1261. package/lib/routes/ouc/it.ts +6 -4
  1262. package/lib/routes/ouc/jwc.ts +7 -5
  1263. package/lib/routes/ouc/jwgl.ts +5 -3
  1264. package/lib/routes/ouc/yjs.ts +5 -3
  1265. package/lib/routes/oup/index.ts +6 -4
  1266. package/lib/routes/panewslab/author.ts +5 -3
  1267. package/lib/routes/panewslab/index.ts +5 -3
  1268. package/lib/routes/panewslab/news.ts +5 -3
  1269. package/lib/routes/panewslab/topic.ts +5 -3
  1270. package/lib/routes/papers/index.ts +101 -60
  1271. package/lib/routes/papers/namespace.ts +2 -0
  1272. package/lib/routes/paradigm/writing.ts +5 -3
  1273. package/lib/routes/parliament/section77.ts +1 -1
  1274. package/lib/routes/patagonia/new-arrivals.ts +1 -1
  1275. package/lib/routes/paulgraham/article.ts +5 -3
  1276. package/lib/routes/penguin-random-house/articles.ts +5 -3
  1277. package/lib/routes/penguin-random-house/thereaddown.ts +5 -3
  1278. package/lib/routes/penguin-random-house/utils.ts +1 -1
  1279. package/lib/routes/people/index.ts +2 -1
  1280. package/lib/routes/people/liuyan.ts +5 -3
  1281. package/lib/routes/people/xjpjh.ts +6 -4
  1282. package/lib/routes/peopo/topic.ts +6 -4
  1283. package/lib/routes/phoronix/index.ts +7 -5
  1284. package/lib/routes/pianyivps/namespace.ts +6 -0
  1285. package/lib/routes/pianyivps/rss.ts +35 -0
  1286. package/lib/routes/pianyuan/app.ts +6 -4
  1287. package/lib/routes/pianyuan/search.ts +6 -4
  1288. package/lib/routes/pianyuan/utils.ts +3 -2
  1289. package/lib/routes/picnob/user.ts +23 -8
  1290. package/lib/routes/picuki/profile.ts +7 -5
  1291. package/lib/routes/pikabu/user.ts +5 -3
  1292. package/lib/routes/pikabu/utils.ts +1 -1
  1293. package/lib/routes/pincong/topic.ts +5 -3
  1294. package/lib/routes/pingwest/status.ts +5 -3
  1295. package/lib/routes/pingwest/user.ts +6 -4
  1296. package/lib/routes/pixabay/search.ts +7 -5
  1297. package/lib/routes/pixiv/bookmarks.ts +8 -5
  1298. package/lib/routes/pixiv/illustfollow.ts +8 -5
  1299. package/lib/routes/pixiv/novels.ts +5 -3
  1300. package/lib/routes/pixiv/ranking.ts +3 -2
  1301. package/lib/routes/pixiv/search.ts +3 -2
  1302. package/lib/routes/pixiv/token.ts +14 -21
  1303. package/lib/routes/pixiv/user.ts +8 -5
  1304. package/lib/routes/piyao/jrpy.ts +5 -3
  1305. package/lib/routes/pkmer/recent.ts +5 -3
  1306. package/lib/routes/pku/bbs/hot.ts +5 -3
  1307. package/lib/routes/pku/cls/announcement.ts +5 -3
  1308. package/lib/routes/pku/cls/lecture.ts +5 -3
  1309. package/lib/routes/pku/hr.ts +5 -3
  1310. package/lib/routes/pku/nsd.ts +5 -3
  1311. package/lib/routes/pku/pkuyjs.ts +5 -3
  1312. package/lib/routes/pku/rccp/mzyt.ts +5 -3
  1313. package/lib/routes/pku/ss/admission.ts +5 -3
  1314. package/lib/routes/pku/ss/notice.ts +5 -3
  1315. package/lib/routes/pku/ss/pg-admin.ts +5 -3
  1316. package/lib/routes/playno1/st.ts +6 -4
  1317. package/lib/routes/playpcesor/rss.ts +8 -5
  1318. package/lib/routes/plurk/anonymous.ts +5 -3
  1319. package/lib/routes/plurk/hotlinks.ts +5 -3
  1320. package/lib/routes/plurk/news.ts +6 -4
  1321. package/lib/routes/plurk/top.ts +2 -1
  1322. package/lib/routes/plurk/topic.ts +5 -3
  1323. package/lib/routes/pnas/index.ts +7 -5
  1324. package/lib/routes/pornhub/category-url.ts +2 -1
  1325. package/lib/routes/pornhub/model.ts +8 -5
  1326. package/lib/routes/pornhub/pornstar.ts +8 -5
  1327. package/lib/routes/pornhub/users.ts +8 -5
  1328. package/lib/routes/pornhub/utils.ts +1 -1
  1329. package/lib/routes/postman/release-notes.ts +5 -3
  1330. package/lib/routes/priconne-redive/news.ts +155 -52
  1331. package/lib/routes/producthunt/today.ts +6 -4
  1332. package/lib/routes/ps/monthly-games.ts +6 -4
  1333. package/lib/routes/pts/curations.ts +6 -4
  1334. package/lib/routes/pts/index.ts +2 -2
  1335. package/lib/routes/pts/live.ts +6 -4
  1336. package/lib/routes/pts/projects.ts +6 -4
  1337. package/lib/routes/pubmed/trending.ts +1 -1
  1338. package/lib/routes/pumc/mdadmission.ts +5 -3
  1339. package/lib/routes/putty/changes.ts +5 -3
  1340. package/lib/routes/pwc/sustainability.ts +5 -3
  1341. package/lib/routes/qbitai/category.ts +5 -3
  1342. package/lib/routes/qbitai/tag.ts +5 -3
  1343. package/lib/routes/qbittorrent/news.ts +8 -9
  1344. package/lib/routes/qdu/houqin.ts +5 -3
  1345. package/lib/routes/qdu/jwc.ts +5 -3
  1346. package/lib/routes/qianzhan/rank.ts +6 -4
  1347. package/lib/routes/qidian/author.ts +6 -4
  1348. package/lib/routes/qidian/chapter.ts +5 -3
  1349. package/lib/routes/qidian/forum.ts +5 -3
  1350. package/lib/routes/qidian/free-next.ts +6 -4
  1351. package/lib/routes/qidian/free.ts +6 -4
  1352. package/lib/routes/qingting/podcast.ts +66 -42
  1353. package/lib/routes/qipamaijia/index.ts +7 -5
  1354. package/lib/routes/qlu/notice.ts +5 -3
  1355. package/lib/routes/qm120/news.ts +5 -3
  1356. package/lib/routes/qoo-app/apps/comment.ts +1 -1
  1357. package/lib/routes/qoo-app/notes/note.ts +1 -1
  1358. package/lib/routes/qoo-app/user/app-comment.ts +1 -1
  1359. package/lib/routes/qq/ac/comic.ts +6 -4
  1360. package/lib/routes/qq/ac/rank.ts +6 -4
  1361. package/lib/routes/qq/ac/utils.ts +1 -1
  1362. package/lib/routes/qq/fact/index.ts +6 -4
  1363. package/lib/routes/qqorw/index.ts +5 -3
  1364. package/lib/routes/questmobile/report.ts +1 -1
  1365. package/lib/routes/quicker/share.ts +5 -3
  1366. package/lib/routes/qust/jw.ts +5 -3
  1367. package/lib/routes/qweather/3days.ts +3 -2
  1368. package/lib/routes/qweather/now.ts +1 -1
  1369. package/lib/routes/radio/album.ts +34 -50
  1370. package/lib/routes/radio/index.ts +1 -1
  1371. package/lib/routes/radio/zhibo.ts +10 -3
  1372. package/lib/routes/radio-canada/latest.ts +5 -3
  1373. package/lib/routes/rarehistoricalphotos/index.ts +6 -4
  1374. package/lib/routes/rattibha/user.ts +5 -3
  1375. package/lib/routes/rawkuma/manga.ts +6 -4
  1376. package/lib/routes/reactiflux/namespace.ts +7 -0
  1377. package/lib/routes/reactiflux/transcripts.ts +103 -0
  1378. package/lib/routes/reactnewsletter/reactnewsletter.ts +6 -4
  1379. package/lib/routes/readhub/daily.ts +13 -8
  1380. package/lib/routes/readhub/index.ts +1 -1
  1381. package/lib/routes/readhub/util.ts +1 -1
  1382. package/lib/routes/remnote/changelog.ts +5 -3
  1383. package/lib/routes/researchgate/publications.ts +6 -4
  1384. package/lib/routes/reuters/common.ts +16 -14
  1385. package/lib/routes/rfi/news.ts +6 -4
  1386. package/lib/routes/rodong/news.ts +6 -4
  1387. package/lib/routes/routledge/book-series.ts +6 -4
  1388. package/lib/routes/rsc/journal.ts +1 -1
  1389. package/lib/routes/rsshub/routes.ts +7 -13
  1390. package/lib/routes/rsshub/transform/html.ts +2 -1
  1391. package/lib/routes/rsshub/transform/json.ts +2 -1
  1392. package/lib/routes/rsshub/transform/sitemap.ts +2 -1
  1393. package/lib/routes/ruancan/category.ts +7 -5
  1394. package/lib/routes/ruancan/index.ts +7 -5
  1395. package/lib/routes/ruancan/search.ts +7 -5
  1396. package/lib/routes/ruancan/user.ts +6 -4
  1397. package/lib/routes/ruancan/utils.ts +2 -1
  1398. package/lib/routes/ruc/hr.ts +5 -3
  1399. package/lib/routes/runtrail/posts.ts +6 -4
  1400. package/lib/routes/rustcc/jobs.ts +5 -3
  1401. package/lib/routes/rustcc/news.ts +55 -0
  1402. package/lib/routes/sakurazaka46/news.ts +5 -3
  1403. package/lib/routes/samsung/research/blog.ts +5 -3
  1404. package/lib/routes/sara/index.ts +66 -0
  1405. package/lib/routes/sara/namespace.ts +6 -0
  1406. package/lib/routes/saraba1st/digest.ts +1 -1
  1407. package/lib/routes/sass/gs/index.ts +5 -3
  1408. package/lib/routes/scau/yjs.ts +5 -3
  1409. package/lib/routes/scau/yjsy.ts +5 -3
  1410. package/lib/routes/science/blogs.ts +6 -4
  1411. package/lib/routes/science/cover.ts +6 -4
  1412. package/lib/routes/science/current.ts +6 -4
  1413. package/lib/routes/science/early.ts +6 -4
  1414. package/lib/routes/science/utils.ts +1 -1
  1415. package/lib/routes/sciencedirect/journal.ts +5 -3
  1416. package/lib/routes/sciencenet/user.ts +5 -3
  1417. package/lib/routes/scmp/index.ts +5 -3
  1418. package/lib/routes/scmp/topic.ts +5 -3
  1419. package/lib/routes/scnu/cs/match.ts +5 -3
  1420. package/lib/routes/scnu/jw.ts +5 -3
  1421. package/lib/routes/scnu/library.ts +5 -3
  1422. package/lib/routes/scnu/ss.ts +5 -3
  1423. package/lib/routes/scnu/yjs.ts +5 -3
  1424. package/lib/routes/sctv/programme.ts +1 -1
  1425. package/lib/routes/scut/seie/news-ccenter.ts +5 -3
  1426. package/lib/routes/scut/yjs.ts +5 -3
  1427. package/lib/routes/scvtc/xygg.ts +5 -3
  1428. package/lib/routes/sdu/data.ts +2 -2
  1429. package/lib/routes/sdu/extractor/index.ts +2 -1
  1430. package/lib/routes/sdu/extractor/sdrj.ts +2 -1
  1431. package/lib/routes/sdu/extractor/view.ts +2 -1
  1432. package/lib/routes/sdu/extractor/wh/jwc.ts +2 -1
  1433. package/lib/routes/sdu/extractor/wh/news.ts +2 -1
  1434. package/lib/routes/seekingalpha/index.ts +66 -29
  1435. package/lib/routes/seekingalpha/templates/summary.art +4 -0
  1436. package/lib/routes/sega/maimaidx.ts +64 -0
  1437. package/lib/routes/sega/pjsekai.ts +5 -3
  1438. package/lib/routes/segmentfault/blogs.ts +5 -3
  1439. package/lib/routes/segmentfault/channel.ts +5 -3
  1440. package/lib/routes/segmentfault/user.ts +5 -3
  1441. package/lib/routes/sehuatang/index.ts +1 -5
  1442. package/lib/routes/sehuatang/user.ts +2 -1
  1443. package/lib/routes/sensortower/blog.ts +7 -5
  1444. package/lib/routes/setn/index.ts +6 -4
  1445. package/lib/routes/seu/cse/index.ts +5 -3
  1446. package/lib/routes/seu/radio/academic.ts +5 -3
  1447. package/lib/routes/seu/yjs.ts +5 -3
  1448. package/lib/routes/seu/yzb/index.ts +5 -3
  1449. package/lib/routes/sfacg/novel-chapter.ts +5 -3
  1450. package/lib/routes/shcstheatre/programs.ts +6 -4
  1451. package/lib/routes/shiep/config.ts +1 -1
  1452. package/lib/routes/shiep/index.ts +8 -13
  1453. package/lib/routes/shiep/radar.ts +317 -0
  1454. package/lib/routes/shisu/news.ts +5 -3
  1455. package/lib/routes/shmeea/self-study.ts +5 -3
  1456. package/lib/routes/shmtu/jwc.ts +5 -3
  1457. package/lib/routes/shmtu/portal.ts +6 -4
  1458. package/lib/routes/shmtu/www.ts +5 -3
  1459. package/lib/routes/shoac/recent-show.ts +6 -4
  1460. package/lib/routes/shopback/store.ts +5 -3
  1461. package/lib/routes/shopify/apps/[handle].reviews.ts +78 -0
  1462. package/lib/routes/shopify/apps/const.ts +1 -0
  1463. package/lib/routes/shopify/apps/search.ts +82 -0
  1464. package/lib/routes/shopify/namespace.ts +6 -0
  1465. package/lib/routes/shoppingdesign/posts.ts +5 -3
  1466. package/lib/routes/showstart/artist.ts +5 -3
  1467. package/lib/routes/showstart/brand.ts +5 -3
  1468. package/lib/routes/shu/index.ts +6 -4
  1469. package/lib/routes/shu/jwb.ts +6 -4
  1470. package/lib/routes/shuiguopai/index.ts +7 -5
  1471. package/lib/routes/sicau/dky.ts +5 -3
  1472. package/lib/routes/sicau/yan.ts +5 -3
  1473. package/lib/routes/sicau/zsjy.ts +5 -3
  1474. package/lib/routes/sigsac/ccs.ts +5 -3
  1475. package/lib/routes/simpleinfo/index.ts +7 -5
  1476. package/lib/routes/sina/chuangshiji.ts +5 -3
  1477. package/lib/routes/sina/finance/china.ts +6 -4
  1478. package/lib/routes/sina/finance/stock/usstock.ts +6 -4
  1479. package/lib/routes/sina/utils.ts +1 -1
  1480. package/lib/routes/sinchew/index.ts +7 -5
  1481. package/lib/routes/sjtu/gs.ts +6 -4
  1482. package/lib/routes/sjtu/seiee/utils.ts +1 -1
  1483. package/lib/routes/sjtu/tongqu/activity.ts +1 -1
  1484. package/lib/routes/slowmist/slowmist.ts +5 -3
  1485. package/lib/routes/smashingmagazine/category.ts +6 -4
  1486. package/lib/routes/smzdm/article.ts +7 -5
  1487. package/lib/routes/smzdm/baoliao.ts +5 -3
  1488. package/lib/routes/smzdm/haowen-fenlei.ts +6 -4
  1489. package/lib/routes/snowpeak/us-new-arrivals.ts +6 -4
  1490. package/lib/routes/sobooks/date.ts +7 -5
  1491. package/lib/routes/sobooks/index.ts +7 -5
  1492. package/lib/routes/sobooks/tag.ts +7 -5
  1493. package/lib/routes/sobooks/utils.ts +2 -1
  1494. package/lib/routes/sogou/search.ts +1 -1
  1495. package/lib/routes/sohu/mp.ts +1 -1
  1496. package/lib/routes/solidot/main.ts +2 -1
  1497. package/lib/routes/sony/downloads.ts +5 -3
  1498. package/lib/routes/soundofhope/channel.ts +5 -3
  1499. package/lib/routes/southcn/nfapp/column.ts +1 -1
  1500. package/lib/routes/southcn/nfapp/reporter.ts +1 -1
  1501. package/lib/routes/spotify/artist.ts +5 -3
  1502. package/lib/routes/spotify/artists-top.ts +5 -3
  1503. package/lib/routes/spotify/playlist.ts +5 -3
  1504. package/lib/routes/spotify/saved.ts +6 -4
  1505. package/lib/routes/spotify/show.ts +5 -3
  1506. package/lib/routes/spotify/tracks-top.ts +5 -3
  1507. package/lib/routes/spotify/utils.ts +3 -2
  1508. package/lib/routes/springer/journal.ts +6 -4
  1509. package/lib/routes/sqmc/www.ts +5 -3
  1510. package/lib/routes/sse/inquire.ts +6 -4
  1511. package/lib/routes/sse/renewal.ts +6 -4
  1512. package/lib/routes/ssm/news.ts +6 -4
  1513. package/lib/routes/sspai/activity.ts +6 -4
  1514. package/lib/routes/sspai/author.ts +7 -4
  1515. package/lib/routes/sspai/bookmarks.ts +5 -3
  1516. package/lib/routes/sspai/column.ts +5 -3
  1517. package/lib/routes/sspai/index.ts +5 -3
  1518. package/lib/routes/sspai/matrix.ts +5 -3
  1519. package/lib/routes/sspai/series-update.ts +5 -3
  1520. package/lib/routes/sspai/series.ts +5 -3
  1521. package/lib/routes/sspai/shortcuts-gallery.ts +5 -3
  1522. package/lib/routes/sspai/tag.ts +5 -3
  1523. package/lib/routes/sspai/topic.ts +5 -3
  1524. package/lib/routes/sspai/topics.ts +5 -3
  1525. package/lib/routes/sspu/jwc.ts +5 -3
  1526. package/lib/routes/sspu/pe.ts +6 -4
  1527. package/lib/routes/startuplatte/index.ts +5 -3
  1528. package/lib/routes/stbu/jsjxy.ts +6 -4
  1529. package/lib/routes/stbu/xyxw.ts +5 -3
  1530. package/lib/routes/stdaily/digitalpaper.ts +1 -1
  1531. package/lib/routes/steam/namespace.ts +6 -0
  1532. package/lib/routes/steam/search.ts +64 -0
  1533. package/lib/routes/stockedge/daily-news.ts +5 -3
  1534. package/lib/routes/storm/index.ts +5 -3
  1535. package/lib/routes/storyfm/episodes.ts +6 -4
  1536. package/lib/routes/storyfm/index.ts +5 -3
  1537. package/lib/routes/stratechery/index.ts +15 -18
  1538. package/lib/routes/studygolang/go.ts +6 -4
  1539. package/lib/routes/studygolang/jobs.ts +1 -1
  1540. package/lib/routes/studygolang/weekly.ts +1 -1
  1541. package/lib/routes/supchina/index.ts +6 -4
  1542. package/lib/routes/supchina/podcasts.ts +5 -3
  1543. package/lib/routes/surfshark/blog.ts +1 -1
  1544. package/lib/routes/sustech/bidding.ts +5 -3
  1545. package/lib/routes/sustech/newshub-zh.ts +5 -3
  1546. package/lib/routes/sustech/yjs.ts +5 -3
  1547. package/lib/routes/swissinfo/index.ts +5 -3
  1548. package/lib/routes/swjtu/jwc.ts +5 -3
  1549. package/lib/routes/swjtu/jyzpxx.ts +5 -3
  1550. package/lib/routes/swjtu/utils.ts +1 -1
  1551. package/lib/routes/swjtu/xg.ts +8 -5
  1552. package/lib/routes/swpu/bgw.ts +6 -4
  1553. package/lib/routes/swpu/cjxy.ts +6 -4
  1554. package/lib/routes/swpu/dean.ts +6 -4
  1555. package/lib/routes/swpu/dxy.ts +6 -4
  1556. package/lib/routes/swpu/is.ts +6 -4
  1557. package/lib/routes/swpu/scs.ts +6 -4
  1558. package/lib/routes/syosetu/chapter.ts +5 -3
  1559. package/lib/routes/sysu/cse.ts +5 -3
  1560. package/lib/routes/sysu/ygafz.ts +13 -4
  1561. package/lib/routes/szse/inquire.ts +7 -5
  1562. package/lib/routes/szse/notice.ts +5 -3
  1563. package/lib/routes/szse/projectdynamic.ts +6 -4
  1564. package/lib/routes/szse/rule.ts +5 -3
  1565. package/lib/routes/taiwannews/hot.ts +6 -4
  1566. package/lib/routes/tangshufang/index.ts +5 -3
  1567. package/lib/routes/taobao/zhongchou.ts +1 -1
  1568. package/lib/routes/taoguba/blog.ts +5 -3
  1569. package/lib/routes/taptap/changelog.ts +6 -4
  1570. package/lib/routes/taptap/review.ts +9 -11
  1571. package/lib/routes/taptap/topic.ts +9 -9
  1572. package/lib/routes/taptap/utils.ts +1 -1
  1573. package/lib/routes/tass/news.ts +6 -4
  1574. package/lib/routes/techcrunch/news.ts +5 -3
  1575. package/lib/routes/techflowpost/express.ts +5 -3
  1576. package/lib/routes/techflowpost/index.ts +6 -4
  1577. package/lib/routes/techpowerup/index.ts +6 -4
  1578. package/lib/routes/techpowerup/review.ts +6 -4
  1579. package/lib/routes/telegram/blog.ts +8 -6
  1580. package/lib/routes/telegram/channel.ts +21 -8
  1581. package/lib/routes/telegram/stickerpack.ts +2 -1
  1582. package/lib/routes/telegram/tglib/channel.ts +6 -12
  1583. package/lib/routes/telegram/tglib/client.ts +27 -32
  1584. package/lib/routes/tencent/news/author.ts +6 -4
  1585. package/lib/routes/tencent/news/coronavirus/data.ts +3 -2
  1586. package/lib/routes/tencent/news/coronavirus/total.ts +6 -4
  1587. package/lib/routes/tencent/qq/sdk/changelog.ts +2 -1
  1588. package/lib/routes/tesla/cx.ts +1 -1
  1589. package/lib/routes/tesla/price/index.ts +5 -3
  1590. package/lib/routes/test/index.ts +22 -8
  1591. package/lib/routes/tfc-taiwan/utils.ts +1 -1
  1592. package/lib/routes/tgbus/list.ts +67 -0
  1593. package/lib/routes/tgbus/namespace.ts +6 -0
  1594. package/lib/routes/tgbus/utils.ts +19 -0
  1595. package/lib/routes/theatlantic/news.ts +5 -3
  1596. package/lib/routes/theatlantic/utils.ts +1 -1
  1597. package/lib/routes/thecatcity/index.ts +6 -4
  1598. package/lib/routes/thehindu/topic.ts +5 -3
  1599. package/lib/routes/themoviedb/api-key.ts +2 -1
  1600. package/lib/routes/themoviedb/utils.ts +1 -1
  1601. package/lib/routes/thenewslens/index.ts +1 -1
  1602. package/lib/routes/thepaper/839studio/category.ts +5 -3
  1603. package/lib/routes/thepaper/factpaper.ts +7 -5
  1604. package/lib/routes/thepaper/featured.ts +5 -3
  1605. package/lib/routes/thepaper/sidebar.ts +6 -4
  1606. package/lib/routes/thepaper/utils.ts +1 -1
  1607. package/lib/routes/theverge/index.ts +5 -3
  1608. package/lib/routes/thoughtco/index.ts +1 -1
  1609. package/lib/routes/threads/index.ts +36 -38
  1610. package/lib/routes/threads/utils.ts +44 -12
  1611. package/lib/routes/thwiki/index.ts +6 -4
  1612. package/lib/routes/tiktok/user.ts +7 -5
  1613. package/lib/routes/timednews/news.ts +3 -7
  1614. package/lib/routes/tingshuitz/dalian.ts +5 -3
  1615. package/lib/routes/tingshuitz/hangzhou.ts +5 -3
  1616. package/lib/routes/tingshuitz/nanjing.ts +5 -3
  1617. package/lib/routes/tingshuitz/shenzhen.ts +6 -4
  1618. package/lib/routes/tingshuitz/wuhan.ts +6 -4
  1619. package/lib/routes/tingshuitz/xiaoshan.ts +5 -3
  1620. package/lib/routes/tingshuitz/yangjiang.ts +5 -3
  1621. package/lib/routes/tingtingfm/program.ts +6 -4
  1622. package/lib/routes/tokeninsight/blog.ts +6 -4
  1623. package/lib/routes/tokeninsight/bulletin.ts +6 -4
  1624. package/lib/routes/tokeninsight/report.ts +6 -4
  1625. package/lib/routes/tongji/bks.ts +5 -3
  1626. package/lib/routes/tongji/yjs.ts +5 -3
  1627. package/lib/routes/tophub/index.ts +5 -3
  1628. package/lib/routes/tophub/list.ts +6 -4
  1629. package/lib/routes/topys/index.ts +5 -3
  1630. package/lib/routes/tradingview/blog.ts +1 -1
  1631. package/lib/routes/tradingview/desktop.ts +5 -3
  1632. package/lib/routes/tradingview/pine.ts +6 -4
  1633. package/lib/routes/transcriptforest/index.ts +7 -5
  1634. package/lib/routes/trending/all-trending.ts +3 -2
  1635. package/lib/routes/tribalfootball/latest.ts +7 -5
  1636. package/lib/routes/trow/portal.ts +5 -3
  1637. package/lib/routes/tvb/news.ts +6 -4
  1638. package/lib/routes/tvtropes/featured.ts +1 -1
  1639. package/lib/routes/twitch/schedule.ts +7 -4
  1640. package/lib/routes/twitch/video.ts +10 -7
  1641. package/lib/routes/twitter/{developer-api → api/developer-api}/search.ts +3 -2
  1642. package/lib/routes/twitter/{developer-api → api/developer-api}/user.ts +3 -2
  1643. package/lib/routes/twitter/api/index.ts +42 -0
  1644. package/lib/routes/twitter/{web-api/twitter-api.ts → api/mobile-api/api.ts} +5 -3
  1645. package/lib/routes/twitter/{web-api → api/mobile-api}/login.ts +8 -7
  1646. package/lib/routes/twitter/{web-api → api/mobile-api}/token.ts +2 -1
  1647. package/lib/routes/twitter/api/web-api/api.ts +185 -0
  1648. package/lib/routes/twitter/api/web-api/constants.ts +81 -0
  1649. package/lib/routes/twitter/api/web-api/utils.ts +125 -0
  1650. package/lib/routes/twitter/home.ts +60 -0
  1651. package/lib/routes/twitter/keyword.ts +25 -4
  1652. package/lib/routes/twitter/likes.ts +2 -1
  1653. package/lib/routes/twitter/list.ts +30 -31
  1654. package/lib/routes/twitter/media.ts +33 -5
  1655. package/lib/routes/twitter/namespace.ts +8 -1
  1656. package/lib/routes/twitter/trends.ts +2 -1
  1657. package/lib/routes/twitter/tweet.ts +23 -4
  1658. package/lib/routes/twitter/user.ts +43 -4
  1659. package/lib/routes/twitter/utils.ts +12 -1
  1660. package/lib/routes/twreporter/category.ts +71 -0
  1661. package/lib/routes/twreporter/fetch-article.ts +87 -50
  1662. package/lib/routes/twreporter/newest.ts +14 -15
  1663. package/lib/routes/twreporter/templates/image.art +3 -0
  1664. package/lib/routes/twreporter/templates/youtube.art +1 -0
  1665. package/lib/routes/txrjy/fornumtopic.ts +1 -1
  1666. package/lib/routes/tynu/tynu.ts +6 -4
  1667. package/lib/routes/typora/changelog-dev.ts +6 -4
  1668. package/lib/routes/typora/changelog.ts +5 -3
  1669. package/lib/routes/u9a9/index.ts +6 -4
  1670. package/lib/routes/uber/blog.ts +6 -4
  1671. package/lib/routes/ucas/ai.ts +5 -3
  1672. package/lib/routes/ucas/rader.ts +4 -4
  1673. package/lib/routes/uchicago/current.ts +5 -3
  1674. package/lib/routes/udn/breaking-news.ts +6 -4
  1675. package/lib/routes/udn/global/index.ts +5 -3
  1676. package/lib/routes/udn/global/tag.ts +5 -3
  1677. package/lib/routes/uestc/auto.ts +5 -3
  1678. package/lib/routes/uestc/cqe.ts +8 -5
  1679. package/lib/routes/uestc/gr.ts +5 -3
  1680. package/lib/routes/uestc/jwc.ts +8 -5
  1681. package/lib/routes/uestc/news.ts +8 -5
  1682. package/lib/routes/uestc/scse.ts +5 -3
  1683. package/lib/routes/uestc/sice.ts +5 -3
  1684. package/lib/routes/uestc/sise.ts +8 -5
  1685. package/lib/routes/uibe/hr.ts +5 -3
  1686. package/lib/routes/ulapia/research.ts +5 -3
  1687. package/lib/routes/unraid/community-apps.ts +5 -3
  1688. package/lib/routes/unusualwhales/news.ts +5 -3
  1689. package/lib/routes/upc/yjs.ts +5 -3
  1690. package/lib/routes/uptimerobot/rss.ts +11 -8
  1691. package/lib/routes/uraaka-joshi/uraaka-joshi-user.ts +5 -3
  1692. package/lib/routes/uraaka-joshi/uraaka-joshi.ts +6 -4
  1693. package/lib/routes/urbandictionary/random.ts +6 -4
  1694. package/lib/routes/usenix/loginonline.ts +63 -0
  1695. package/lib/routes/usenix/usenix.ts +5 -3
  1696. package/lib/routes/ustb/tj/news.ts +1 -1
  1697. package/lib/routes/ustb/yjsy/news.ts +5 -3
  1698. package/lib/routes/ustb/yzxc/tzgg.ts +5 -3
  1699. package/lib/routes/ustc/eeis.ts +8 -5
  1700. package/lib/routes/ustc/gs.ts +8 -5
  1701. package/lib/routes/ustc/index.ts +6 -4
  1702. package/lib/routes/ustc/job.ts +6 -4
  1703. package/lib/routes/ustc/jwc.ts +6 -4
  1704. package/lib/routes/ustc/math.ts +94 -0
  1705. package/lib/routes/ustc/sist.ts +8 -5
  1706. package/lib/routes/utgd/category.ts +7 -5
  1707. package/lib/routes/utgd/timeline.ts +6 -4
  1708. package/lib/routes/utgd/topic.ts +9 -6
  1709. package/lib/routes/uw/gix/news.ts +5 -3
  1710. package/lib/routes/v1tx/index.ts +6 -4
  1711. package/lib/routes/v2ex/post.ts +5 -3
  1712. package/lib/routes/v2rayshare/index.ts +6 -4
  1713. package/lib/routes/vcb-s/category.ts +6 -4
  1714. package/lib/routes/vcb-s/index.ts +7 -5
  1715. package/lib/routes/verfghbw/press.ts +6 -4
  1716. package/lib/routes/vimeo/category.ts +1 -1
  1717. package/lib/routes/vimeo/channel.ts +6 -4
  1718. package/lib/routes/vimeo/usr-videos.ts +2 -2
  1719. package/lib/routes/vocus/publication.ts +5 -3
  1720. package/lib/routes/vom/featured.ts +6 -4
  1721. package/lib/routes/wallhaven/index.ts +5 -3
  1722. package/lib/routes/wallpaperhub/index.ts +7 -5
  1723. package/lib/routes/wallstreetcn/hot.ts +5 -3
  1724. package/lib/routes/wallstreetcn/live.ts +7 -5
  1725. package/lib/routes/wallstreetcn/news.ts +5 -3
  1726. package/lib/routes/wanqu/news.ts +5 -3
  1727. package/lib/routes/warthunder/news.ts +6 -4
  1728. package/lib/routes/watasuke/blog.ts +42 -0
  1729. package/lib/routes/watasuke/namespace.ts +7 -0
  1730. package/lib/routes/web/articles.ts +25 -0
  1731. package/lib/routes/web/blog.ts +25 -0
  1732. package/lib/routes/web/namespace.ts +6 -0
  1733. package/lib/routes/web/series.ts +32 -0
  1734. package/lib/routes/web/utils.ts +68 -0
  1735. package/lib/routes/wechat/announce.ts +5 -3
  1736. package/lib/routes/wechat/ce.ts +5 -3
  1737. package/lib/routes/wechat/data258.ts +8 -5
  1738. package/lib/routes/wechat/feeddd.ts +8 -12
  1739. package/lib/routes/wechat/tgchannel.ts +1 -1
  1740. package/lib/routes/weekendhk/posts.ts +6 -4
  1741. package/lib/routes/weibo/friends.ts +8 -5
  1742. package/lib/routes/weibo/group.ts +2 -1
  1743. package/lib/routes/weibo/oasis/user.ts +6 -4
  1744. package/lib/routes/weibo/search/hot.ts +6 -6
  1745. package/lib/routes/weibo/super-index.ts +6 -4
  1746. package/lib/routes/weibo/user.ts +6 -4
  1747. package/lib/routes/wfdf/news.ts +5 -3
  1748. package/lib/routes/wfu/jwc.ts +5 -3
  1749. package/lib/routes/wfu/news.ts +7 -5
  1750. package/lib/routes/whitehouse/briefing-room.ts +6 -4
  1751. package/lib/routes/whitehouse/ostp.ts +5 -3
  1752. package/lib/routes/who/news-room.ts +6 -4
  1753. package/lib/routes/who/news.ts +6 -4
  1754. package/lib/routes/who/speeches.ts +6 -4
  1755. package/lib/routes/whu/gs/index.ts +6 -4
  1756. package/lib/routes/whu/news.ts +1 -1
  1757. package/lib/routes/whu/util.ts +1 -1
  1758. package/lib/routes/wikinews/index.ts +5 -3
  1759. package/lib/routes/winstall/update.ts +6 -4
  1760. package/lib/routes/wise/pair.ts +1 -1
  1761. package/lib/routes/wizfile/index.ts +5 -3
  1762. package/lib/routes/wmc-bj/publish.ts +1 -1
  1763. package/lib/routes/wmpvp/index.ts +28 -15
  1764. package/lib/routes/wnacg/index.ts +9 -6
  1765. package/lib/routes/wordpress/index.ts +172 -0
  1766. package/lib/routes/wordpress/namespace.ts +8 -0
  1767. package/lib/routes/wordpress/util.ts +307 -0
  1768. package/lib/routes/worldjournal/index.ts +6 -4
  1769. package/lib/routes/woshipm/popular.ts +6 -4
  1770. package/lib/routes/woshipm/user-article.ts +5 -3
  1771. package/lib/routes/woshipm/wen.ts +5 -3
  1772. package/lib/routes/wsj/utils.ts +1 -1
  1773. package/lib/routes/wtu/job.ts +5 -3
  1774. package/lib/routes/wyzxwk/article.ts +5 -3
  1775. package/lib/routes/x-mol/news.ts +7 -5
  1776. package/lib/routes/x6d/index.ts +79 -37
  1777. package/lib/routes/xboxfan/news.ts +5 -3
  1778. package/lib/routes/xianbao/index.ts +142 -0
  1779. package/lib/routes/xianbao/namespace.ts +6 -0
  1780. package/lib/routes/xiaoheihe/add2cart.ts +63 -0
  1781. package/lib/routes/xiaoheihe/discount.ts +102 -0
  1782. package/lib/routes/xiaoheihe/namespace.ts +6 -0
  1783. package/lib/routes/xiaoheihe/news.ts +60 -0
  1784. package/lib/routes/xiaoheihe/user.ts +69 -0
  1785. package/lib/routes/xiaoheihe/util.ts +75 -0
  1786. package/lib/routes/xiaohongshu/board.ts +5 -3
  1787. package/lib/routes/xiaohongshu/notes.ts +6 -4
  1788. package/lib/routes/xiaohongshu/user.ts +3 -2
  1789. package/lib/routes/xiaomiyoupin/crowdfunding.ts +6 -4
  1790. package/lib/routes/xiaomiyoupin/latest.ts +5 -3
  1791. package/lib/routes/xiaomiyoupin/utils.ts +1 -1
  1792. package/lib/routes/xiaote/index.ts +5 -3
  1793. package/lib/routes/xiaoyuzhou/pickup.ts +6 -4
  1794. package/lib/routes/xiaoyuzhou/podcast.ts +5 -3
  1795. package/lib/routes/xiaozhuanlan/column.ts +5 -3
  1796. package/lib/routes/xinpianchang/util.ts +1 -1
  1797. package/lib/routes/xjtu/dean.ts +22 -23
  1798. package/lib/routes/xjtu/ee.ts +5 -3
  1799. package/lib/routes/xjtu/gs/tzgg.ts +5 -3
  1800. package/lib/routes/xjtu/job.ts +1 -1
  1801. package/lib/routes/xjtu/std.ts +1 -1
  1802. package/lib/routes/xkb/index.ts +1 -1
  1803. package/lib/routes/xmanhua/index.ts +5 -3
  1804. package/lib/routes/xmnn/epaper.ts +6 -4
  1805. package/lib/routes/xsijishe/forum.ts +1 -1
  1806. package/lib/routes/xsijishe/rank.ts +2 -1
  1807. package/lib/routes/xueqiu/column.ts +5 -3
  1808. package/lib/routes/xueqiu/favorite.ts +5 -3
  1809. package/lib/routes/xueqiu/hots.ts +5 -3
  1810. package/lib/routes/xueqiu/snb.ts +5 -3
  1811. package/lib/routes/xueqiu/stock-comments.ts +6 -4
  1812. package/lib/routes/xueqiu/stock-info.ts +6 -4
  1813. package/lib/routes/xueqiu/timeline.ts +94 -0
  1814. package/lib/routes/xueqiu/today.ts +5 -3
  1815. package/lib/routes/xueqiu/user-stock.ts +19 -20
  1816. package/lib/routes/xueqiu/user.ts +10 -7
  1817. package/lib/routes/xunhupay/index.ts +24 -25
  1818. package/lib/routes/xys/new.ts +6 -4
  1819. package/lib/routes/xyzrank/index.ts +7 -5
  1820. package/lib/routes/yahoo/news/tw/index.ts +7 -4
  1821. package/lib/routes/yahoo/news/tw/provider-helper.ts +2 -1
  1822. package/lib/routes/yahoo/news/tw/provider.ts +2 -1
  1823. package/lib/routes/yahoo/news/tw/utils.ts +1 -1
  1824. package/lib/routes/yahoo/news/us/index.ts +2 -1
  1825. package/lib/routes/yande/namespace.ts +7 -0
  1826. package/lib/{routes-deprecated/yande.re/post-popular-recent.js → routes/yande/post.ts} +27 -6
  1827. package/lib/routes/ycwb/index.ts +1 -1
  1828. package/lib/routes/ygkkk/namespace.ts +6 -0
  1829. package/lib/routes/ygkkk/rss.ts +48 -0
  1830. package/lib/routes/yicai/author.ts +6 -4
  1831. package/lib/routes/yicai/brief.ts +5 -3
  1832. package/lib/routes/yicai/dt.ts +1 -1
  1833. package/lib/routes/yicai/feed.ts +6 -4
  1834. package/lib/routes/yicai/headline.ts +5 -3
  1835. package/lib/routes/yicai/latest.ts +5 -3
  1836. package/lib/routes/yicai/news.ts +6 -4
  1837. package/lib/routes/yicai/utils.ts +1 -1
  1838. package/lib/routes/yicai/video.ts +6 -4
  1839. package/lib/routes/yicai/vip.ts +6 -4
  1840. package/lib/routes/ymgal/game.ts +6 -4
  1841. package/lib/routes/yoasobi-music/info.ts +7 -5
  1842. package/lib/routes/yoasobi-music/live.ts +6 -4
  1843. package/lib/routes/yoasobi-music/media.ts +6 -4
  1844. package/lib/routes/yomiuri/news.ts +5 -3
  1845. package/lib/routes/yomujp/level.ts +6 -4
  1846. package/lib/routes/youku/channel.ts +7 -5
  1847. package/lib/routes/youtube/channel.ts +16 -7
  1848. package/lib/routes/youtube/charts.ts +5 -12
  1849. package/lib/routes/youtube/community.ts +2 -10
  1850. package/lib/routes/youtube/custom.ts +14 -8
  1851. package/lib/routes/youtube/live.ts +2 -1
  1852. package/lib/routes/youtube/playlist.ts +2 -1
  1853. package/lib/routes/youtube/subscriptions.ts +11 -14
  1854. package/lib/routes/youtube/user.ts +8 -5
  1855. package/lib/routes/youtube/utils.ts +112 -102
  1856. package/lib/routes/youzhiyouxing/materials.ts +6 -4
  1857. package/lib/routes/yuque/book.ts +5 -3
  1858. package/lib/routes/yxdown/recommend.ts +5 -3
  1859. package/lib/routes/yxdzqb/index.ts +6 -4
  1860. package/lib/routes/yxrb/home.ts +6 -4
  1861. package/lib/routes/yyets/today.ts +5 -3
  1862. package/lib/routes/yystv/docs.ts +5 -3
  1863. package/lib/routes/zagg/new-arrivals.ts +1 -1
  1864. package/lib/routes/zaker/index.ts +6 -4
  1865. package/lib/routes/zaobao/util.ts +1 -1
  1866. package/lib/routes/zaozao/article.ts +6 -4
  1867. package/lib/routes/zcool/discover.ts +1 -1
  1868. package/lib/routes/zcool/user.ts +14 -6
  1869. package/lib/routes/zcool/utils.ts +1 -1
  1870. package/lib/routes/zhibo8/luxiang.ts +6 -4
  1871. package/lib/routes/zhibo8/more.ts +11 -5
  1872. package/lib/routes/zhihu/activities.ts +10 -7
  1873. package/lib/routes/zhihu/answers.ts +5 -3
  1874. package/lib/routes/zhihu/collection.ts +6 -4
  1875. package/lib/routes/zhihu/daily-section.ts +6 -4
  1876. package/lib/routes/zhihu/daily.ts +9 -7
  1877. package/lib/routes/zhihu/hotlist.ts +5 -3
  1878. package/lib/routes/zhihu/pin/daily.ts +6 -4
  1879. package/lib/routes/zhihu/pin/hotlist.ts +5 -3
  1880. package/lib/routes/zhihu/pin/people.ts +5 -3
  1881. package/lib/routes/zhihu/posts.ts +5 -3
  1882. package/lib/routes/zhihu/question.ts +6 -4
  1883. package/lib/routes/zhihu/timeline.ts +13 -8
  1884. package/lib/routes/zhihu/topic.ts +6 -4
  1885. package/lib/routes/zhihu/utils.ts +6 -2
  1886. package/lib/routes/zhihu/weekly.ts +5 -3
  1887. package/lib/routes/zhihu/xhu/activities.ts +6 -4
  1888. package/lib/routes/zhihu/xhu/answers.ts +6 -4
  1889. package/lib/routes/zhihu/xhu/auth.ts +7 -15
  1890. package/lib/routes/zhihu/xhu/collection.ts +5 -3
  1891. package/lib/routes/zhihu/xhu/question.ts +6 -4
  1892. package/lib/routes/zhihu/xhu/topic.ts +6 -4
  1893. package/lib/routes/zhihu/xhu/zhuanlan.ts +6 -4
  1894. package/lib/routes/zhihu/zhuanlan.ts +5 -3
  1895. package/lib/routes/zhitongcaijing/index.ts +1 -1
  1896. package/lib/routes/zhiy/letter.ts +5 -3
  1897. package/lib/routes/zhiy/post.ts +6 -4
  1898. package/lib/routes/zhonglun/index.ts +135 -0
  1899. package/lib/routes/zhonglun/namespace.ts +8 -0
  1900. package/lib/routes/zhonglun/templates/description.art +7 -0
  1901. package/lib/routes/zhubai/index.ts +4 -3
  1902. package/lib/routes/zhubai/top20.ts +7 -5
  1903. package/lib/routes/zhujiceping/rss.ts +8 -5
  1904. package/lib/routes/zhuwang/index.ts +6 -4
  1905. package/lib/routes/zimuxia/portfolio.ts +5 -3
  1906. package/lib/routes/zjol/paper.ts +2 -1
  1907. package/lib/routes/zju/cst/index.ts +4 -1
  1908. package/lib/routes/zjut/da/index.ts +92 -0
  1909. package/lib/routes/zjut/namespace.ts +6 -0
  1910. package/lib/routes/zjut/news.ts +82 -0
  1911. package/lib/routes/zodgame/forum.ts +3 -2
  1912. package/lib/routes/zotero/versions.ts +5 -3
  1913. package/lib/routes/zrblog/rss.ts +8 -5
  1914. package/lib/routes/zsxq/group.ts +63 -0
  1915. package/lib/routes/zsxq/namespace.ts +6 -0
  1916. package/lib/routes/zsxq/types.ts +149 -0
  1917. package/lib/routes/zsxq/user.ts +58 -0
  1918. package/lib/routes/zsxq/utils.ts +70 -0
  1919. package/lib/routes/zuel/notice.ts +5 -3
  1920. package/lib/routes/zuvio/utils.ts +1 -1
  1921. package/lib/routes/zyshow/index.ts +1 -1
  1922. package/lib/routes-deprecated/disqus/posts.js +1 -1
  1923. package/lib/routes-deprecated/fanfou/favorites.js +1 -1
  1924. package/lib/routes-deprecated/fanfou/home-timeline.js +1 -1
  1925. package/lib/routes-deprecated/fanfou/public-timeline.js +1 -1
  1926. package/lib/routes-deprecated/fanfou/user-timeline.js +1 -1
  1927. package/lib/routes-deprecated/index.js +1 -1
  1928. package/lib/routes-deprecated/lastfm/loved.js +1 -1
  1929. package/lib/routes-deprecated/lastfm/recent.js +1 -1
  1930. package/lib/routes-deprecated/lastfm/top.js +1 -1
  1931. package/lib/routes.test.ts +78 -0
  1932. package/lib/setup.test.ts +248 -0
  1933. package/lib/types.ts +160 -7
  1934. package/lib/utils/common-config.test.ts +0 -18
  1935. package/lib/utils/common-config.ts +6 -6
  1936. package/lib/utils/git-hash.ts +3 -3
  1937. package/lib/utils/got-deprecated.ts +79 -0
  1938. package/lib/utils/got.test.ts +49 -61
  1939. package/lib/utils/got.ts +84 -81
  1940. package/lib/utils/helpers.ts +1 -1
  1941. package/lib/utils/logger.ts +1 -1
  1942. package/lib/utils/ofetch.test.ts +51 -0
  1943. package/lib/utils/ofetch.ts +17 -0
  1944. package/lib/utils/proxy/index.ts +19 -5
  1945. package/lib/utils/puppeteer-utils.test.ts +3 -3
  1946. package/lib/utils/puppeteer.test.ts +2 -2
  1947. package/lib/utils/puppeteer.ts +1 -24
  1948. package/lib/utils/rand-user-agent.test.ts +5 -20
  1949. package/lib/utils/rand-user-agent.ts +2 -1
  1950. package/lib/utils/render.ts +3 -1
  1951. package/lib/utils/request-rewriter/fetch.ts +50 -0
  1952. package/lib/utils/request-rewriter/get.ts +77 -0
  1953. package/lib/utils/request-rewriter/index.ts +19 -0
  1954. package/lib/utils/request-rewriter.test.ts +137 -0
  1955. package/lib/utils/rss-parser.test.ts +4 -12
  1956. package/lib/utils/timezone.ts +1 -1
  1957. package/lib/utils/wechat-mp.test.ts +412 -50
  1958. package/lib/utils/wechat-mp.ts +448 -79
  1959. package/lib/views/atom.tsx +49 -0
  1960. package/lib/views/error.tsx +75 -21
  1961. package/lib/views/index.tsx +2 -2
  1962. package/lib/views/rss.tsx +54 -0
  1963. package/lib/views/{rss3-ums.ts → rss3.ts} +2 -2
  1964. package/package.json +74 -75
  1965. package/lib/errors/not-found.ts +0 -3
  1966. package/lib/errors/reject.ts +0 -3
  1967. package/lib/errors/request-in-progress.ts +0 -3
  1968. package/lib/routes/500px/user.ts +0 -58
  1969. package/lib/routes/douban/other/latest-book.ts +0 -38
  1970. package/lib/routes/twitter/api-fallback-common.ts +0 -17
  1971. package/lib/routes/twitter/collection.ts +0 -86
  1972. package/lib/routes/twitter/followings.ts +0 -75
  1973. package/lib/routes/twitter/web-api/media.ts +0 -25
  1974. package/lib/routes/twitter/web-api/search.ts +0 -18
  1975. package/lib/routes/twitter/web-api/tweet.ts +0 -27
  1976. package/lib/routes/twitter/web-api/user.ts +0 -30
  1977. package/lib/routes/wechat/feeds.ts +0 -23
  1978. package/lib/routes/wechat/wxnmh.ts +0 -45
  1979. package/lib/routes/zhangyoubao/index.ts +0 -70
  1980. package/lib/routes/zhangyoubao/templates/article.art +0 -1
  1981. package/lib/routes-deprecated/005tv/zx.js +0 -24
  1982. package/lib/routes-deprecated/1x/index.js +0 -69
  1983. package/lib/routes-deprecated/blogs/wordpress.js +0 -50
  1984. package/lib/routes-deprecated/fanxinzhui/latest.js +0 -52
  1985. package/lib/routes-deprecated/infzm/news.js +0 -62
  1986. package/lib/routes-deprecated/ipsw/index.js +0 -107
  1987. package/lib/routes-deprecated/kaopunews/index.js +0 -28
  1988. package/lib/routes-deprecated/manxiaosi/book.js +0 -49
  1989. package/lib/routes-deprecated/miniflux/get-feeds.js +0 -90
  1990. package/lib/routes-deprecated/modian/zhongchou.js +0 -57
  1991. package/lib/routes-deprecated/pcr/news-cn.js +0 -28
  1992. package/lib/routes-deprecated/pcr/news-tw.js +0 -67
  1993. package/lib/routes-deprecated/pediy/topic.js +0 -117
  1994. package/lib/routes-deprecated/pediy/utils.js +0 -27
  1995. package/lib/routes-deprecated/steam/search.js +0 -57
  1996. package/lib/routes-deprecated/xiaoheihe/discount.js +0 -71
  1997. package/lib/routes-deprecated/xiaoheihe/news.js +0 -51
  1998. package/lib/routes-deprecated/xiaoheihe/user.js +0 -51
  1999. package/lib/utils/request-wrapper.test.ts +0 -365
  2000. package/lib/utils/request-wrapper.ts +0 -104
  2001. package/lib/views/atom.art +0 -86
  2002. package/lib/views/rss.art +0 -60
  2003. /package/lib/routes/twitter/{web-api → api/mobile-api}/constants.ts +0 -0
@@ -0,0 +1,248 @@
1
+ import { afterAll, afterEach } from 'vitest';
2
+ import { setupServer } from 'msw/node';
3
+ import { http, HttpResponse } from 'msw';
4
+
5
+ const genWeChatMpPage = (rich_media_content: string, scripts: string[] | string) => {
6
+ if (!Array.isArray(scripts)) {
7
+ scripts = [scripts];
8
+ }
9
+ let pageHtml = `
10
+ <meta name="description" content="summary" />
11
+ <meta name="author" content="author" />
12
+ <meta property="og:title" content="title" />
13
+ <meta property="og:image" content="https://mmbiz.qpic.cn/rsshub_test/og_img_1/0?wx_fmt=jpeg" />
14
+ <meta property="twitter:card" content="summary" />
15
+ <div class="rich_media_content" id="js_content" style="visibility: hidden;">
16
+ ${rich_media_content}
17
+ </div>
18
+ <div class="wx_follow_nickname">mpName</div>`;
19
+ for (const script of scripts) {
20
+ pageHtml += `
21
+ <script type="text/javascript" nonce="000000000">
22
+ ${script}
23
+ </script>`;
24
+ }
25
+ return pageHtml;
26
+ };
27
+
28
+ const server = setupServer(
29
+ http.post(`https://api.openai.mock/v1/chat/completions`, () =>
30
+ HttpResponse.json({
31
+ choices: [
32
+ {
33
+ message: {
34
+ content: 'Summary of the article.',
35
+ },
36
+ },
37
+ ],
38
+ })
39
+ ),
40
+ http.get(`http://rsshub.test/config`, () =>
41
+ HttpResponse.json({
42
+ UA: 'test',
43
+ })
44
+ ),
45
+ http.get(`http://rsshub.test/buildData`, () =>
46
+ HttpResponse.text(`<div class="content">
47
+ <ul>
48
+ <li>
49
+ <a href="/1">1</a>
50
+ <div class="description">RSSHub1</div>
51
+ </li>
52
+ <li>
53
+ <a href="/2">2</a>
54
+ <div class="description">RSSHub2</div>
55
+ </li>
56
+ </ul>
57
+ </div>`)
58
+ ),
59
+ http.get(`https://mp.weixin.qq.com/rsshub_test/appMsg`, () =>
60
+ HttpResponse.text(
61
+ genWeChatMpPage(
62
+ `
63
+ description
64
+ <iframe class="video_iframe rich_pages" data-ratio="1.7777777777777777" data-w="864"data-src="https://v.qq.com/rsshub_test/?vid=fake"></iframe>
65
+ <mpvoice name="title" voice_encode_fileid="rsshub_test"></mpvoice>
66
+ `,
67
+ `
68
+ var item_show_type = "0";
69
+ var real_item_show_type = "0";
70
+ var appmsg_type = "9";
71
+ var ct = "${1_636_626_300}";
72
+ var msg_source_url = "https://mp.weixin.qq.com/rsshub_test/fake";
73
+ window.ip_wording = {
74
+ countryName: '中国',
75
+ countryId: '156',
76
+ provinceName: '福建',
77
+ provinceId: '',
78
+ cityName: '',
79
+ cityId: ''
80
+ };`
81
+ )
82
+ )
83
+ ),
84
+ http.get(`https://mp.weixin.qq.com/rsshub_test/img`, () =>
85
+ HttpResponse.text(
86
+ genWeChatMpPage('fake_description', [
87
+ `
88
+ var item_show_type = "8";
89
+ var real_item_show_type = "8";
90
+ var appmsg_type = "9";
91
+ var ct = "${1_636_626_300}";
92
+ `,
93
+ `
94
+ window.picture_page_info_list = [
95
+ {
96
+ cdn_url: 'https://mmbiz.qpic.cn/rsshub_test/fake_img_1/0?wx_fmt=jpeg',
97
+ },
98
+ {
99
+ cdn_url: 'https://mmbiz.qpic.cn/rsshub_test/fake_img_2/0?wx_fmt=jpeg',
100
+ },
101
+ ].slice(0, 20);
102
+ `,
103
+ ])
104
+ )
105
+ ),
106
+ http.get(`https://mp.weixin.qq.com/rsshub_test/audio`, () =>
107
+ HttpResponse.text(
108
+ genWeChatMpPage('fake_description', [
109
+ `
110
+ var item_show_type = "7";
111
+ var real_item_show_type = "7";
112
+ var appmsg_type = "9";
113
+ var ct = "${1_636_626_300}";
114
+ `,
115
+ `
116
+ reportOpt = {
117
+ voiceid: "",
118
+ uin: "",
119
+ biz: "",
120
+ mid: "",
121
+ idx: ""
122
+ };
123
+ window.cgiData = {
124
+ voiceid: "rsshub_test_voiceid_1",
125
+ duration: "6567" * 1,
126
+ };
127
+ `,
128
+ ])
129
+ )
130
+ ),
131
+ http.get(`https://mp.weixin.qq.com/rsshub_test/video`, () =>
132
+ HttpResponse.text(
133
+ genWeChatMpPage(
134
+ 'fake_description',
135
+ `
136
+ var item_show_type = "5";
137
+ var real_item_show_type = "5";
138
+ var appmsg_type = "9";
139
+ var ct = "${1_636_626_300}";
140
+ `
141
+ )
142
+ )
143
+ ),
144
+ http.get(`https://mp.weixin.qq.com/rsshub_test/fallback`, () =>
145
+ HttpResponse.text(
146
+ genWeChatMpPage(
147
+ 'fake_description',
148
+ `
149
+ var item_show_type = "99988877";
150
+ var real_item_show_type = "99988877";
151
+ var appmsg_type = "9";
152
+ var ct = "${1_636_626_300}";
153
+ `
154
+ )
155
+ )
156
+ ),
157
+ http.get(`https://mp.weixin.qq.com/s/rsshub_test`, () => HttpResponse.redirect(`https://mp.weixin.qq.com/rsshub_test/fallback`)),
158
+ http.get(`https://mp.weixin.qq.com/s?__biz=rsshub_test&mid=1&idx=1&sn=1`, () => HttpResponse.redirect(`https://mp.weixin.qq.com/rsshub_test/fallback`)),
159
+ http.get(`https://mp.weixin.qq.com/mp/rsshub_test/waf`, () =>
160
+ HttpResponse.text(
161
+ `<html>
162
+ <head>
163
+ <title>Title</title>
164
+ <script>console.log</script>
165
+ </head>
166
+ <body class="zh_CN " ontouchstart="">
167
+ <script>console.log</script>
168
+ <style>.style{}</style>
169
+ <div class="weui-msg">
170
+ <div id="tips" style="display:none;" class="top_tips warning"></div>
171
+ <div class="weui-msg__icon-area">
172
+ <i class="weui-icon-info-circle weui-icon_msg"></i>
173
+ </div>
174
+ <div class="weui-msg__text-area pc-area">
175
+ <h2 class="weui-msg__title">环境异常</h2>
176
+ <p class="weui-msg__desc">当前环境异常,完成验证后即可继续访问。</p>
177
+ </div>
178
+ <div class="weui-msg__opr-area">
179
+ <p class="weui-btn-area">
180
+ <a class="weui-btn weui-btn_primary" id="js_verify">去验证</a>
181
+ </p>
182
+ </div>
183
+ </div>
184
+ </body></html>`
185
+ )
186
+ ),
187
+ http.get(`https://mp.weixin.qq.com/s/rsshub_test_hit_waf`, () => HttpResponse.redirect(`https://mp.weixin.qq.com/mp/rsshub_test/waf`)),
188
+ http.get(`https://mp.weixin.qq.com/s/unknown_page`, () =>
189
+ HttpResponse.text(
190
+ `<html>
191
+ <head>
192
+ <title>Title</title>
193
+ <script>console.log</script>
194
+ </head>
195
+ <body class="zh_CN " ontouchstart="">
196
+ <script>console.log</script>
197
+ <style>.style{}</style>
198
+ <p>
199
+ Unknown paragraph
200
+ </p>
201
+ </body></html>`
202
+ )
203
+ ),
204
+ http.get(`https://mp.weixin.qq.com/s/deleted_page`, () =>
205
+ HttpResponse.text(
206
+ `<html>
207
+ <head>
208
+ <title>Title</title>
209
+ <script>console.log</script>
210
+ </head>
211
+ <body class="zh_CN " ontouchstart="">
212
+ <script>console.log</script>
213
+ <style>.style{}</style>
214
+ <p>
215
+ 该内容已被发布者删除
216
+ </p>
217
+ </body></html>`
218
+ )
219
+ ),
220
+ http.get(`https://mp.weixin.qq.com/s/rsshub_test_redirect_no_location`, () => HttpResponse.text('', { status: 302 })),
221
+ http.get(`https://mp.weixin.qq.com/s/rsshub_test_recursive_redirect`, () => HttpResponse.redirect(`https://mp.weixin.qq.com/s/rsshub_test_recursive_redirect`)),
222
+ http.get(`http://rsshub.test/headers`, ({ request }) =>
223
+ HttpResponse.json({
224
+ ...Object.fromEntries(request.headers.entries()),
225
+ })
226
+ ),
227
+ http.post(`http://rsshub.test/form-post`, async ({ request }) => {
228
+ const formData = await request.formData();
229
+ return HttpResponse.json({
230
+ test: formData.get('test'),
231
+ });
232
+ }),
233
+ http.post(`http://rsshub.test/json-post`, async ({ request }) => {
234
+ const jsonData = (await request.json()) as {
235
+ test: string;
236
+ };
237
+ return HttpResponse.json({
238
+ test: jsonData?.test,
239
+ });
240
+ }),
241
+ http.get(`http://rsshub.test/rss`, () => HttpResponse.text('<rss version="2.0"><channel><item></item></channel></rss>'))
242
+ );
243
+ server.listen();
244
+
245
+ afterAll(() => server.close());
246
+ afterEach(() => server.resetHandlers());
247
+
248
+ export default server;
package/lib/types.ts CHANGED
@@ -1,5 +1,33 @@
1
1
  import type { Context } from 'hono';
2
2
 
3
+ // Make sure it's synchronise with scripts/workflow/data.ts
4
+ // and lib/routes/rsshub/routes.ts
5
+ type Category =
6
+ | 'social-media'
7
+ | 'new-media'
8
+ | 'traditional-media'
9
+ | 'bbs'
10
+ | 'blog'
11
+ | 'programming'
12
+ | 'design'
13
+ | 'live'
14
+ | 'multimedia'
15
+ | 'picture'
16
+ | 'anime'
17
+ | 'program-update'
18
+ | 'university'
19
+ | 'forecast'
20
+ | 'travel'
21
+ | 'shopping'
22
+ | 'game'
23
+ | 'reading'
24
+ | 'government'
25
+ | 'study'
26
+ | 'journal'
27
+ | 'finance'
28
+ | 'other';
29
+
30
+ // rss
3
31
  export type DataItem = {
4
32
  title: string;
5
33
  description?: string;
@@ -23,6 +51,8 @@ export type DataItem = {
23
51
  enclosure_title?: string;
24
52
  enclosure_length?: number;
25
53
  itunes_duration?: number | string;
54
+ itunes_item_image?: string;
55
+ media?: Record<string, Record<string, string>>;
26
56
 
27
57
  _extra?: Record<string, any> & {
28
58
  links?: {
@@ -44,53 +74,137 @@ export type Data = {
44
74
  language?: string;
45
75
  feedLink?: string;
46
76
  lastBuildDate?: string;
77
+ itunes_author?: string;
78
+ itunes_category?: string;
79
+ itunes_explicit?: string | boolean;
80
+ id?: string;
81
+
82
+ atomlink?: string;
83
+ ttl?: number;
47
84
  };
48
85
 
86
+ // namespace
49
87
  interface NamespaceItem {
88
+ /**
89
+ * The human-readable name of the namespace, should be the same as the secondary domain of the main website,
90
+ * which will be used as the level 2 heading in the documentation
91
+ */
50
92
  name: string;
93
+
94
+ /**
95
+ * The website URL without protocol that corresponds
96
+ */
51
97
  url?: string;
52
- categories?: string[];
98
+
99
+ /**
100
+ * The classification of the namespace, which will be written into the corresponding classification document
101
+ */
102
+ categories?: Category[];
103
+
104
+ /**
105
+ * Hints and additional explanations for users using this namespace, it will be inserted into the documentation
106
+ */
53
107
  description?: string;
54
108
  }
55
109
 
56
110
  interface Namespace extends NamespaceItem {
111
+ /** Documentation in languages other than English, it will be used to generate multilingual documents */
57
112
  ja?: NamespaceItem;
113
+ /** Documentation in languages other than English, it will be used to generate multilingual documents */
58
114
  zh?: NamespaceItem;
115
+ /** Documentation in languages other than English, it will be used to generate multilingual documents */
59
116
  'zh-TW'?: NamespaceItem;
60
117
  }
61
118
 
62
119
  export type { Namespace };
63
120
 
121
+ // route
64
122
  interface RouteItem {
123
+ /**
124
+ * The route path, using [Hono routing](https://hono.dev/api/routing) syntax
125
+ */
65
126
  path: string | string[];
127
+
128
+ /**
129
+ * The human-readable name of the route, which will be used as the level 3 heading in the documentation
130
+ * and radar rule title (can be overridden by `RadarRule[].title`)
131
+ */
66
132
  name: string;
133
+
134
+ /**
135
+ * The website URL without protocol that corresponds
136
+ */
67
137
  url?: string;
138
+
139
+ /**
140
+ * The GitHub handle of the people responsible for maintaining this route
141
+ */
68
142
  maintainers: string[];
143
+
144
+ /**
145
+ * The handler function of the route
146
+ */
69
147
  handler: (ctx: Context) => Promise<Data> | Data;
148
+
149
+ /**
150
+ * An example URL of the route
151
+ */
70
152
  example: string;
153
+
154
+ /**
155
+ * The description of the route parameters
156
+ */
71
157
  parameters?: Record<string, string>;
158
+
159
+ /**
160
+ * Hints and additional explanations for users using this route, it will be appended after the route component, supports markdown
161
+ */
72
162
  description?: string;
73
- categories?: string[];
74
163
 
75
- features: {
164
+ /**
165
+ * The classification of the route, which will be written into the corresponding classification documentation
166
+ */
167
+ categories?: Category[];
168
+
169
+ /**
170
+ * Special features of the route, such as what configuration items it depends on, whether it is strict anti-crawl, whether it supports a certain function and so on
171
+ */
172
+ features?: {
173
+ /** The extra configuration items required by the route */
76
174
  requireConfig?:
77
175
  | {
176
+ /** The environment variable name */
78
177
  name: string;
178
+ /** Whether the environment variable is optional */
79
179
  optional?: boolean;
180
+ /** The description of the environment variable */
80
181
  description: string;
81
182
  }[]
82
183
  | false;
184
+
185
+ /** set to `true` if the feed uses puppeteer */
83
186
  requirePuppeteer?: boolean;
187
+
188
+ /** set to `true` if the target website has an anti-crawler mechanism */
84
189
  antiCrawler?: boolean;
190
+
191
+ /** set to `true` if the feed has a radar rule */
85
192
  supportRadar?: boolean;
193
+
194
+ /** Set to `true` if the feed supports BitTorrent */
86
195
  supportBT?: boolean;
196
+
197
+ /** Set to `true` if the feed supports podcasts */
87
198
  supportPodcast?: boolean;
199
+
200
+ /** Set to `true` if the feed supports Sci-Hub */
88
201
  supportScihub?: boolean;
89
202
  };
90
- radar?: {
91
- source: string[];
92
- target?: string;
93
- };
203
+
204
+ /**
205
+ * The [RSSHub-Radar](https://github.com/DIYgod/RSSHub-Radar) rule of the route
206
+ */
207
+ radar?: RadarItem[];
94
208
  }
95
209
 
96
210
  interface Route extends RouteItem {
@@ -100,3 +214,42 @@ interface Route extends RouteItem {
100
214
  }
101
215
 
102
216
  export type { Route };
217
+
218
+ // radar
219
+ export type RadarItem = {
220
+ /**
221
+ * The overwriting title of the radar rule
222
+ */
223
+ title?: string;
224
+
225
+ /**
226
+ * The URL path to the corresponding documentation
227
+ */
228
+ docs?: string;
229
+
230
+ /**
231
+ * The source URL path of the radar rule
232
+ * @see https://docs.rsshub.app/joinus/new-radar#source
233
+ */
234
+ source: string[];
235
+
236
+ /**
237
+ * The target RSSHub subscription URL path of the radar rule
238
+ *
239
+ * Will use RouteItem.path if not specified
240
+ * @see https://docs.rsshub.app/joinus/new-radar#target
241
+ *
242
+ * Using `target` as a function is deprecated in RSSHub-Radar 2.0.19
243
+ * @see https://github.com/DIYgod/RSSHub-Radar/commit/5a97647f900bb2bca792787a322b2b1ca512e40b#diff-f84e3c1e16af314bc4ed7c706d7189844663cde9b5142463dc5c0db34c2e8d54L10
244
+ */
245
+ target?:
246
+ | string
247
+ | ((
248
+ /** The parameters matched from the `source` field */
249
+ params: any,
250
+ /** The current webpage URL string */
251
+ url: string,
252
+ /** @deprecated Temporary removed @see https://github.com/DIYgod/RSSHub-Radar/commit/e6079ea1a8c96e89b1b2c2aa6d13c7967788ca3b */
253
+ document: Document
254
+ ) => string);
255
+ };
@@ -1,6 +1,5 @@
1
1
  import { describe, expect, it } from 'vitest';
2
2
  import configUtils, { transElemText, replaceParams, getProp } from '@/utils/common-config';
3
- import nock from 'nock';
4
3
 
5
4
  describe('index', () => {
6
5
  it('transElemText', () => {
@@ -40,23 +39,6 @@ describe('index', () => {
40
39
  });
41
40
 
42
41
  it('buildData', async () => {
43
- nock('http://rsshub.test')
44
- .get('/buildData')
45
- .reply(() => [
46
- 200,
47
- `<div class="content">
48
- <ul>
49
- <li>
50
- <a href="/1">1</a>
51
- <div class="description">RSSHub1</div>
52
- </li>
53
- <li>
54
- <a href="/2">2</a>
55
- <div class="description">RSSHub2</div>
56
- </li>
57
- </ul>
58
- </div>`,
59
- ]);
60
42
  const data = await configUtils({
61
43
  link: 'http://rsshub.test/buildData',
62
44
  url: 'http://rsshub.test/buildData',
@@ -1,5 +1,5 @@
1
- import cheerio from 'cheerio';
2
- import got from '@/utils/got';
1
+ import { load } from 'cheerio';
2
+ import ofetch from '@/utils/ofetch';
3
3
  import iconv from 'iconv-lite';
4
4
 
5
5
  function transElemText($, prop) {
@@ -37,8 +37,8 @@ function getProp(data, prop, $) {
37
37
  }
38
38
 
39
39
  async function buildData(data) {
40
- const response = await got.get(data.url);
41
- const contentType = response.headers['content-type'] || '';
40
+ const response = await ofetch.raw(data.url);
41
+ const contentType = response.headers.get('content-type') || '';
42
42
  // 若没有指定编码,则默认utf-8
43
43
  let charset = 'utf-8';
44
44
  for (const attr of contentType.split(';')) {
@@ -47,8 +47,8 @@ async function buildData(data) {
47
47
  }
48
48
  }
49
49
  // @ts-expect-error custom property
50
- const responseData = charset === 'utf-8' ? response.data : iconv.decode((await got.get({ url: data.url, responseType: 'buffer' })).data, charset);
51
- const $ = cheerio.load(responseData);
50
+ const responseData = charset === 'utf-8' ? response._data : iconv.decode(await ofetch(data.url, { responseType: 'buffer' }), charset);
51
+ const $ = load(responseData);
52
52
  const $item = $(data.item.item);
53
53
  // 这里应该是可以通过参数注入一些代码的,不过应该无伤大雅
54
54
  return {
@@ -1,11 +1,11 @@
1
- import gitRevSync from 'git-rev-sync';
1
+ import { execSync } from 'child_process';
2
2
 
3
3
  let gitHash = process.env.HEROKU_SLUG_COMMIT?.slice(0, 8) || process.env.VERCEL_GIT_COMMIT_SHA?.slice(0, 8);
4
4
  let gitDate: Date | undefined;
5
5
  if (!gitHash) {
6
6
  try {
7
- gitHash = gitRevSync.short(undefined, 8);
8
- gitDate = gitRevSync.date();
7
+ gitHash = execSync('git rev-parse HEAD').toString().trim().slice(0, 8);
8
+ gitDate = new Date(execSync('git log -1 --format=%cd').toString().trim());
9
9
  } catch {
10
10
  gitHash = 'unknown';
11
11
  }
@@ -0,0 +1,79 @@
1
+ import logger from '@/utils/logger';
2
+ import { config } from '@/config';
3
+ import got, { CancelableRequest, Response as GotResponse, OptionsInit, Options, Got } from 'got';
4
+
5
+ type Response<T> = GotResponse<string> & {
6
+ data: T;
7
+ status: number;
8
+ };
9
+
10
+ type GotRequestFunction = {
11
+ (url: string | URL, options?: Options): CancelableRequest<Response<Record<string, any>>>;
12
+ <T>(url: string | URL, options?: Options): CancelableRequest<Response<T>>;
13
+ (options: Options): CancelableRequest<Response<Record<string, any>>>;
14
+ <T>(options: Options): CancelableRequest<Response<T>>;
15
+ };
16
+
17
+ // @ts-expect-error got instance with custom response type
18
+ const custom: {
19
+ all?: <T>(list: Array<Promise<T>>) => Promise<Array<T>>;
20
+ get: GotRequestFunction;
21
+ post: GotRequestFunction;
22
+ put: GotRequestFunction;
23
+ patch: GotRequestFunction;
24
+ head: GotRequestFunction;
25
+ delete: GotRequestFunction;
26
+ } & GotRequestFunction &
27
+ Got = got.extend({
28
+ retry: {
29
+ limit: config.requestRetry,
30
+ statusCodes: [400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511, 521, 522, 524],
31
+ },
32
+ hooks: {
33
+ beforeRetry: [
34
+ (err, count) => {
35
+ logger.error(`Request ${err.options.url} fail, retry attempt #${count}: ${err}`);
36
+ },
37
+ ],
38
+ beforeRedirect: [
39
+ (options, response) => {
40
+ logger.http(`Redirecting to ${options.url} for ${response.requestUrl}`);
41
+ },
42
+ ],
43
+ afterResponse: [
44
+ // @ts-expect-error custom response type
45
+ (response: Response<Record<string, any>>) => {
46
+ try {
47
+ response.data = typeof response.body === 'string' ? JSON.parse(response.body) : response.body;
48
+ } catch {
49
+ // @ts-expect-error for compatibility
50
+ response.data = response.body;
51
+ }
52
+ response.status = response.statusCode;
53
+ return response;
54
+ },
55
+ ],
56
+ init: [
57
+ (
58
+ options: OptionsInit & {
59
+ data?: string;
60
+ }
61
+ ) => {
62
+ // compatible with axios api
63
+ if (options && options.data) {
64
+ options.body = options.body || options.data;
65
+ }
66
+ },
67
+ ],
68
+ },
69
+ headers: {
70
+ 'user-agent': config.ua,
71
+ },
72
+ timeout: {
73
+ request: config.requestTimeout,
74
+ },
75
+ });
76
+ custom.all = (list) => Promise.all(list);
77
+
78
+ export default custom;
79
+ export type { Response, Options } from 'got';