rsshub 1.0.0-master.bb5bef5 → 1.0.0-master.bb7bb38

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 (1216) hide show
  1. package/README.md +1 -1
  2. package/lib/{app.tsx → app-bootstrap.tsx} +0 -2
  3. package/lib/app.test.ts +15 -1
  4. package/lib/app.ts +5 -0
  5. package/lib/config.ts +8 -0
  6. package/lib/index.ts +0 -1
  7. package/lib/middleware/header.test.ts +1 -0
  8. package/lib/middleware/header.ts +4 -0
  9. package/lib/middleware/parameter.ts +4 -3
  10. package/lib/registry.ts +12 -5
  11. package/lib/routes/005/index.ts +0 -2
  12. package/lib/routes/10000link/info.ts +251 -0
  13. package/lib/routes/10000link/namespace.ts +9 -0
  14. package/lib/routes/10000link/templates/description.art +7 -0
  15. package/lib/routes/12306/index.ts +0 -2
  16. package/lib/routes/141jav/index.ts +0 -2
  17. package/lib/routes/141ppv/index.ts +0 -2
  18. package/lib/routes/163/ds.ts +0 -2
  19. package/lib/routes/163/exclusive.ts +0 -2
  20. package/lib/routes/163/music/artist-songs.ts +0 -2
  21. package/lib/routes/163/music/artist.ts +0 -2
  22. package/lib/routes/163/music/djradio.ts +0 -2
  23. package/lib/routes/163/music/playlist.ts +0 -2
  24. package/lib/routes/163/music/userevents.ts +0 -2
  25. package/lib/routes/163/music/userplaylist.ts +0 -2
  26. package/lib/routes/163/music/userplayrecords.ts +0 -2
  27. package/lib/routes/163/open/vip.ts +0 -2
  28. package/lib/routes/163/utils.ts +0 -3
  29. package/lib/routes/18comic/utils.ts +0 -3
  30. package/lib/routes/199it/index.ts +2 -4
  31. package/lib/routes/1point3acres/offer.ts +0 -2
  32. package/lib/routes/1point3acres/section.ts +2 -2
  33. package/lib/routes/1point3acres/utils.ts +0 -3
  34. package/lib/routes/1x/index.ts +1 -3
  35. package/lib/routes/2048/index.ts +0 -2
  36. package/lib/routes/2cycd/index.ts +3 -3
  37. package/lib/routes/36kr/hot-list.ts +9 -1
  38. package/lib/routes/3dmgame/news-center.ts +1 -1
  39. package/lib/routes/3kns/index.ts +0 -2
  40. package/lib/routes/423down/index.ts +6 -8
  41. package/lib/routes/4gamers/utils.ts +0 -3
  42. package/lib/routes/4khd/namespace.ts +1 -1
  43. package/lib/routes/4ksj/forum.ts +0 -2
  44. package/lib/routes/500px/tribe-set.ts +0 -2
  45. package/lib/routes/56kog/util.ts +0 -3
  46. package/lib/routes/591/list.ts +0 -2
  47. package/lib/routes/6park/news.ts +1 -1
  48. package/lib/routes/78dm/index.ts +0 -2
  49. package/lib/routes/7mmtv/index.ts +0 -2
  50. package/lib/routes/8264/list.ts +0 -2
  51. package/lib/routes/91porn/author.ts +0 -2
  52. package/lib/routes/91porn/index.ts +0 -2
  53. package/lib/routes/95mm/utils.ts +0 -3
  54. package/lib/routes/a9vg/index.ts +0 -2
  55. package/lib/routes/aamacau/index.ts +3 -3
  56. package/lib/routes/abc/index.ts +1 -3
  57. package/lib/routes/accessbriefing/index.ts +0 -2
  58. package/lib/routes/acfun/video.ts +1 -1
  59. package/lib/routes/acs/journal.ts +0 -2
  60. package/lib/routes/adquan/case-library.ts +144 -0
  61. package/lib/routes/adquan/index.ts +2 -4
  62. package/lib/routes/aeaweb/index.ts +0 -2
  63. package/lib/routes/aeon/utils.ts +0 -3
  64. package/lib/routes/aflcio/blog.ts +158 -0
  65. package/lib/routes/aflcio/namespace.ts +9 -0
  66. package/lib/routes/agefans/update.ts +20 -20
  67. package/lib/routes/agri/index.ts +0 -2
  68. package/lib/routes/ahjzu/news.ts +3 -3
  69. package/lib/routes/aibase/util.ts +0 -3
  70. package/lib/routes/aicaijing/index.ts +0 -2
  71. package/lib/routes/ainvest/utils.ts +3 -3
  72. package/lib/routes/aip/journal.ts +26 -30
  73. package/lib/routes/aip/utils.ts +0 -3
  74. package/lib/routes/ali213/news.ts +2 -4
  75. package/lib/routes/ali213/zl.ts +2 -4
  76. package/lib/routes/aliyun/database-month.ts +3 -3
  77. package/lib/routes/aliyun/developer/group.ts +12 -18
  78. package/lib/routes/aliyun/notice.ts +3 -3
  79. package/lib/routes/aljazeera/index.ts +0 -2
  80. package/lib/routes/ally/rail.ts +22 -16
  81. package/lib/routes/amazfitwatchfaces/index.ts +430 -0
  82. package/lib/routes/amazfitwatchfaces/namespace.ts +10 -0
  83. package/lib/routes/amazfitwatchfaces/templates/description.art +17 -0
  84. package/lib/routes/amazon/kindle-software-updates.ts +7 -9
  85. package/lib/routes/anquanke/vul.ts +1 -1
  86. package/lib/routes/anthropic/engineering.ts +72 -0
  87. package/lib/routes/anthropic/news.ts +6 -4
  88. package/lib/routes/anytxt/namespace.ts +9 -0
  89. package/lib/routes/anytxt/release-notes.ts +92 -0
  90. package/lib/routes/apnews/mobile-api.ts +3 -2
  91. package/lib/routes/apnews/sitemap.ts +3 -2
  92. package/lib/routes/apnews/topics.ts +3 -2
  93. package/lib/routes/apnews/utils.ts +0 -8
  94. package/lib/routes/app-center/release.ts +0 -2
  95. package/lib/routes/app-sales/index.ts +200 -0
  96. package/lib/routes/app-sales/mostwanted.ts +194 -0
  97. package/lib/routes/app-sales/namespace.ts +9 -0
  98. package/lib/routes/app-sales/templates/description.art +120 -0
  99. package/lib/routes/app-sales/util.ts +161 -0
  100. package/lib/routes/apple/security-releases.ts +179 -0
  101. package/lib/routes/apple/templates/security-releases.art +28 -0
  102. package/lib/routes/appstorrent/programs.ts +0 -2
  103. package/lib/routes/aqara/post.ts +0 -2
  104. package/lib/routes/arcteryx/new-arrivals.ts +0 -2
  105. package/lib/routes/arcteryx/outlet.ts +0 -2
  106. package/lib/routes/arcteryx/regear-new-arrivals.ts +0 -2
  107. package/lib/routes/artstation/user.ts +0 -2
  108. package/lib/routes/asiafruitchina/categories.ts +2 -4
  109. package/lib/routes/asiafruitchina/news.ts +2 -4
  110. package/lib/routes/asiantolick/index.ts +0 -2
  111. package/lib/routes/asmr-200/index.ts +1 -2
  112. package/lib/routes/asus/bios.ts +0 -2
  113. package/lib/routes/baidu/gushitong/index.ts +0 -2
  114. package/lib/routes/baidu/search.ts +0 -2
  115. package/lib/routes/baidu/tieba/forum.ts +0 -2
  116. package/lib/routes/baidu/tieba/post.ts +31 -37
  117. package/lib/routes/baidu/tieba/search.ts +0 -2
  118. package/lib/routes/baidu/top.ts +0 -2
  119. package/lib/routes/bakamh/manga.ts +74 -0
  120. package/lib/routes/bakamh/namespace.ts +8 -0
  121. package/lib/routes/bandcamp/weekly.ts +0 -2
  122. package/lib/routes/bangumi.online/online.ts +0 -2
  123. package/lib/routes/bangumi.tv/calendar/today.ts +0 -2
  124. package/lib/routes/bangumi.tv/subject/ep.ts +0 -3
  125. package/lib/routes/bangumi.tv/user/collections.ts +0 -3
  126. package/lib/routes/baozimh/index.ts +0 -2
  127. package/lib/routes/bast/index.ts +1 -1
  128. package/lib/routes/bbc/learningenglish.ts +76 -0
  129. package/lib/routes/bbcnewslabs/news.ts +4 -4
  130. package/lib/routes/bc3ts/list.ts +1 -4
  131. package/lib/routes/bdys/index.ts +37 -40
  132. package/lib/routes/behance/user.ts +1 -3
  133. package/lib/routes/bgmlist/onair.ts +0 -2
  134. package/lib/routes/bilibili/danmaku.ts +1 -1
  135. package/lib/routes/bilibili/dynamic.ts +2 -0
  136. package/lib/routes/bilibili/followings-dynamic.ts +10 -4
  137. package/lib/routes/bilibili/ranking.ts +2 -0
  138. package/lib/routes/bilibili/utils.ts +5 -4
  139. package/lib/routes/bilibili/video.ts +76 -26
  140. package/lib/routes/bilibili/wasm-exec.ts +3 -3
  141. package/lib/routes/bing/search.ts +2 -2
  142. package/lib/routes/bjnews/cat.ts +2 -9
  143. package/lib/routes/bjwxdxh/index.ts +3 -3
  144. package/lib/routes/bjx/huanbao.ts +4 -12
  145. package/lib/routes/bjx/types.ts +9 -13
  146. package/lib/routes/blogread/index.ts +3 -4
  147. package/lib/routes/bloomberg/authors.ts +13 -14
  148. package/lib/routes/bloomberg/index.ts +6 -5
  149. package/lib/routes/bloomberg/utils.ts +5 -17
  150. package/lib/routes/bnu/bs.ts +3 -3
  151. package/lib/routes/bnu/dwxgb.ts +3 -3
  152. package/lib/routes/bnu/jwb.ts +1 -1
  153. package/lib/routes/bookfere/category.ts +11 -15
  154. package/lib/routes/booru/mmda.ts +0 -2
  155. package/lib/routes/bsky/feeds.ts +0 -2
  156. package/lib/routes/bsky/posts.ts +1 -3
  157. package/lib/routes/btzj/index.ts +0 -2
  158. package/lib/routes/buaa/lib/space/newbook.ts +0 -2
  159. package/lib/routes/bulianglin/rss.ts +3 -3
  160. package/lib/routes/bullionvault/gold-news.ts +2 -1
  161. package/lib/routes/bupt/jwc.ts +2 -2
  162. package/lib/routes/bupt/rczp.ts +3 -3
  163. package/lib/routes/caai/utils.ts +0 -3
  164. package/lib/routes/caareviews/utils.ts +3 -6
  165. package/lib/routes/cahkms/index.ts +0 -2
  166. package/lib/routes/caixin/blog.ts +1 -1
  167. package/lib/routes/caixin/database.ts +0 -2
  168. package/lib/routes/caixin/utils-fulltext.ts +1 -1
  169. package/lib/routes/caixin/utils.ts +0 -3
  170. package/lib/routes/cankaoxiaoxi/index.ts +0 -2
  171. package/lib/routes/cara/likes.ts +0 -3
  172. package/lib/routes/cara/timeline.ts +0 -3
  173. package/lib/routes/cara/utils.ts +0 -9
  174. package/lib/routes/cartoonmad/comic.ts +0 -2
  175. package/lib/routes/cas/cg/index.ts +3 -3
  176. package/lib/routes/cas/genetics/index.ts +2 -2
  177. package/lib/routes/cbaigui/index.ts +0 -2
  178. package/lib/routes/cccmc/index.ts +2 -1
  179. package/lib/routes/ccf/ccfcv/index.ts +0 -2
  180. package/lib/routes/ccf/tfbd/utils.ts +0 -3
  181. package/lib/routes/ccfa/index.ts +0 -2
  182. package/lib/routes/ccreports/index.ts +3 -3
  183. package/lib/routes/cctv/jx.ts +3 -3
  184. package/lib/routes/cctv/utils/news.ts +3 -3
  185. package/lib/routes/cctv/utils/xinwen1j1.ts +1 -1
  186. package/lib/routes/cctv/xwlb.ts +1 -1
  187. package/lib/routes/cde/xxgk.ts +24 -9
  188. package/lib/routes/cdzjryb/project-list.ts +0 -2
  189. package/lib/routes/cebbank/all.ts +6 -8
  190. package/lib/routes/cebbank/history.ts +3 -5
  191. package/lib/routes/cfr/index.ts +3 -2
  192. package/lib/routes/cfr/utils.ts +2 -10
  193. package/lib/routes/chaincatcher/home.ts +0 -2
  194. package/lib/routes/changba/user.ts +40 -46
  195. package/lib/routes/chaoxing/qk.ts +0 -2
  196. package/lib/routes/china/finance/finance.ts +2 -2
  197. package/lib/routes/china/news/highlights/news.ts +11 -15
  198. package/lib/routes/china/news/military/news.ts +11 -15
  199. package/lib/routes/chinacdc/index.ts +2 -4
  200. package/lib/routes/chinadaily/language.ts +324 -0
  201. package/lib/routes/chinadaily/namespace.ts +9 -0
  202. package/lib/routes/chinadaily/templates/description.art +21 -0
  203. package/lib/routes/chinadegrees/province.ts +0 -2
  204. package/lib/routes/chinanews/index.ts +2 -2
  205. package/lib/routes/chinaratings/credit-research.ts +2 -1
  206. package/lib/routes/chinaventure/index.ts +3 -5
  207. package/lib/routes/chnmuseum/namespace.ts +10 -0
  208. package/lib/routes/chnmuseum/xingnew.ts +73 -0
  209. package/lib/routes/chnmuseum/xwzt.ts +67 -0
  210. package/lib/routes/chongbuluo/index.ts +86 -0
  211. package/lib/routes/chongbuluo/namespace.ts +7 -0
  212. package/lib/routes/chuanliu/nice.ts +0 -2
  213. package/lib/routes/chub/characters.ts +3 -5
  214. package/lib/routes/cib/whpj.ts +3 -3
  215. package/lib/routes/cih-index/namespace.ts +7 -0
  216. package/lib/routes/cih-index/report.ts +74 -0
  217. package/lib/routes/ciidbnu/index.ts +3 -3
  218. package/lib/routes/ciweimao/chapter.ts +1 -1
  219. package/lib/routes/clickme/index.ts +1 -1
  220. package/lib/routes/cline/blog.ts +80 -0
  221. package/lib/routes/cline/namespace.ts +13 -0
  222. package/lib/routes/cls/depth.ts +0 -2
  223. package/lib/routes/cls/hot.ts +0 -2
  224. package/lib/routes/cls/subject.ts +0 -2
  225. package/lib/routes/cls/telegraph.ts +0 -2
  226. package/lib/routes/cma/channel.ts +0 -2
  227. package/lib/routes/cna/index.ts +1 -1
  228. package/lib/routes/cna/web/index.ts +1 -1
  229. package/lib/routes/cncf/index.ts +3 -3
  230. package/lib/routes/cncf/reports.ts +3 -3
  231. package/lib/routes/cngal/entry.ts +2 -4
  232. package/lib/routes/cngal/weekly.ts +2 -4
  233. package/lib/routes/cnjxol/index.ts +0 -2
  234. package/lib/routes/cnki/debut.ts +7 -9
  235. package/lib/routes/cnki/journals.ts +11 -13
  236. package/lib/routes/cnki/utils.ts +0 -3
  237. package/lib/routes/cntheory/paper.ts +0 -2
  238. package/lib/routes/cntv/column.ts +1 -3
  239. package/lib/routes/codeforces/contests.ts +4 -6
  240. package/lib/routes/colamanga/manga.ts +3 -3
  241. package/lib/routes/comicskingdom/index.ts +1 -3
  242. package/lib/routes/cool18/index.ts +70 -42
  243. package/lib/routes/{copernicium → coolpc}/namespace.ts +2 -2
  244. package/lib/routes/coolpc/news.ts +53 -0
  245. package/lib/routes/coomer/index.ts +1 -3
  246. package/lib/routes/copymanga/comic.ts +2 -12
  247. package/lib/routes/cosplaytele/article.ts +14 -6
  248. package/lib/routes/cosplaytele/category.ts +12 -6
  249. package/lib/routes/cosplaytele/latest.ts +12 -3
  250. package/lib/routes/cosplaytele/popular.ts +2 -4
  251. package/lib/routes/cosplaytele/tag.ts +12 -6
  252. package/lib/routes/cpcey/index.ts +3 -3
  253. package/lib/routes/cpta/handler.ts +2 -6
  254. package/lib/routes/crac/exam.ts +60 -0
  255. package/lib/routes/crac/index.ts +9 -4
  256. package/lib/routes/crac/namespace.ts +1 -0
  257. package/lib/routes/crac/templates/exam.art +54 -0
  258. package/lib/routes/creative-comic/book.ts +0 -2
  259. package/lib/routes/creative-comic/utils.ts +2 -2
  260. package/lib/routes/cssn/iolaw.ts +3 -3
  261. package/lib/routes/csu/cse.ts +1 -1
  262. package/lib/routes/csu/utils.ts +1 -1
  263. package/lib/routes/cts/news.ts +23 -22
  264. package/lib/routes/cuilingmag/index.ts +0 -2
  265. package/lib/routes/curius/links.ts +0 -2
  266. package/lib/routes/cursor/changelog.ts +2 -1
  267. package/lib/routes/cyzone/util.ts +8 -10
  268. package/lib/routes/cztv/daily.ts +0 -2
  269. package/lib/routes/cztv/zjxwlb.ts +0 -2
  270. package/lib/routes/daily/utils.ts +0 -2
  271. package/lib/routes/damai/activity.ts +0 -2
  272. package/lib/routes/dapenti/utils.ts +1 -1
  273. package/lib/routes/dayanzai/index.ts +19 -21
  274. package/lib/routes/dbaplus/rss.ts +3 -4
  275. package/lib/routes/dcard/utils.ts +38 -37
  276. package/lib/routes/dcfever/utils.ts +0 -3
  277. package/lib/routes/ddosi/category.ts +3 -3
  278. package/lib/routes/ddosi/index.ts +3 -3
  279. package/lib/routes/deadline/posts.ts +0 -2
  280. package/lib/routes/dedao/knowledge.ts +0 -2
  281. package/lib/routes/dedao/user.ts +0 -2
  282. package/lib/routes/deeplearning/the-batch.ts +0 -2
  283. package/lib/routes/dehenglaw/index.ts +0 -2
  284. package/lib/routes/diariofruticola/filtro.ts +2 -1
  285. package/lib/routes/diershoubing/news.ts +0 -2
  286. package/lib/routes/discord/channel.ts +0 -2
  287. package/lib/routes/discord/search.ts +0 -3
  288. package/lib/routes/disinfo/publications.ts +3 -3
  289. package/lib/routes/dlnews/category.ts +2 -7
  290. package/lib/routes/dlsite/utils.ts +0 -3
  291. package/lib/routes/dmzj/news.ts +5 -5
  292. package/lib/routes/dn/news.ts +0 -2
  293. package/lib/routes/dockerhub/tag.ts +1 -1
  294. package/lib/routes/domp4/detail.ts +8 -6
  295. package/lib/routes/domp4/latest-movie-bt.ts +10 -10
  296. package/lib/routes/domp4/latest.ts +8 -8
  297. package/lib/routes/domp4/namespace.ts +2 -8
  298. package/lib/routes/domp4/utils.ts +5 -5
  299. package/lib/routes/douban/commercialpress/latest.ts +3 -3
  300. package/lib/routes/douban/movie/coming.ts +0 -3
  301. package/lib/routes/douban/other/celebrity.ts +9 -13
  302. package/lib/routes/douban/other/doulist.ts +16 -16
  303. package/lib/routes/douban/other/explore-column.ts +6 -6
  304. package/lib/routes/douban/other/explore.ts +23 -29
  305. package/lib/routes/douban/other/group.ts +1 -1
  306. package/lib/routes/douban/other/jobs.ts +5 -7
  307. package/lib/routes/douban/other/later.ts +3 -3
  308. package/lib/routes/douban/other/latest-music.ts +1 -1
  309. package/lib/routes/douban/other/list.ts +0 -2
  310. package/lib/routes/douban/other/playing.ts +1 -1
  311. package/lib/routes/douban/other/recommended.ts +0 -2
  312. package/lib/routes/douban/other/replied.ts +3 -3
  313. package/lib/routes/douban/other/replies.ts +3 -3
  314. package/lib/routes/douban/other/weekly-best.ts +0 -2
  315. package/lib/routes/douban/people/status.ts +1 -1
  316. package/lib/routes/douban/people/wish.ts +2 -2
  317. package/lib/routes/douyin/hashtag.ts +1 -1
  318. package/lib/routes/douyin/live.ts +1 -1
  319. package/lib/routes/douyin/utils.ts +0 -3
  320. package/lib/routes/douyu/group.ts +0 -2
  321. package/lib/routes/douyu/post.ts +0 -2
  322. package/lib/routes/dribbble/utils.ts +0 -3
  323. package/lib/routes/dtcj/datainsight.ts +3 -3
  324. package/lib/routes/duozhuayu/search.ts +0 -2
  325. package/lib/routes/dushu/fuzhou/index.ts +0 -2
  326. package/lib/routes/dw/rss.ts +2 -2
  327. package/lib/routes/dw/utils.ts +0 -2
  328. package/lib/routes/dx2025/index.ts +3 -3
  329. package/lib/routes/dytt/index.ts +2 -1
  330. package/lib/routes/e-hentai/index.ts +0 -2
  331. package/lib/routes/ea/apex-news.ts +104 -0
  332. package/lib/routes/ea/namespace.ts +6 -0
  333. package/lib/routes/eagle/blog.ts +3 -3
  334. package/lib/routes/eagle/changelog.ts +25 -29
  335. package/lib/routes/eastmoney/report/index.ts +0 -3
  336. package/lib/routes/ecnu/contest.ts +0 -2
  337. package/lib/routes/ecnu/jwc.ts +3 -3
  338. package/lib/routes/ehentai/ehapi.ts +1 -1
  339. package/lib/routes/elsevier/issue.ts +3 -5
  340. package/lib/routes/elsevier/journal.ts +3 -5
  341. package/lib/routes/embassy/supported-list.ts +1 -1
  342. package/lib/routes/epicgames/index.ts +0 -2
  343. package/lib/routes/eprice/rss.ts +0 -2
  344. package/lib/routes/eshukan/academic.ts +0 -2
  345. package/lib/routes/espn/news.ts +1 -4
  346. package/lib/routes/esquirehk/tag.ts +1 -4
  347. package/lib/routes/famitsu/category.ts +1 -3
  348. package/lib/routes/fanbox/utils.ts +0 -3
  349. package/lib/routes/fangchan/list.ts +2 -4
  350. package/lib/routes/fansly/utils.ts +0 -3
  351. package/lib/routes/farmatters/index.ts +0 -2
  352. package/lib/routes/fashionnetwork/index.ts +0 -2
  353. package/lib/routes/fastbull/news.ts +0 -2
  354. package/lib/routes/feng/forum.ts +0 -2
  355. package/lib/routes/ff14/ff14-global.ts +1 -3
  356. package/lib/routes/ff14/ff14-zh.ts +0 -2
  357. package/lib/routes/fffdm/manhua/manhua.ts +1 -3
  358. package/lib/routes/finviz/quote.ts +14 -16
  359. package/lib/routes/fisher-spb/news.ts +3 -5
  360. package/lib/routes/fishshell/index.ts +3 -3
  361. package/lib/routes/fjksbm/index.ts +1 -1
  362. package/lib/routes/flyert/creditcard.ts +4 -4
  363. package/lib/routes/flyert/namespace.ts +1 -1
  364. package/lib/routes/flyert/preferential.ts +3 -3
  365. package/lib/routes/flyert/util.ts +0 -3
  366. package/lib/routes/flyert/utils.ts +17 -11
  367. package/lib/routes/focustaiwan/index.ts +0 -2
  368. package/lib/routes/followin/utils.ts +0 -3
  369. package/lib/routes/foresightnews/util.ts +9 -14
  370. package/lib/routes/fosshub/index.ts +0 -2
  371. package/lib/routes/freecomputerbooks/index.ts +0 -2
  372. package/lib/routes/ft/myft.ts +4 -4
  373. package/lib/routes/furstar/artists.ts +2 -2
  374. package/lib/routes/furstar/utils.ts +14 -19
  375. package/lib/routes/futunn/main.ts +0 -2
  376. package/lib/routes/fx-markets/channel.ts +12 -14
  377. package/lib/routes/fx678/kx.ts +2 -2
  378. package/lib/routes/fzmtr/announcements.ts +3 -3
  379. package/lib/routes/gameapps/index.ts +1 -3
  380. package/lib/routes/gamebase/news.ts +0 -3
  381. package/lib/routes/gamer/gnn-index.ts +3 -3
  382. package/lib/routes/gamer/hot.ts +3 -3
  383. package/lib/routes/gamersky/utils.ts +1 -1
  384. package/lib/routes/gcores/articles.ts +0 -3
  385. package/lib/routes/gcores/categories.ts +0 -3
  386. package/lib/routes/gcores/collections.ts +0 -3
  387. package/lib/routes/gcores/news.ts +0 -3
  388. package/lib/routes/gcores/parser.ts +1 -4
  389. package/lib/routes/gcores/program-previews.ts +0 -3
  390. package/lib/routes/gcores/radio.ts +5 -7
  391. package/lib/routes/gcores/tags.ts +0 -3
  392. package/lib/routes/gcores/topics.ts +0 -3
  393. package/lib/routes/gcores/util.ts +0 -3
  394. package/lib/routes/gcores/videos.ts +0 -3
  395. package/lib/routes/gdut/oa-news.ts +85 -84
  396. package/lib/routes/geekpark/index.ts +0 -2
  397. package/lib/routes/gelbooru/utils.ts +0 -3
  398. package/lib/routes/gelonghui/live.ts +0 -2
  399. package/lib/routes/gettr/user.ts +0 -2
  400. package/lib/routes/gihyo/group.ts +17 -19
  401. package/lib/routes/github/comments.ts +2 -2
  402. package/lib/routes/github/contributors.ts +1 -1
  403. package/lib/routes/github/pulse.ts +0 -2
  404. package/lib/routes/github/trending.ts +0 -2
  405. package/lib/routes/gitpod/blog.ts +0 -2
  406. package/lib/routes/gofans/index.ts +0 -2
  407. package/lib/routes/google/citations.ts +1 -1
  408. package/lib/routes/google/fonts.ts +0 -2
  409. package/lib/routes/google/news.ts +0 -2
  410. package/lib/routes/google/scholar.ts +1 -1
  411. package/lib/routes/google/search.ts +0 -2
  412. package/lib/routes/gov/caac/cjwt.ts +0 -2
  413. package/lib/routes/gov/chinatax/latest.ts +3 -3
  414. package/lib/routes/gov/cmse/fxrw.ts +0 -2
  415. package/lib/routes/gov/cmse/index.ts +0 -2
  416. package/lib/routes/gov/csrc/news.ts +1 -3
  417. package/lib/routes/gov/forestry/gjlckjdjt.ts +0 -2
  418. package/lib/routes/gov/general/general.ts +1 -4
  419. package/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts +0 -2
  420. package/lib/routes/gov/guangdong/tqyb/tfxtq.ts +0 -2
  421. package/lib/routes/gov/hangzhou/zwfw.ts +0 -2
  422. package/lib/routes/gov/huizhou/zwgk/index.ts +3 -3
  423. package/lib/routes/gov/hunan/changsha/major-email.ts +3 -3
  424. package/lib/routes/gov/jiangsu/wlt/index.ts +2 -5
  425. package/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts +16 -18
  426. package/lib/routes/gov/mee/ywdt.ts +3 -3
  427. package/lib/routes/gov/miit/wjfb.ts +6 -6
  428. package/lib/routes/gov/miit/yjzj.ts +6 -6
  429. package/lib/routes/gov/miit/zcwj.ts +1 -1
  430. package/lib/routes/gov/moa/gjs.ts +2 -1
  431. package/lib/routes/gov/moa/moa.ts +3 -3
  432. package/lib/routes/gov/moa/zdscxx.ts +13 -11
  433. package/lib/routes/gov/moe/moe.ts +35 -37
  434. package/lib/routes/gov/nea/ghs.ts +1 -1
  435. package/lib/routes/gov/nrta/dsj.ts +13 -14
  436. package/lib/routes/gov/nrta/news.ts +3 -3
  437. package/lib/routes/gov/pbc/goutongjiaoliu.ts +3 -3
  438. package/lib/routes/gov/pbc/gzlw.ts +3 -3
  439. package/lib/routes/gov/pbc/trade-announcement.ts +3 -3
  440. package/lib/routes/gov/pbc/zcyj.ts +3 -3
  441. package/lib/routes/gov/safe/util.ts +0 -3
  442. package/lib/routes/gov/samr/xgzlyhd.ts +0 -2
  443. package/lib/routes/gov/sh/fgw/index.ts +0 -2
  444. package/lib/routes/gov/sh/rsj/ksxm.ts +3 -5
  445. package/lib/routes/gov/sh/wgj/wgj.ts +3 -5
  446. package/lib/routes/gov/sh/wsjkw/yqtb/index.ts +14 -18
  447. package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +3 -3
  448. package/lib/routes/gov/shenzhen/zzb/index.ts +3 -3
  449. package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +0 -2
  450. package/lib/routes/gov/sichuan/deyang/mztoday.ts +0 -2
  451. package/lib/routes/gov/stats/index.ts +0 -2
  452. package/lib/routes/gov/taiyuan/rsj.ts +3 -3
  453. package/lib/routes/grainoil/category.ts +2 -1
  454. package/lib/routes/greasyfork/feedback.ts +1 -1
  455. package/lib/routes/greasyfork/versions.ts +1 -1
  456. package/lib/routes/guancha/member.ts +1 -1
  457. package/lib/routes/guangdiu/cheaps.ts +3 -3
  458. package/lib/routes/guangdiu/index.ts +3 -3
  459. package/lib/routes/guangdiu/rank.ts +3 -3
  460. package/lib/routes/guangdiu/search.ts +3 -3
  461. package/lib/routes/guangzhoumetro/news.ts +3 -3
  462. package/lib/routes/guduodata/daily.ts +0 -2
  463. package/lib/routes/gumroad/index.ts +0 -2
  464. package/lib/routes/guozaoke/index.ts +34 -35
  465. package/lib/routes/gzdaily/app.ts +0 -2
  466. package/lib/routes/hackernews/index.ts +5 -5
  467. package/lib/routes/hackyournews/index.ts +5 -5
  468. package/lib/routes/hafu/utils.ts +90 -99
  469. package/lib/routes/hanime1/previews.ts +14 -6
  470. package/lib/routes/hanime1/search.ts +95 -0
  471. package/lib/routes/hashnode/blog.ts +0 -2
  472. package/lib/routes/hbr/topic.ts +3 -3
  473. package/lib/routes/hdu/cs/notice.ts +10 -15
  474. package/lib/routes/hdu/cs/pg.ts +10 -15
  475. package/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +0 -2
  476. package/lib/routes/hellobtc/information.ts +3 -3
  477. package/lib/routes/hellobtc/kepu.ts +3 -3
  478. package/lib/routes/hellobtc/news.ts +3 -3
  479. package/lib/routes/hellogithub/report.ts +0 -2
  480. package/lib/routes/hellogithub/volume.ts +0 -2
  481. package/lib/routes/hicairo/rss.ts +3 -3
  482. package/lib/routes/hiring.cafe/jobs.ts +0 -3
  483. package/lib/routes/hit/hitgs.ts +3 -3
  484. package/lib/routes/hitcon/zeroday.ts +0 -3
  485. package/lib/routes/hitwh/today.ts +3 -3
  486. package/lib/routes/hk01/utils.ts +0 -3
  487. package/lib/routes/hkej/index.ts +11 -15
  488. package/lib/routes/hkepc/index.ts +1 -1
  489. package/lib/routes/hket/index.ts +1 -3
  490. package/lib/routes/hkjunkcall/index.ts +3 -3
  491. package/lib/routes/hostmonit/cloudflareyes.ts +0 -2
  492. package/lib/routes/hotukdeals/index.ts +2 -2
  493. package/lib/routes/houxu/events.ts +0 -2
  494. package/lib/routes/houxu/index.ts +0 -2
  495. package/lib/routes/houxu/memory.ts +0 -2
  496. package/lib/routes/howtoforge/rss.ts +3 -3
  497. package/lib/routes/hoyolab/news.ts +0 -2
  498. package/lib/routes/hpoi/banner-item.ts +3 -3
  499. package/lib/routes/hpoi/info.ts +68 -23
  500. package/lib/routes/hpoi/user.ts +3 -3
  501. package/lib/routes/hpoi/utils.ts +3 -3
  502. package/lib/routes/hrbeu/gx/card.ts +3 -3
  503. package/lib/routes/hrbeu/gx/list.ts +3 -3
  504. package/lib/routes/hrbeu/job/bigemploy.ts +3 -3
  505. package/lib/routes/hrbeu/job/calendar.ts +3 -3
  506. package/lib/routes/hrbeu/job/list.ts +3 -3
  507. package/lib/routes/hrbeu/uae/news.ts +3 -3
  508. package/lib/routes/hrbeu/yjsy/list.ts +3 -3
  509. package/lib/routes/huggingface/blog-community.ts +126 -0
  510. package/lib/routes/hupu/all.ts +0 -2
  511. package/lib/routes/hupu/bbs.ts +0 -2
  512. package/lib/routes/hupu/templates/description.art +1 -1
  513. package/lib/routes/huxiu/util.ts +0 -3
  514. package/lib/routes/i-cable/news.ts +0 -3
  515. package/lib/routes/ianspriggs/index.ts +0 -2
  516. package/lib/routes/icac/news.ts +3 -3
  517. package/lib/routes/idaily/index.ts +0 -2
  518. package/lib/routes/idolmaster/news.ts +1 -1
  519. package/lib/routes/ieee/author.ts +0 -2
  520. package/lib/routes/ieee/journal.ts +0 -2
  521. package/lib/routes/ielts/index.ts +1 -1
  522. package/lib/routes/ifeng/news.ts +0 -2
  523. package/lib/routes/ifeng/utils.ts +0 -3
  524. package/lib/routes/iguoguo/index.ts +57 -55
  525. package/lib/routes/ikea/cn/utils.ts +0 -3
  526. package/lib/routes/ikea/gb/new.ts +0 -2
  527. package/lib/routes/ikea/gb/offer.ts +0 -2
  528. package/lib/routes/iknowwhatyoudownload/daily.ts +1 -4
  529. package/lib/routes/imdb/chart.ts +1 -3
  530. package/lib/routes/imhcg/blog.ts +6 -6
  531. package/lib/routes/imiker/jinghua.ts +0 -2
  532. package/lib/routes/infoq/presentations.ts +0 -2
  533. package/lib/routes/infoq/topic.ts +1 -1
  534. package/lib/routes/informs/index.ts +3 -6
  535. package/lib/routes/inoreader/index.ts +17 -19
  536. package/lib/routes/instagram/common-utils.ts +0 -3
  537. package/lib/routes/instagram/private-api/index.ts +1 -1
  538. package/lib/routes/instagram/web-api/utils.ts +0 -3
  539. package/lib/routes/ipsw/index.ts +10 -11
  540. package/lib/routes/ipsw.dev/index.ts +3 -5
  541. package/lib/routes/iqilu/program.ts +0 -2
  542. package/lib/routes/iqiyi/album.ts +0 -2
  543. package/lib/routes/iqiyi/video.ts +6 -10
  544. package/lib/routes/iresearch/chart.ts +0 -3
  545. package/lib/routes/iresearch/report.ts +1 -3
  546. package/lib/routes/iresearch/weekly.ts +0 -2
  547. package/lib/routes/itch/devlog.ts +0 -2
  548. package/lib/routes/itch/index.ts +0 -2
  549. package/lib/routes/ithome/index.ts +3 -3
  550. package/lib/routes/ithome/ranking.ts +5 -5
  551. package/lib/routes/ithome/tag.ts +3 -3
  552. package/lib/routes/ithome/tw/feeds.ts +1 -1
  553. package/lib/routes/ithome/zt.ts +0 -2
  554. package/lib/routes/iwara/subscriptions.ts +0 -2
  555. package/lib/routes/ixigua/user-video.ts +0 -2
  556. package/lib/routes/jandan/index.ts +36 -12
  557. package/lib/routes/jandan/section.ts +102 -44
  558. package/lib/routes/jandan/utils.ts +248 -0
  559. package/lib/routes/japanpost/track.ts +46 -53
  560. package/lib/routes/japanpost/utils.ts +4 -4
  561. package/lib/routes/javbus/index.ts +0 -2
  562. package/lib/routes/javlibrary/utils.ts +0 -3
  563. package/lib/routes/javtiful/utils.ts +0 -3
  564. package/lib/routes/javtrailers/utils.ts +0 -2
  565. package/lib/routes/jd/price.ts +0 -2
  566. package/lib/routes/jewishmuseum/exhibitions.ts +2 -2
  567. package/lib/routes/jianshu/collection.ts +1 -1
  568. package/lib/routes/jianshu/home.ts +1 -1
  569. package/lib/routes/jianshu/user.ts +1 -1
  570. package/lib/routes/jiemian/account.ts +16 -0
  571. package/lib/routes/jiemian/common.ts +101 -0
  572. package/lib/routes/jiemian/lists.ts +93 -106
  573. package/lib/routes/jiemian/special.ts +12 -0
  574. package/lib/routes/jiemian/video.ts +19 -0
  575. package/lib/routes/jiemian/vip.ts +20 -0
  576. package/lib/routes/jike/utils.ts +0 -1
  577. package/lib/routes/jimmyspa/books.ts +0 -2
  578. package/lib/routes/jimmyspa/news.ts +0 -2
  579. package/lib/routes/jin10/category.ts +0 -2
  580. package/lib/routes/jin10/index.ts +0 -2
  581. package/lib/routes/jingzhengu/utils.ts +3 -3
  582. package/lib/routes/jinse/catalogue.ts +0 -2
  583. package/lib/routes/jinse/lives.ts +0 -2
  584. package/lib/routes/jinse/timeline.ts +0 -2
  585. package/lib/routes/jisilu/util.ts +2 -1
  586. package/lib/routes/jiuyangongshe/community.ts +1 -4
  587. package/lib/routes/jjwxc/author.ts +0 -2
  588. package/lib/routes/jjwxc/book.ts +0 -2
  589. package/lib/routes/joins/chinese.ts +0 -2
  590. package/lib/routes/joneslanglasalle/index.ts +2 -4
  591. package/lib/routes/jpxgmn/search.ts +2 -2
  592. package/lib/routes/jpxgmn/tab.ts +3 -3
  593. package/lib/routes/jpxgmn/utils.ts +11 -6
  594. package/lib/routes/jpxgmn/weekly.ts +3 -3
  595. package/lib/routes/juejin/pins.ts +4 -6
  596. package/lib/routes/jumeili/home.ts +98 -0
  597. package/lib/routes/{trending → jumeili}/namespace.ts +2 -2
  598. package/lib/routes/jump/discount.ts +0 -2
  599. package/lib/routes/kadokawa/blog.ts +0 -2
  600. package/lib/routes/kamen-rider-official/news.ts +0 -2
  601. package/lib/routes/kantarworldpanel/index.ts +0 -2
  602. package/lib/routes/kanxue/topic.ts +5 -5
  603. package/lib/routes/kbs/news.ts +3 -3
  604. package/lib/routes/kbs/today.ts +3 -3
  605. package/lib/routes/kcna/news.ts +35 -37
  606. package/lib/routes/keep/templates/user.art +10 -8
  607. package/lib/routes/keep/user.ts +30 -38
  608. package/lib/routes/kemono/index.ts +2 -4
  609. package/lib/routes/kepu/live.ts +0 -2
  610. package/lib/routes/kpmg/insights.ts +0 -2
  611. package/lib/routes/kpopping/kpics.ts +10 -13
  612. package/lib/routes/kpopping/news.ts +2 -4
  613. package/lib/routes/kuaidi100/utils.ts +1 -1
  614. package/lib/routes/kurogames/wutheringwaves/constants.ts +1 -1
  615. package/lib/routes/kurogames/wutheringwaves/news.ts +4 -1
  616. package/lib/routes/kurogames/wutheringwaves/utils.ts +1 -1
  617. package/lib/routes/kyodonews/index.ts +8 -10
  618. package/lib/routes/lala/rss.ts +3 -3
  619. package/lib/routes/lang/room.ts +0 -2
  620. package/lib/routes/lanqiao/utils.ts +0 -3
  621. package/lib/routes/learnblockchain/posts.ts +11 -15
  622. package/lib/routes/learnku/topic.ts +1 -3
  623. package/lib/routes/leetcode/articles.ts +8 -8
  624. package/lib/routes/leetcode/dailyquestion-cn.ts +0 -2
  625. package/lib/routes/leetcode/dailyquestion-en.ts +0 -2
  626. package/lib/routes/leiphone/index.ts +1 -1
  627. package/lib/routes/lfsyd/utils.ts +0 -3
  628. package/lib/routes/lhratings/research.ts +2 -1
  629. package/lib/routes/linkedin/cn/renderer.ts +1 -1
  630. package/lib/routes/linkedin/cn/utils.ts +1 -4
  631. package/lib/routes/linkedin/posts.ts +1 -0
  632. package/lib/routes/linkresearcher/index.ts +1 -3
  633. package/lib/routes/linovelib/novel.ts +4 -4
  634. package/lib/routes/liquipedia/cs-matches.ts +20 -22
  635. package/lib/routes/literotica/category.ts +3 -3
  636. package/lib/routes/literotica/new.ts +3 -3
  637. package/lib/routes/lkong/forum.ts +0 -2
  638. package/lib/routes/lkong/thread.ts +0 -2
  639. package/lib/routes/lmu/jobs.ts +0 -2
  640. package/lib/routes/logclub/index.ts +0 -2
  641. package/lib/routes/logclub/report.ts +0 -2
  642. package/lib/routes/logonews/index.ts +0 -2
  643. package/lib/routes/logrocket/index.ts +1 -8
  644. package/lib/routes/loltw/news.ts +0 -2
  645. package/lib/routes/lorientlejour/index.ts +1 -3
  646. package/lib/routes/lovelive-anime/news.ts +0 -2
  647. package/lib/routes/lovelive-anime/schedules.ts +2 -4
  648. package/lib/routes/lovelive-anime/topics.ts +0 -2
  649. package/lib/routes/lrepacks/index.ts +0 -2
  650. package/lib/routes/lsnu/jiaowc/tzgg.ts +1 -1
  651. package/lib/routes/ltaaa/article.ts +2 -4
  652. package/lib/routes/luogu/contest.ts +25 -25
  653. package/lib/routes/luolei/index.ts +0 -2
  654. package/lib/routes/lvv2/news.ts +3 -5
  655. package/lib/routes/lvv2/top.ts +3 -5
  656. package/lib/routes/lxixsxa/discography.ts +0 -2
  657. package/lib/routes/lxixsxa/information.ts +0 -2
  658. package/lib/routes/m4/index.ts +0 -2
  659. package/lib/routes/maccms/index.ts +1 -2
  660. package/lib/routes/magazinelib/latest-magazine.ts +0 -2
  661. package/lib/routes/manhuagui/comic.ts +30 -31
  662. package/lib/routes/manhuagui/subscribe.ts +8 -10
  663. package/lib/routes/manyvids/video.ts +1 -4
  664. package/lib/routes/mckinsey/cn/index.ts +1 -1
  665. package/lib/routes/mcmod/index.ts +2 -3
  666. package/lib/routes/mdpi/journal.ts +3 -5
  667. package/lib/routes/melonbooks/search.ts +1 -1
  668. package/lib/routes/mercari/util.ts +0 -2
  669. package/lib/routes/metacritic/index.ts +0 -2
  670. package/lib/routes/metacritic/release.ts +1 -1
  671. package/lib/routes/meteor/utils.ts +0 -3
  672. package/lib/routes/mi/utils.ts +4 -7
  673. package/lib/routes/mihoyo/bbs/follow-list.ts +0 -2
  674. package/lib/routes/mihoyo/bbs/official.ts +0 -2
  675. package/lib/routes/mihoyo/bbs/utils.ts +0 -3
  676. package/lib/routes/mihoyo/ys/news.ts +19 -75
  677. package/lib/routes/mindmeister/example.ts +0 -2
  678. package/lib/routes/minecraft/version.ts +6 -6
  679. package/lib/routes/mingpao/index.ts +1 -3
  680. package/lib/routes/miniflux/entry.ts +5 -5
  681. package/lib/routes/miniflux/subscription.ts +2 -2
  682. package/lib/routes/missav/new.ts +27 -11
  683. package/lib/routes/misskey/home-timeline.ts +1 -1
  684. package/lib/routes/misskey/user-timeline.ts +1 -1
  685. package/lib/routes/misskey/utils.ts +0 -3
  686. package/lib/routes/mittrchina/index.ts +0 -2
  687. package/lib/routes/modelscope/community.ts +0 -2
  688. package/lib/routes/modelscope/datasets.ts +0 -2
  689. package/lib/routes/modelscope/studios.ts +0 -2
  690. package/lib/routes/modian/zhongchou.ts +3 -3
  691. package/lib/routes/modrinth/versions.ts +0 -3
  692. package/lib/routes/mpaypass/main.ts +7 -7
  693. package/lib/routes/mpaypass/news.ts +2 -2
  694. package/lib/routes/mrdx/daily.ts +1 -1
  695. package/lib/routes/msn/index.ts +2 -2
  696. package/lib/routes/mycard520/news.ts +3 -11
  697. package/lib/routes/mydrivers/cid.ts +192 -6
  698. package/lib/routes/mydrivers/index.ts +41 -13
  699. package/lib/routes/mydrivers/rank.ts +2 -3
  700. package/lib/routes/mydrivers/util.ts +10 -13
  701. package/lib/routes/myfans/post.ts +1 -4
  702. package/lib/routes/myfigurecollection/activity.ts +0 -2
  703. package/lib/routes/myfigurecollection/index.ts +0 -2
  704. package/lib/routes/mymusicsheet/usersheets.ts +1 -3
  705. package/lib/routes/nasa/apod-ncku.ts +3 -3
  706. package/lib/routes/nasa/apod.ts +3 -3
  707. package/lib/routes/natgeo/dailyphoto.ts +0 -2
  708. package/lib/routes/nationalgeographic/latest-stories.ts +0 -2
  709. package/lib/routes/nautil/topics.ts +0 -2
  710. package/lib/routes/nber/common.ts +0 -3
  711. package/lib/routes/ncc-cma/cmdp.ts +0 -2
  712. package/lib/routes/ncepu/master/masterinfo.ts +3 -3
  713. package/lib/routes/neea/index.ts +1 -1
  714. package/lib/routes/neea/jlpt.ts +3 -2
  715. package/lib/routes/netflav/index.ts +0 -2
  716. package/lib/routes/neu/bmie.ts +1 -1
  717. package/lib/routes/newrank/utils.ts +11 -1
  718. package/lib/routes/news/xhsxw.ts +0 -2
  719. package/lib/routes/newsmarket/index.ts +3 -3
  720. package/lib/routes/newzmz/index.ts +1 -1
  721. package/lib/routes/newzmz/util.ts +0 -3
  722. package/lib/routes/nextapple/realtime.ts +28 -27
  723. package/lib/routes/nga/post.ts +3 -2
  724. package/lib/routes/ngocn2/index.ts +3 -3
  725. package/lib/routes/nhentai/util.ts +0 -3
  726. package/lib/routes/nhk/news-web-easy.ts +15 -22
  727. package/lib/routes/nhk/news.ts +0 -2
  728. package/lib/routes/nicovideo/utils.ts +1 -4
  729. package/lib/routes/nifd/research.ts +3 -3
  730. package/lib/routes/nikkei/asia/index.ts +27 -27
  731. package/lib/routes/nikkei/cn/index.ts +8 -1
  732. package/lib/routes/nikkei/news.ts +0 -2
  733. package/lib/routes/nintendo/direct.ts +0 -2
  734. package/lib/routes/nintendo/eshop-hk.ts +0 -2
  735. package/lib/routes/nintendo/eshop-jp.ts +0 -2
  736. package/lib/routes/nintendo/eshop-us.ts +0 -2
  737. package/lib/routes/nintendo/system-update.ts +2 -4
  738. package/lib/routes/nintendo/utils.ts +2 -5
  739. package/lib/routes/njit/jwc.ts +5 -6
  740. package/lib/routes/njit/tzgg.ts +6 -6
  741. package/lib/routes/njnu/ceai/ceai.ts +1 -1
  742. package/lib/routes/njnu/jwc/jwc.ts +3 -3
  743. package/lib/routes/nju/gra.ts +2 -2
  744. package/lib/routes/nju/scit.ts +8 -10
  745. package/lib/routes/nju/zbb.ts +19 -23
  746. package/lib/routes/njupt/jwc.ts +6 -6
  747. package/lib/routes/njust/cwc.ts +5 -9
  748. package/lib/routes/njust/dgxg.ts +5 -9
  749. package/lib/routes/njust/eo.ts +5 -9
  750. package/lib/routes/njust/eoe.ts +5 -9
  751. package/lib/routes/njust/jwc.ts +5 -9
  752. package/lib/routes/nltimes/news.ts +5 -5
  753. package/lib/routes/nmtv/column.ts +0 -2
  754. package/lib/routes/notateslaapp/update.ts +9 -13
  755. package/lib/routes/notefolio/search.ts +0 -2
  756. package/lib/routes/now/news.ts +3 -3
  757. package/lib/routes/nowcoder/discuss.ts +5 -5
  758. package/lib/routes/nowcoder/jobcenter.ts +3 -3
  759. package/lib/routes/npm/package.ts +0 -2
  760. package/lib/routes/ntdm/video.ts +4 -4
  761. package/lib/routes/ntdtv/channel.ts +2 -2
  762. package/lib/routes/nuaa/college/cae.ts +6 -6
  763. package/lib/routes/nuaa/college/cs.ts +6 -6
  764. package/lib/routes/nuaa/jwc/jwc.ts +6 -6
  765. package/lib/routes/nuaa/yjsy/yjsy.ts +6 -6
  766. package/lib/routes/nuist/bulletin.ts +20 -22
  767. package/lib/routes/nwafu/all.ts +3 -3
  768. package/lib/routes/nytimes/book.ts +3 -3
  769. package/lib/routes/nytimes/daily-briefing-chinese.ts +0 -2
  770. package/lib/routes/nytimes/rss.ts +5 -1
  771. package/lib/routes/oceanengine/arithmetic-index.ts +1 -3
  772. package/lib/routes/oeeee/app/channel.ts +0 -2
  773. package/lib/routes/oeeee/app/reporter.ts +0 -2
  774. package/lib/routes/oeeee/web.ts +0 -2
  775. package/lib/routes/oilchem/index.ts +3 -3
  776. package/lib/routes/oncc/index.ts +3 -5
  777. package/lib/routes/oncc/money18.ts +0 -2
  778. package/lib/routes/onet/news.ts +0 -2
  779. package/lib/routes/onet/utils.ts +0 -3
  780. package/lib/routes/openai/chatgpt.ts +2 -2
  781. package/lib/routes/openai/common.ts +69 -3
  782. package/lib/routes/openai/news.ts +32 -0
  783. package/lib/routes/openrice/chart.ts +0 -2
  784. package/lib/routes/openrice/offers.ts +0 -2
  785. package/lib/routes/openrice/promos.ts +0 -2
  786. package/lib/routes/orcid/index.ts +0 -2
  787. package/lib/routes/oreno3d/main.ts +40 -44
  788. package/lib/routes/oschina/column.ts +2 -4
  789. package/lib/routes/oschina/event.ts +2 -4
  790. package/lib/routes/oshwhub/explore.ts +0 -2
  791. package/lib/routes/osu/beatmaps/latest-ranked.ts +2 -4
  792. package/lib/routes/otobanana/utils.ts +0 -3
  793. package/lib/routes/oup/index.ts +0 -2
  794. package/lib/routes/p-articles/contributors.ts +5 -5
  795. package/lib/routes/p-articles/section.ts +5 -5
  796. package/lib/routes/papers/category.ts +2 -4
  797. package/lib/routes/papers/query.ts +0 -2
  798. package/lib/routes/parliament.uk/petitions.ts +0 -3
  799. package/lib/routes/patagonia/new-arrivals.ts +9 -16
  800. package/lib/routes/patreon/feed.ts +0 -3
  801. package/lib/routes/penguin-random-house/articles.ts +5 -7
  802. package/lib/routes/penguin-random-house/thereaddown.ts +5 -7
  803. package/lib/routes/penguin-random-house/utils.ts +1 -4
  804. package/lib/routes/people/index.ts +13 -13
  805. package/lib/routes/people/xjpjh.ts +5 -5
  806. package/lib/routes/phoronix/index.ts +2 -2
  807. package/lib/routes/pianyuan/app.ts +1 -1
  808. package/lib/routes/pianyuan/search.ts +2 -2
  809. package/lib/routes/picnob/user.ts +4 -6
  810. package/lib/routes/picuki/profile.ts +0 -2
  811. package/lib/routes/pikabu/utils.ts +0 -3
  812. package/lib/routes/pincong/hot.ts +6 -8
  813. package/lib/routes/pincong/index.ts +5 -7
  814. package/lib/routes/pincong/topic.ts +5 -7
  815. package/lib/routes/pixabay/search.ts +0 -2
  816. package/lib/routes/pixiv/api/get-ranking.ts +1 -1
  817. package/lib/routes/pixiv/pixiv-got.ts +1 -1
  818. package/lib/routes/piyao/jrpy.ts +3 -3
  819. package/lib/routes/pku/bbs/hot.ts +5 -7
  820. package/lib/routes/pku/cls/lecture.ts +3 -3
  821. package/lib/routes/pku/hr.ts +3 -3
  822. package/lib/routes/pku/nsd.ts +3 -3
  823. package/lib/routes/pku/pkuyjs.ts +9 -13
  824. package/lib/routes/pku/rccp/mzyt.ts +3 -3
  825. package/lib/routes/pku/scc/recruit.ts +3 -3
  826. package/lib/routes/playpcesor/rss.ts +3 -3
  827. package/lib/routes/pnas/index.ts +1 -3
  828. package/lib/routes/podwise/episodes.ts +1 -1
  829. package/lib/routes/pornhub/category.ts +2 -2
  830. package/lib/routes/pornhub/utils.ts +0 -3
  831. package/lib/routes/priconne-redive/news.ts +1 -1
  832. package/lib/routes/producthunt/today.ts +0 -2
  833. package/lib/routes/ps/monthly-games.ts +0 -2
  834. package/lib/routes/ps/trophy.ts +35 -43
  835. package/lib/routes/psyche/utils.ts +0 -3
  836. package/lib/routes/pts/curations.ts +0 -2
  837. package/lib/routes/pts/index.ts +0 -2
  838. package/lib/routes/pts/live.ts +0 -2
  839. package/lib/routes/pts/projects.ts +0 -2
  840. package/lib/routes/pubmed/trending.ts +0 -2
  841. package/lib/routes/qidian/author.ts +0 -2
  842. package/lib/routes/qidian/free-next.ts +11 -13
  843. package/lib/routes/qidian/free.ts +13 -15
  844. package/lib/routes/qingting/podcast.ts +1 -1
  845. package/lib/routes/qipamaijia/index.ts +3 -3
  846. package/lib/routes/qoo-app/apps/comment.ts +0 -2
  847. package/lib/routes/qoo-app/news.ts +1 -1
  848. package/lib/routes/qoo-app/notes/note.ts +0 -2
  849. package/lib/routes/qoo-app/user/app-comment.ts +0 -2
  850. package/lib/routes/qq/ac/utils.ts +0 -3
  851. package/lib/routes/qq/fact/index.ts +0 -2
  852. package/lib/routes/qq88/index.ts +3 -3
  853. package/lib/routes/questmobile/report.ts +0 -2
  854. package/lib/routes/qust/jw.ts +3 -3
  855. package/lib/routes/qweather/3days.ts +0 -2
  856. package/lib/routes/qweather/now.ts +0 -2
  857. package/lib/routes/radio/album.ts +0 -2
  858. package/lib/routes/radio/index.ts +0 -2
  859. package/lib/routes/radio/zhibo.ts +0 -2
  860. package/lib/routes/raspberrypi/magazine.ts +2 -4
  861. package/lib/routes/rattibha/templates/description.art +12 -0
  862. package/lib/routes/rattibha/user.ts +33 -24
  863. package/lib/routes/rawkuma/manga.ts +0 -2
  864. package/lib/routes/readhub/index.ts +0 -2
  865. package/lib/routes/readhub/util.ts +0 -3
  866. package/lib/routes/resonac/products.ts +1 -1
  867. package/lib/routes/reuters/common.ts +0 -2
  868. package/lib/routes/reuters/investigates.ts +3 -3
  869. package/lib/routes/rfi/namespace.ts +4 -1
  870. package/lib/routes/rfi/news.ts +15 -4
  871. package/lib/routes/routledge/book-series.ts +0 -2
  872. package/lib/routes/rsc/journal.ts +0 -2
  873. package/lib/routes/rsshub/routes.ts +1 -1
  874. package/lib/routes/ruc/ai.ts +2 -2
  875. package/lib/routes/rustcc/jobs.ts +1 -1
  876. package/lib/routes/rustcc/news.ts +1 -1
  877. package/lib/routes/sara/index.ts +1 -1
  878. package/lib/routes/saraba1st/digest.ts +7 -7
  879. package/lib/routes/saraba1st/namespace.ts +1 -1
  880. package/lib/routes/saraba1st/templates/digest.art +1 -1
  881. package/lib/routes/saraba1st/thread.ts +10 -6
  882. package/lib/routes/science/cover.ts +0 -2
  883. package/lib/routes/science/utils.ts +0 -3
  884. package/lib/routes/sciencedirect/call-for-paper.ts +0 -2
  885. package/lib/routes/scientificamerican/podcast.ts +0 -3
  886. package/lib/routes/scmp/index.ts +15 -10
  887. package/lib/routes/sctv/programme.ts +0 -2
  888. package/lib/routes/scut/jwc/news.ts +1 -1
  889. package/lib/routes/scut/jwc/notice.ts +1 -1
  890. package/lib/routes/scut/jwc/school.ts +1 -1
  891. package/lib/routes/sdu/cmse.ts +3 -3
  892. package/lib/routes/sdu/cs/index.ts +4 -4
  893. package/lib/routes/sdu/epe.ts +3 -3
  894. package/lib/routes/sdu/mech.ts +3 -4
  895. package/lib/routes/sdu/sc.ts +3 -3
  896. package/lib/routes/seekingalpha/index.ts +0 -2
  897. package/lib/routes/sensortower/blog.ts +0 -2
  898. package/lib/routes/shcstheatre/programs.ts +0 -2
  899. package/lib/routes/shiep/index.ts +0 -2
  900. package/lib/routes/shmeea/self-study.ts +1 -1
  901. package/lib/routes/shmtu/portal.ts +0 -2
  902. package/lib/routes/shoac/recent-show.ts +0 -2
  903. package/lib/routes/shopback/store.ts +3 -3
  904. package/lib/routes/shopify/apps/[handle].reviews.ts +1 -1
  905. package/lib/routes/shoppingdesign/posts.ts +26 -25
  906. package/lib/routes/shuiguopai/index.ts +0 -2
  907. package/lib/routes/sicau/dky.ts +3 -3
  908. package/lib/routes/sicau/jiaowu.ts +1 -1
  909. package/lib/routes/sicau/yan.ts +3 -3
  910. package/lib/routes/sicau/zsjy.ts +3 -3
  911. package/lib/routes/simpleinfo/index.ts +3 -5
  912. package/lib/routes/sina/utils.ts +0 -3
  913. package/lib/routes/sinchew/index.ts +0 -2
  914. package/lib/routes/sjtu/gs.ts +3 -3
  915. package/lib/routes/sjtu/tongqu/activity.ts +0 -2
  916. package/lib/routes/skeb/utils.ts +0 -3
  917. package/lib/routes/snowpeak/us-new-arrivals.ts +4 -6
  918. package/lib/routes/sobooks/utils.ts +3 -3
  919. package/lib/routes/sogou/search.ts +0 -2
  920. package/lib/routes/sohu/mobile.ts +149 -0
  921. package/lib/routes/sohu/mp.ts +0 -2
  922. package/lib/routes/soundofhope/channel.ts +3 -3
  923. package/lib/routes/southcn/nfapp/column.ts +0 -2
  924. package/lib/routes/southcn/nfapp/reporter.ts +0 -2
  925. package/lib/routes/spankbang/new-videos.ts +0 -2
  926. package/lib/routes/spotify/saved.ts +1 -1
  927. package/lib/routes/springer/journal.ts +5 -7
  928. package/lib/routes/sqmc/www.ts +1 -1
  929. package/lib/routes/sse/convert.ts +11 -5
  930. package/lib/routes/sse/disclosure.ts +9 -5
  931. package/lib/routes/sse/inquire.ts +0 -2
  932. package/lib/routes/sse/renewal.ts +2 -4
  933. package/lib/routes/ssm/news.ts +14 -18
  934. package/lib/routes/sspai/series.ts +21 -23
  935. package/lib/routes/startuplatte/index.ts +3 -3
  936. package/lib/routes/stcn/index.ts +2 -1
  937. package/lib/routes/stdaily/digitalpaper.ts +9 -11
  938. package/lib/routes/steam/appcommunityfeed.ts +0 -2
  939. package/lib/routes/steam/curator.ts +0 -3
  940. package/lib/routes/steam/news.ts +280 -0
  941. package/lib/routes/steam/workshop-search.ts +0 -2
  942. package/lib/routes/stheadline/std/realtime.ts +1 -1
  943. package/lib/routes/storm/index.ts +3 -3
  944. package/lib/routes/storyfm/episodes.ts +0 -2
  945. package/lib/routes/storyfm/index.ts +3 -3
  946. package/lib/routes/straitstimes/index.ts +0 -2
  947. package/lib/routes/surfshark/blog.ts +0 -2
  948. package/lib/routes/swjtu/utils.ts +0 -3
  949. package/lib/routes/swpu/cjxy.ts +1 -1
  950. package/lib/routes/swpu/dean.ts +1 -1
  951. package/lib/routes/swpu/dxy.ts +1 -1
  952. package/lib/routes/swpu/is.ts +1 -1
  953. package/lib/routes/syosetu/ranking-isekai.ts +1 -4
  954. package/lib/routes/syosetu/ranking-r18.ts +1 -4
  955. package/lib/routes/syosetu/ranking.ts +1 -4
  956. package/lib/routes/syosetu/search.ts +1 -4
  957. package/lib/routes/sysu/ygafz.ts +5 -31
  958. package/lib/routes/szftedu/gonggao.ts +1 -1
  959. package/lib/routes/szse/inquire.ts +0 -2
  960. package/lib/routes/szse/projectdynamic.ts +0 -2
  961. package/lib/routes/tailwindcss/blog.ts +26 -0
  962. package/lib/routes/tailwindcss/constants.ts +2 -0
  963. package/lib/routes/tailwindcss/namespace.ts +7 -0
  964. package/lib/routes/tailwindcss/utils.ts +68 -0
  965. package/lib/routes/taobao/zhongchou.ts +0 -2
  966. package/lib/routes/taptap/utils.ts +0 -3
  967. package/lib/routes/techcrunch/news.ts +0 -2
  968. package/lib/routes/telecompaper/news.ts +3 -3
  969. package/lib/routes/telecompaper/search.ts +3 -3
  970. package/lib/routes/telegram/blog.ts +1 -1
  971. package/lib/routes/telegram/channel.ts +482 -487
  972. package/lib/routes/telegram/scripts/get-telegram-session.mjs +1 -1
  973. package/lib/routes/telegram/tglib/channel.ts +4 -4
  974. package/lib/routes/telegram/tglib/client.ts +2 -2
  975. package/lib/routes/tencent/news/author.ts +0 -2
  976. package/lib/routes/tencent/news/coronavirus/data.ts +0 -2
  977. package/lib/routes/tencent/news/coronavirus/total.ts +0 -2
  978. package/lib/routes/tesla/cx.ts +0 -2
  979. package/lib/routes/tfc-taiwan/category.ts +53 -0
  980. package/lib/routes/tfc-taiwan/index.ts +26 -10
  981. package/lib/routes/tfc-taiwan/namespace.ts +4 -1
  982. package/lib/routes/tfc-taiwan/utils.ts +24 -52
  983. package/lib/routes/the/index.ts +0 -2
  984. package/lib/routes/theatlantic/utils.ts +0 -3
  985. package/lib/routes/theblockbeats/index.ts +0 -3
  986. package/lib/routes/thecover/channel.ts +6 -8
  987. package/lib/routes/theinitium/app.ts +5 -5
  988. package/lib/routes/theinitium/templates/description.art +0 -3
  989. package/lib/routes/themoviedb/utils.ts +0 -3
  990. package/lib/routes/thenewslens/index.ts +0 -2
  991. package/lib/routes/thepaper/839studio/category.ts +8 -12
  992. package/lib/routes/thepaper/839studio/studio.ts +8 -12
  993. package/lib/routes/thepaper/factpaper.ts +0 -2
  994. package/lib/routes/thepaper/utils.ts +0 -3
  995. package/lib/routes/theverge/index.ts +0 -3
  996. package/lib/routes/thoughtco/index.ts +0 -2
  997. package/lib/routes/tiktok/user.ts +0 -2
  998. package/lib/routes/timednews/news.ts +3 -3
  999. package/lib/routes/tingshuitz/changsha.ts +3 -3
  1000. package/lib/routes/tingshuitz/dongguan.ts +9 -13
  1001. package/lib/routes/tingshuitz/hangzhou.ts +9 -13
  1002. package/lib/routes/tingshuitz/nanjing.ts +13 -15
  1003. package/lib/routes/tingshuitz/shenzhen.ts +0 -2
  1004. package/lib/routes/tingshuitz/xian.ts +9 -11
  1005. package/lib/routes/tingshuitz/xiaoshan.ts +9 -13
  1006. package/lib/routes/tingshuitz/yangjiang.ts +10 -12
  1007. package/lib/routes/tingtingfm/program.ts +0 -2
  1008. package/lib/routes/tisi/index.ts +3 -3
  1009. package/lib/routes/tju/cic/index.ts +3 -3
  1010. package/lib/routes/tju/news/index.ts +1 -1
  1011. package/lib/routes/tju/oaa/index.ts +3 -3
  1012. package/lib/routes/tju/yzb/index.ts +3 -3
  1013. package/lib/routes/tmtpost/util.ts +0 -3
  1014. package/lib/routes/tophub/list.ts +0 -2
  1015. package/lib/routes/toutiao/user.ts +1 -4
  1016. package/lib/routes/tradingview/blog.ts +42 -44
  1017. package/lib/routes/transcriptforest/index.ts +0 -2
  1018. package/lib/routes/transformer-circuits/index.ts +0 -5
  1019. package/lib/routes/tribalfootball/latest.ts +3 -5
  1020. package/lib/routes/trow/portal.ts +11 -15
  1021. package/lib/routes/tvb/news.ts +0 -2
  1022. package/lib/routes/tvtropes/featured.ts +0 -2
  1023. package/lib/routes/twitter/api/mobile-api/login.ts +1 -1
  1024. package/lib/routes/twitter/utils.ts +9 -8
  1025. package/lib/routes/twreporter/fetch-article.ts +0 -3
  1026. package/lib/routes/txrjy/fornumtopic.ts +5 -7
  1027. package/lib/routes/uber/blog.ts +1 -1
  1028. package/lib/routes/ucas/index.ts +1 -1
  1029. package/lib/routes/udn/breaking-news.ts +2 -4
  1030. package/lib/routes/uestc/auto.ts +3 -3
  1031. package/lib/routes/uestc/cqe.ts +3 -3
  1032. package/lib/routes/uestc/news.ts +3 -3
  1033. package/lib/routes/uestc/scse.ts +3 -3
  1034. package/lib/routes/uestc/sice.ts +3 -3
  1035. package/lib/routes/uestc/sise.ts +3 -3
  1036. package/lib/routes/ulapia/index.ts +4 -4
  1037. package/lib/routes/ulapia/research.ts +3 -3
  1038. package/lib/routes/unusualwhales/news.ts +10 -8
  1039. package/lib/routes/uptimerobot/rss.ts +0 -2
  1040. package/lib/routes/urbandictionary/random.ts +0 -2
  1041. package/lib/routes/ustb/tj/news.ts +1 -1
  1042. package/lib/routes/ustb/yjsy/news.ts +40 -44
  1043. package/lib/routes/ustc/index.ts +4 -4
  1044. package/lib/routes/ustc/jwc.ts +5 -5
  1045. package/lib/routes/usts/jwch.ts +3 -3
  1046. package/lib/routes/utgd/utils.ts +0 -3
  1047. package/lib/routes/uw/gix/news.ts +3 -3
  1048. package/lib/routes/v2ex/xna.ts +1 -1
  1049. package/lib/routes/vcb-s/category.ts +0 -2
  1050. package/lib/routes/vcb-s/index.ts +0 -2
  1051. package/lib/routes/verfghbw/press.ts +3 -3
  1052. package/lib/routes/vice/topic.ts +1 -3
  1053. package/lib/routes/vimeo/category.ts +0 -2
  1054. package/lib/routes/vimeo/channel.ts +16 -20
  1055. package/lib/routes/vimeo/usr-videos.ts +0 -2
  1056. package/lib/routes/visionias/utils.ts +0 -3
  1057. package/lib/routes/visualstudio/code-blog.ts +67 -0
  1058. package/lib/routes/visualstudio/namespace.ts +7 -0
  1059. package/lib/routes/wainao/topics.ts +0 -3
  1060. package/lib/routes/wallhaven/index.ts +3 -3
  1061. package/lib/routes/wallpaperhub/index.ts +0 -2
  1062. package/lib/routes/wallstreetcn/live.ts +0 -2
  1063. package/lib/routes/warp/blog.ts +77 -0
  1064. package/lib/routes/warp/namespace.ts +7 -0
  1065. package/lib/routes/warthunder/news.ts +0 -2
  1066. package/lib/routes/washingtonpost/app.ts +3 -5
  1067. package/lib/routes/wechat/data258.ts +4 -4
  1068. package/lib/routes/wechat/msgalbum.ts +1 -1
  1069. package/lib/routes/wechat/tgchannel.ts +113 -115
  1070. package/lib/routes/weibo/friends.ts +1 -1
  1071. package/lib/routes/weibo/group.ts +1 -1
  1072. package/lib/routes/weibo/keyword.ts +1 -1
  1073. package/lib/routes/weibo/search/hot.ts +1 -3
  1074. package/lib/routes/weibo/timeline.ts +1 -1
  1075. package/lib/routes/weibo/user-bookmarks.ts +1 -1
  1076. package/lib/routes/weibo/user.ts +9 -8
  1077. package/lib/routes/weibo/utils.ts +1 -1
  1078. package/lib/routes/wellcee/rent.ts +1 -3
  1079. package/lib/routes/wenku8/index.ts +3 -3
  1080. package/lib/routes/wfu/jwc.ts +18 -20
  1081. package/lib/routes/wfu/news.ts +18 -20
  1082. package/lib/routes/who/news-room.ts +8 -10
  1083. package/lib/routes/whu/gs/index.ts +2 -2
  1084. package/lib/routes/whu/news.ts +0 -2
  1085. package/lib/routes/whu/util.ts +0 -3
  1086. package/lib/routes/winstall/update.ts +0 -2
  1087. package/lib/routes/wise/pair.ts +1 -3
  1088. package/lib/routes/wizfile/index.ts +3 -3
  1089. package/lib/routes/wmc-bj/publish.ts +0 -2
  1090. package/lib/routes/wnacg/common.ts +0 -3
  1091. package/lib/routes/woshipm/popular.ts +3 -2
  1092. package/lib/routes/wsj/news.ts +3 -2
  1093. package/lib/routes/wsj/utils.ts +1 -12
  1094. package/lib/routes/wsyu/news.ts +6 -6
  1095. package/lib/routes/wtu/job.ts +3 -3
  1096. package/lib/routes/wzu/news.ts +13 -17
  1097. package/lib/routes/x-mol/news.ts +0 -2
  1098. package/lib/routes/x-mol/paper.ts +17 -22
  1099. package/lib/routes/xaut/index.ts +4 -4
  1100. package/lib/routes/xaut/jwc.ts +3 -3
  1101. package/lib/routes/xaut/rsc.ts +3 -3
  1102. package/lib/routes/xiaohongshu/user.ts +1 -1
  1103. package/lib/routes/xiaohongshu/util.ts +10 -6
  1104. package/lib/routes/xiaomiyoupin/crowdfunding.ts +0 -2
  1105. package/lib/routes/xiaomiyoupin/utils.ts +0 -3
  1106. package/lib/routes/xiaoyuzhou/podcast.ts +17 -4
  1107. package/lib/routes/ximalaya/utils.ts +2 -2
  1108. package/lib/routes/xinpianchang/util.ts +0 -3
  1109. package/lib/routes/xjtu/dean.ts +3 -7
  1110. package/lib/routes/xjtu/ee-jzxx.ts +110 -0
  1111. package/lib/routes/xjtu/ee.ts +3 -3
  1112. package/lib/routes/xjtu/gs/tzgg.ts +3 -3
  1113. package/lib/routes/xjtu/job.ts +0 -2
  1114. package/lib/routes/xjtu/std.ts +0 -2
  1115. package/lib/routes/xjtu/zs.ts +2 -1
  1116. package/lib/routes/xkb/index.ts +0 -2
  1117. package/lib/routes/xmanhua/index.ts +13 -15
  1118. package/lib/routes/xmut/jwc/bkjw.ts +3 -3
  1119. package/lib/routes/xueqiu/stock-comments.ts +0 -2
  1120. package/lib/routes/xys/new.ts +0 -2
  1121. package/lib/routes/xyzrank/index.ts +0 -2
  1122. package/lib/routes/yahoo/news/listid.ts +1 -1
  1123. package/lib/routes/yahoo/news/utils.ts +0 -3
  1124. package/lib/routes/yamibo/bbs/forum.ts +5 -4
  1125. package/lib/routes/yamibo/utils.ts +0 -9
  1126. package/lib/routes/ycwb/index.ts +0 -2
  1127. package/lib/routes/yenpress/series.ts +1 -4
  1128. package/lib/routes/ygkkk/rss.ts +3 -3
  1129. package/lib/routes/yicai/dt.ts +0 -2
  1130. package/lib/routes/yicai/utils.ts +0 -3
  1131. package/lib/routes/yilinzazhi/latest.ts +1 -1
  1132. package/lib/routes/ymgal/game.ts +1 -3
  1133. package/lib/routes/yoasobi-music/info.ts +0 -2
  1134. package/lib/routes/yoasobi-music/live.ts +0 -2
  1135. package/lib/routes/yoasobi-music/media.ts +3 -8
  1136. package/lib/routes/yomujp/level.ts +2 -2
  1137. package/lib/routes/youku/channel.ts +24 -28
  1138. package/lib/routes/youtube/api/google.ts +189 -0
  1139. package/lib/routes/youtube/api/youtubei.ts +98 -0
  1140. package/lib/routes/youtube/channel.ts +10 -35
  1141. package/lib/routes/youtube/community.ts +3 -5
  1142. package/lib/routes/youtube/playlist.ts +10 -29
  1143. package/lib/routes/youtube/subscriptions.ts +3 -11
  1144. package/lib/routes/youtube/user.ts +10 -90
  1145. package/lib/routes/youtube/utils.ts +12 -42
  1146. package/lib/routes/yuanliao/index.ts +218 -0
  1147. package/lib/routes/yuanliao/namespace.ts +9 -0
  1148. package/lib/routes/yxdown/news.ts +3 -3
  1149. package/lib/routes/yxdown/recommend.ts +3 -3
  1150. package/lib/routes/yxdzqb/index.ts +17 -21
  1151. package/lib/routes/yyets/today.ts +8 -12
  1152. package/lib/routes/zagg/new-arrivals.ts +7 -9
  1153. package/lib/routes/zaimanhua/comic.ts +88 -0
  1154. package/lib/routes/zaimanhua/namespace.ts +7 -0
  1155. package/lib/routes/zaimanhua/template/comic.art +3 -0
  1156. package/lib/routes/zaimanhua/update.ts +86 -0
  1157. package/lib/routes/zaker/channel.ts +2 -5
  1158. package/lib/routes/zaker/focus.ts +2 -5
  1159. package/lib/routes/zaobao/util.ts +2 -5
  1160. package/lib/routes/zcmu/jwc/index.ts +3 -3
  1161. package/lib/routes/zcmu/yxy/index.ts +3 -3
  1162. package/lib/routes/zcool/discover.ts +0 -2
  1163. package/lib/routes/zcool/user.ts +1 -1
  1164. package/lib/routes/zcool/utils.ts +0 -3
  1165. package/lib/routes/zed/blog.ts +75 -0
  1166. package/lib/routes/zed/namespace.ts +7 -0
  1167. package/lib/routes/zhibo8/luxiang.ts +1 -1
  1168. package/lib/routes/zhihu/hot.ts +28 -8
  1169. package/lib/routes/zhihu/pin/utils.ts +5 -5
  1170. package/lib/routes/zhihu/weekly.ts +7 -7
  1171. package/lib/routes/zhitongcaijing/index.ts +0 -2
  1172. package/lib/routes/zhiy/post.ts +0 -2
  1173. package/lib/routes/zhonglun/index.ts +0 -2
  1174. package/lib/routes/zhubai/top20.ts +0 -2
  1175. package/lib/routes/zhujiceping/rss.ts +3 -3
  1176. package/lib/routes/zimuxia/portfolio.ts +1 -1
  1177. package/lib/routes/zju/career/index.ts +10 -14
  1178. package/lib/routes/zju/cst/custom.ts +11 -16
  1179. package/lib/routes/zju/cst/index.ts +8 -13
  1180. package/lib/routes/zju/grs/index.ts +9 -13
  1181. package/lib/routes/zju/list.ts +6 -6
  1182. package/lib/routes/zju/physics/index.ts +3 -3
  1183. package/lib/routes/zjut/da/index.ts +3 -3
  1184. package/lib/routes/zjut/news.ts +3 -3
  1185. package/lib/routes/zodgame/forum.ts +0 -2
  1186. package/lib/routes/zotero/versions.ts +13 -17
  1187. package/lib/routes/zrblog/rss.ts +3 -3
  1188. package/lib/routes/zuvio/utils.ts +0 -3
  1189. package/lib/routes/zxcs/namespace.ts +7 -0
  1190. package/lib/routes/zxcs/novel.ts +95 -0
  1191. package/lib/routes/zyshow/index.ts +0 -2
  1192. package/lib/setup.test.ts +2 -0
  1193. package/lib/utils/camelcase-keys.spec.ts +3 -3
  1194. package/lib/utils/camelcase-keys.ts +4 -3
  1195. package/lib/utils/common-config.test.ts +3 -2
  1196. package/lib/utils/common-config.ts +17 -13
  1197. package/lib/utils/common-utils.ts +1 -1
  1198. package/lib/utils/git-hash.ts +1 -1
  1199. package/lib/utils/helpers.test.ts +8 -1
  1200. package/lib/utils/helpers.ts +20 -1
  1201. package/lib/utils/md5.ts +1 -1
  1202. package/lib/utils/parse-date.ts +4 -4
  1203. package/lib/utils/rand-user-agent.test.ts +2 -2
  1204. package/lib/utils/timezone.ts +1 -1
  1205. package/lib/utils/wechat-mp.ts +3 -2
  1206. package/package.json +55 -51
  1207. package/lib/routes/copernicium/index.ts +0 -75
  1208. package/lib/routes/dnaindia/category.ts +0 -0
  1209. package/lib/routes/jiemian/list.ts +0 -14
  1210. package/lib/routes/mihoyo/templates/ys.art +0 -4
  1211. package/lib/routes/openai/blog.ts +0 -66
  1212. package/lib/routes/rsshub/referer-map.ts +0 -14
  1213. package/lib/routes/tfc-taiwan/common.ts +0 -38
  1214. package/lib/routes/tfc-taiwan/topic.ts +0 -17
  1215. package/lib/routes/trending/all-trending.ts +0 -228
  1216. package/lib/routes/trending/templates/content.art +0 -25
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import cache from '@/utils/cache';
6
4
  import path from 'node:path';
@@ -30,7 +28,8 @@ const getPageLength = async (url) => {
30
28
  const getArticleList = ($, paperUrl) => {
31
29
  const pageName = $('.zi .zi-top .banci strong').text();
32
30
  const list = $('.zi-meat ul>li')
33
- .map((_, item) => {
31
+ .toArray()
32
+ .map((item) => {
34
33
  const link = $(item).find('a').attr('href');
35
34
  const title = $(item).find('a div').text();
36
35
  return {
@@ -38,8 +37,7 @@ const getArticleList = ($, paperUrl) => {
38
37
  title: `[${pageName}] ${title}`,
39
38
  // pubDate,
40
39
  };
41
- })
42
- .get();
40
+ });
43
41
 
44
42
  return list;
45
43
  };
@@ -69,11 +67,13 @@ const getListArticles = async (list, cache) => {
69
67
  const subtitle = $('.right-meat .futi').text();
70
68
  const article = $('.right-meat .tuwen .article #ozoom').html();
71
69
  const pics = $('.right-meat .tuwen .picture')
72
- .map((_, item) => {
70
+ .toArray()
71
+ .map((item) => {
73
72
  const pic = {};
74
73
  $(item)
75
74
  .find('tr')
76
- .map((_, row) => {
75
+ .toArray()
76
+ .map((row) => {
77
77
  const src = $(row).find('img').attr('src');
78
78
  if (src) {
79
79
  pic.src = src;
@@ -81,11 +81,9 @@ const getListArticles = async (list, cache) => {
81
81
  pic.des = $(row).find('td').text();
82
82
  }
83
83
  return null;
84
- })
85
- .get();
84
+ });
86
85
  return pic;
87
- })
88
- .get();
86
+ });
89
87
 
90
88
  item.author = $('.right-meat .author').text();
91
89
  item.description = renderDescription({ subtitle, quotation, article, pics });
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import ofetch from '@/utils/ofetch';
6
4
  import { art } from '@/utils/render';
@@ -2,12 +2,9 @@ import { Route } from '@/types';
2
2
  import ofetch from '@/utils/ofetch';
3
3
  import { load } from 'cheerio';
4
4
  import { parseDate } from '@/utils/parse-date';
5
- import { getCurrentPath } from '@/utils/helpers';
6
5
  import path from 'node:path';
7
6
  import { art } from '@/utils/render';
8
7
 
9
- const __dirname = getCurrentPath(import.meta.url);
10
-
11
8
  export const route: Route = {
12
9
  path: '/curator/:id/:routeParams?',
13
10
  categories: ['game'],
@@ -0,0 +1,280 @@
1
+ import { Route, Data, DataItem } from '@/types';
2
+ import type { BBobCoreTagNodeTree, PresetFactory, NodeContent } from '@bbob/types';
3
+
4
+ import got from '@/utils/got';
5
+ import bbobHTML from '@bbob/html';
6
+ import presetHTML5 from '@bbob/preset-html5';
7
+ import { getUniqAttr } from '@bbob/plugin-helper';
8
+ import { parseDate } from '@/utils/parse-date';
9
+ import type { Context } from 'hono';
10
+
11
+ export const route: Route = {
12
+ path: '/news/:appid/:language?',
13
+ name: 'News',
14
+ url: 'steamcommunity.com',
15
+ maintainers: ['keocheung'],
16
+ handler,
17
+ example: '/news/958260/english',
18
+ parameters: {
19
+ appid: 'Game App ID, all digits, can be found in the URL',
20
+ language: 'Language, english by default, see below for more languages',
21
+ },
22
+ description: `
23
+ <details>
24
+ <summary>More languages</summary>
25
+
26
+ | 语言代码 | 语言名称 |
27
+ | ------------------------------------------------- | ---------- |
28
+ | English | english |
29
+ | Español - España (Spanish - Spain) | spanish |
30
+ | Français (French) | french |
31
+ | Italiano (Italian) | italian |
32
+ | Deutsch (German) | german |
33
+ | Ελληνικά (Greek) | greek |
34
+ | 한국어 (Korean) | koreana |
35
+ | 简体中文 (Simplified Chinese) | schinese |
36
+ | 繁體中文 (Traditional Chinese) | tchinese |
37
+ | Русский (Russian) | russian |
38
+ | ไทย (Thai) | thai |
39
+ | 日本語 (Japanese) | japanese |
40
+ | Português (Portuguese) | portuguese |
41
+ | Português - Brasil (Portuguese - Brazil) | brazilian |
42
+ | Polski (Polish) | polish |
43
+ | Dansk (Danish) | danish |
44
+ | Nederlands (Dutch) | dutch |
45
+ | Suomi (Finnish) | finnish |
46
+ | Norsk (Norwegian) | norwegian |
47
+ | Svenska (Swedish) | swedish |
48
+ | Čeština (Czech) | czech |
49
+ | Magyar (Hungarian) | hungarian |
50
+ | Română (Romanian) | romanian |
51
+ | Български (Bulgarian) | bulgarian |
52
+ | Türkçe (Turkish) | turkish |
53
+ | Українська (Ukrainian) | ukrainian |
54
+ | Tiếng Việt (Vietnamese) | vietnamese |
55
+ | Español - Latinoamérica (Spanish - Latin America) | latam |
56
+
57
+ </details>
58
+ `,
59
+ categories: ['game'],
60
+ features: {
61
+ requireConfig: false,
62
+ requirePuppeteer: false,
63
+ antiCrawler: false,
64
+ supportRadar: true,
65
+ supportBT: false,
66
+ supportPodcast: false,
67
+ supportScihub: false,
68
+ },
69
+ radar: [
70
+ {
71
+ title: 'News',
72
+ source: ['steamcommunity.com/app/:appid', 'steamcommunity.com/app/:appid/allnews', 'steamcommunity.com/app/:appid/announcements', 'steamcommunity.com/app/:appid/news'],
73
+ target: '/news/:appid',
74
+ },
75
+ ],
76
+ };
77
+
78
+ const langMap = {
79
+ english: 'en',
80
+ german: 'de',
81
+ french: 'fr',
82
+ italian: 'it',
83
+ korean: 'ko',
84
+ spanish: 'es',
85
+ schinese: 'zh-Hans',
86
+ tchinese: 'zh-Hant',
87
+ japanese: 'ja',
88
+ portuguese: 'pt-PT',
89
+ brazilian: 'pt-BR',
90
+ russian: 'ru',
91
+ polish: 'pl',
92
+ danish: 'da',
93
+ dutch: 'nl',
94
+ finnish: 'fi',
95
+ norwegian: 'no',
96
+ swedish: 'sv',
97
+ czech: 'cs',
98
+ hungarian: 'hu',
99
+ turkish: 'tr',
100
+ thai: 'th',
101
+ ukrainian: 'uk',
102
+ vietnamese: 'vi',
103
+ romanian: 'ro',
104
+ greek: 'el',
105
+ arabic: 'ar',
106
+ latam: 'es-419',
107
+ bulgarian: 'bg',
108
+ };
109
+
110
+ async function handler(ctx: Context): Promise<Data> {
111
+ const { appid = '958260', language = 'english' } = ctx.req.param();
112
+ const limitQuery = ctx.req.query('limit');
113
+ const limit = limitQuery ? Number.parseInt(limitQuery, 10) : 100;
114
+
115
+ const rootUrl = 'https://steamcommunity.com';
116
+ const apiRootUrl = 'https://store.steampowered.com';
117
+ const clanRootUrl = 'https://clan.fastly.steamstatic.com';
118
+ const sharedRootUrl = 'https://shared.fastly.steamstatic.com';
119
+ const apiUrl = new URL('events/ajaxgetpartnereventspageable/', apiRootUrl).href;
120
+
121
+ const { data: response } = await got(apiUrl, {
122
+ searchParams: {
123
+ clan_accountid: 0,
124
+ appid,
125
+ offset: 0,
126
+ count: limit,
127
+ l: language,
128
+ },
129
+ });
130
+
131
+ const items: DataItem[] = response.events.slice(0, limit).map((item): DataItem => {
132
+ const title = item.event_name;
133
+ const description = `<div lang="${langMap[language] || ''}">${bbobHTML(
134
+ item.announcement_body.body
135
+ .replaceAll('{STEAM_CLAN_IMAGE}', `${clanRootUrl}/images`)
136
+ .replaceAll('[olist]', '[list=1]')
137
+ .replaceAll('[/olist]', '[/list]')
138
+ .replaceAll(/(\[\/h\d\])\n/g, '$1')
139
+ .replaceAll(/(\[list(?:=.*?)?\])\n/g, '$1'),
140
+ [customPreset(), linebreakRenderer, plainUrlRenderer]
141
+ )}</div>`;
142
+ const jsondata = JSON.parse(item.jsondata);
143
+ const titleImage = jsondata.localized_title_image ? jsondata.localized_capsule_image[0] : null;
144
+ const capsuleImage = jsondata.localized_capsule_image ? jsondata.localized_capsule_image[0] : null;
145
+
146
+ return {
147
+ title,
148
+ description,
149
+ pubDate: parseDate(item.announcement_body.posttime, 'X'),
150
+ link: new URL(`games/${appid}/announcements/detail/${item.announcement_body.gid}`, rootUrl).href,
151
+ category: item.announcement_body.tags,
152
+ content: {
153
+ html: description,
154
+ text: item.announcement_body.body,
155
+ },
156
+ updated: parseDate(item.announcement_body.updatetime, 'X'),
157
+ image: new URL(`images/${item.announcement_body.clanid}/${capsuleImage}`, clanRootUrl).href,
158
+ banner: new URL(`images/${item.announcement_body.clanid}/${titleImage}`, clanRootUrl).href,
159
+ };
160
+ });
161
+
162
+ return {
163
+ title: `App ${appid} News`,
164
+ link: new URL(`app/${appid}/allnews/`, rootUrl).href,
165
+ image: new URL(`store_item_assets/steam/apps/${appid}/hero_capsule.jpg`, sharedRootUrl).href,
166
+ item: items,
167
+ language: langMap[language] || null,
168
+ };
169
+ }
170
+
171
+ const linebreakRenderer = (tree: BBobCoreTagNodeTree) =>
172
+ tree.walk((node) => {
173
+ if (typeof node === 'string' && node === '\n') {
174
+ return {
175
+ tag: 'br',
176
+ content: null,
177
+ };
178
+ }
179
+ return node;
180
+ });
181
+
182
+ const plainUrlRenderer = (tree: BBobCoreTagNodeTree) =>
183
+ tree.walk((node) => {
184
+ if (typeof node === 'string' && /https?:\/\/[^\s]+/.test(node)) {
185
+ let lastIndex = 0;
186
+ let match: RegExpExecArray | null;
187
+ const content: NodeContent[] = [];
188
+
189
+ const urlRe = /https?:\/\/[^\s]+/g;
190
+ while ((match = urlRe.exec(node)) !== null) {
191
+ if (match.index > lastIndex) {
192
+ content.push(node.slice(lastIndex, match.index));
193
+ }
194
+ content.push({
195
+ tag: 'a',
196
+ attrs: {
197
+ href: match[0],
198
+ rel: 'noopener',
199
+ target: '_blank',
200
+ },
201
+ content: match[0],
202
+ });
203
+
204
+ lastIndex = match.index + match[0].length;
205
+ }
206
+
207
+ if (lastIndex < node.length) {
208
+ content.push(node.slice(lastIndex));
209
+ }
210
+
211
+ if (content.length === 0) {
212
+ return node;
213
+ }
214
+ if (content.length === 1) {
215
+ return content[0];
216
+ }
217
+ return {
218
+ tag: 'span',
219
+ content,
220
+ };
221
+ }
222
+ return node;
223
+ });
224
+
225
+ const customPreset: PresetFactory = presetHTML5.extend((tags) => ({
226
+ ...tags,
227
+ b: (node) => ({
228
+ tag: 'b',
229
+ content: node.content,
230
+ }),
231
+ i: (node) => ({
232
+ tag: 'i',
233
+ content: node.content,
234
+ }),
235
+ u: (node) => ({
236
+ tag: 'u',
237
+ content: node.content,
238
+ }),
239
+ s: (node) => ({
240
+ tag: 's',
241
+ content: node.content,
242
+ }),
243
+ url: (node) => ({
244
+ tag: 'a',
245
+ attrs: {
246
+ href: Object.keys(node.attrs as Record<string, string>)[0],
247
+ rel: 'noopener',
248
+ target: '_blank',
249
+ },
250
+ content: node.content,
251
+ }),
252
+ previewyoutube: (node) => ({
253
+ tag: 'iframe',
254
+ attrs: {
255
+ src: `https://www.youtube-nocookie.com/embed/${(getUniqAttr(node.attrs) as string).match(/[A-Za-z0-9_-]+/)?.[0]}`,
256
+ title: 'YouTube video player',
257
+ frameborder: '0',
258
+ },
259
+ }),
260
+ video: (node, { render }) => ({
261
+ tag: 'video',
262
+ attrs: {
263
+ controls: '',
264
+ preload: 'metadata',
265
+ poster: node.attrs?.poster,
266
+ },
267
+ content: render(
268
+ Object.entries({
269
+ webm: 'video/webm',
270
+ mp4: 'video/mp4',
271
+ }).map(([key, type]) => ({
272
+ tag: 'source',
273
+ attrs: {
274
+ src: node.attrs?.[key],
275
+ type,
276
+ },
277
+ }))
278
+ ),
279
+ }),
280
+ }));
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import ofetch from '@/utils/ofetch';
6
4
  import { load } from 'cheerio';
@@ -27,7 +27,7 @@ async function handler(ctx) {
27
27
  return {
28
28
  title: item.attr('title'),
29
29
  link: item.attr('href'),
30
- guid: item.attr('href').substring(0, item.attr('href').lastIndexOf('/')),
30
+ guid: item.attr('href').slice(0, item.attr('href').lastIndexOf('/')),
31
31
  };
32
32
  });
33
33
 
@@ -51,15 +51,15 @@ async function handler(ctx) {
51
51
  const $ = load(response.data);
52
52
 
53
53
  const list = $('.link_title')
54
- .map((_, item) => {
54
+ .toArray()
55
+ .map((item) => {
55
56
  item = $(item);
56
57
 
57
58
  return {
58
59
  title: item.text(),
59
60
  link: item.attr('href'),
60
61
  };
61
- })
62
- .get();
62
+ });
63
63
 
64
64
  const items = await Promise.all(
65
65
  list.map((item) =>
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import cache from '@/utils/cache';
6
4
  import got from '@/utils/got';
@@ -32,7 +32,8 @@ async function handler() {
32
32
  const $ = load(response.data);
33
33
  const cnMonth = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'];
34
34
  const items = $('.isotope > .isotope-item')
35
- .map((_, ele) => {
35
+ .toArray()
36
+ .map((ele) => {
36
37
  const $item = load(ele);
37
38
  const img = $item('.isotope-img-container img').attr('src');
38
39
  const infoNode = $item('.isotope-index-text').first();
@@ -58,8 +59,7 @@ async function handler() {
58
59
  link,
59
60
  pubDate,
60
61
  };
61
- })
62
- .get();
62
+ });
63
63
  return {
64
64
  title: '故事说FM',
65
65
  description: '故事说FM',
@@ -2,7 +2,6 @@ import { Route } from '@/types';
2
2
  import cache from '@/utils/cache';
3
3
  import got from '@/utils/got';
4
4
  import { parseDate } from '@/utils/parse-date';
5
- import { getCurrentPath } from '@/utils/helpers';
6
5
  import path from 'node:path';
7
6
  import { art } from '@/utils/render';
8
7
 
@@ -62,7 +61,6 @@ async function handler(ctx) {
62
61
  const section = ctx.req.param('section') ? ctx.req.param('section').toLowerCase() : undefined;
63
62
  const apiKey = 'T9XUJM9rAZoLOd2CAx2wCBSTrm3xoyPw';
64
63
  const platform = 'iosflex';
65
- const __dirname = getCurrentPath(import.meta.url);
66
64
  let feed;
67
65
  const response = await got({
68
66
  method: 'get',
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import cache from '@/utils/cache';
6
4
  import got from '@/utils/got';
@@ -1,6 +1,3 @@
1
- import { getCurrentPath } from '@/utils/helpers';
2
- const __dirname = getCurrentPath(import.meta.url);
3
-
4
1
  import got from '@/utils/got';
5
2
  import { art } from '@/utils/render';
6
3
  import { parseDate } from '@/utils/parse-date';
@@ -40,7 +40,7 @@ async function handler(ctx) {
40
40
  const $ = load(res.data);
41
41
 
42
42
  let title = $('title').text();
43
- title = title.substring(0, title.indexOf('-'));
43
+ title = title.slice(0, title.indexOf('-'));
44
44
 
45
45
  const items = $('.main_conRCb > ul > li')
46
46
  .toArray()
@@ -41,7 +41,7 @@ async function handler(ctx): Promise<Data> {
41
41
  const $ = load(res.data);
42
42
 
43
43
  let title = $('.r_list > h3').text();
44
- title = title.substring(title.indexOf(':') + 1);
44
+ title = title.slice(title.indexOf(':') + 1);
45
45
 
46
46
  // 获取标题、时间及链接
47
47
  const items: DataItem[] = $('.r_list > ul > li')
@@ -43,7 +43,7 @@ async function handler(ctx): Promise<Data> {
43
43
  const $ = load(res.data);
44
44
 
45
45
  let title = $('title').text();
46
- title = title.substring(0, title.indexOf('-'));
46
+ title = title.slice(0, title.indexOf('-'));
47
47
 
48
48
  // 获取标题、时间及链接
49
49
  const items: DataItem[] = $('tr[height="20"]')
@@ -40,7 +40,7 @@ async function handler(ctx) {
40
40
  const $ = load(res.data);
41
41
 
42
42
  let title = $('title').text();
43
- title = title.substring(0, title.indexOf('-'));
43
+ title = title.slice(0, title.indexOf('-'));
44
44
 
45
45
  const items = $('tr[height="20"]')
46
46
  .toArray()
@@ -2,13 +2,10 @@ import { Data, DataItem } from '@/types';
2
2
  import { NarouNovelFetch, SearchBuilder, SearchParams, BigGenre } from 'narou';
3
3
  import { art } from '@/utils/render';
4
4
  import path from 'node:path';
5
- import { getCurrentPath } from '@/utils/helpers';
6
5
  import InvalidParameterError from '@/errors/types/invalid-parameter';
7
6
  import { Join } from 'narou/util/type';
8
7
  import { RankingPeriod, NovelType, periodToJapanese, novelTypeToJapanese, periodToOrder, periodToPointField, IsekaiCategory, isekaiCategoryToJapanese } from './types/ranking';
9
8
 
10
- const __dirname = getCurrentPath(import.meta.url);
11
-
12
9
  export function parseIsekaiRankingType(type: string): { period: RankingPeriod; category: IsekaiCategory; novelType: NovelType } {
13
10
  const [periodStr, categoryStr, novelTypeStr = NovelType.TOTAL] = type.split('_');
14
11
 
@@ -77,7 +74,7 @@ export async function handleIsekaiRanking(type: string, limit: number): Promise<
77
74
  .map((novel, index) => ({
78
75
  title: `#${index + 1} ${novel.title}`,
79
76
  link: `https://ncode.syosetu.com/${String(novel.ncode).toLowerCase()}`,
80
- description: art(path.join(__dirname, 'templates', 'description.art'), {
77
+ description: art(path.join(__dirname, 'templates/description.art'), {
81
78
  novel,
82
79
  }),
83
80
  author: novel.writer,
@@ -4,11 +4,8 @@ import path from 'node:path';
4
4
  import { Context } from 'hono';
5
5
  import { SearchBuilderR18, SearchParams, NarouNovelFetch } from 'narou';
6
6
  import InvalidParameterError from '@/errors/types/invalid-parameter';
7
- import { getCurrentPath } from '@/utils/helpers';
8
7
  import { RankingPeriod, periodToJapanese, novelTypeToJapanese, periodToOrder, NovelType, SyosetuSub, syosetuSubToJapanese, syosetuSubToNocgenre } from './types/ranking-r18';
9
8
 
10
- const __dirname = getCurrentPath(import.meta.url);
11
-
12
9
  /**
13
10
  * Implementation of "Syosetu" R18 Rankings
14
11
  *
@@ -176,7 +173,7 @@ async function handler(ctx: Context): Promise<Data> {
176
173
  const items = result.values.map((novel, index) => ({
177
174
  title: `#${index + 1} ${novel.title}`,
178
175
  link: `https://novel18.syosetu.com/${String(novel.ncode).toLowerCase()}`,
179
- description: art(path.join(__dirname, 'templates', 'description.art'), {
176
+ description: art(path.join(__dirname, 'templates/description.art'), {
180
177
  novel,
181
178
  }),
182
179
  author: novel.writer,
@@ -4,12 +4,9 @@ import path from 'node:path';
4
4
  import { Context } from 'hono';
5
5
  import { Genre, SearchBuilder, SearchParams, NarouNovelFetch, GenreNotation } from 'narou';
6
6
  import InvalidParameterError from '@/errors/types/invalid-parameter';
7
- import { getCurrentPath } from '@/utils/helpers';
8
7
  import { handleIsekaiRanking } from './ranking-isekai';
9
8
  import { RankingPeriod, periodToJapanese, novelTypeToJapanese, periodToOrder, RankingType, NovelType, isekaiCategoryToJapanese, IsekaiCategory } from './types/ranking';
10
9
 
11
- const __dirname = getCurrentPath(import.meta.url);
12
-
13
10
  const getParameters = () => {
14
11
  // Generate ranking type options
15
12
  const rankingTypeOptions = [
@@ -269,7 +266,7 @@ async function handler(ctx: Context): Promise<Data> {
269
266
  const items = result.values.map((novel, index) => ({
270
267
  title: `#${index + 1} ${novel.title}`,
271
268
  link: `https://ncode.syosetu.com/${String(novel.ncode).toLowerCase()}`,
272
- description: art(path.join(__dirname, 'templates', 'description.art'), {
269
+ description: art(path.join(__dirname, 'templates/description.art'), {
273
270
  novel,
274
271
  }),
275
272
  author: novel.writer,
@@ -8,9 +8,6 @@ import { Join } from 'narou/util/type';
8
8
  import InvalidParameterError from '@/errors/types/invalid-parameter';
9
9
  import { SyosetuSub, NarouSearchParams, syosetuSubToJapanese } from './types/search';
10
10
 
11
- import { getCurrentPath } from '@/utils/helpers';
12
- const __dirname = getCurrentPath(import.meta.url);
13
-
14
11
  export const route: Route = {
15
12
  path: '/search/:sub/:query',
16
13
  categories: ['reading'],
@@ -134,7 +131,7 @@ async function handler(ctx: Context): Promise<Data> {
134
131
  const items = result.values.map((novel) => ({
135
132
  title: novel.title,
136
133
  link: `https://${isGeneral(sub) ? 'ncode' : 'novel18'}.syosetu.com/${String(novel.ncode).toLowerCase()}`,
137
- description: art(path.join(__dirname, 'templates', 'description.art'), {
134
+ description: art(path.join(__dirname, 'templates/description.art'), {
138
135
  novel,
139
136
  genreText: GenreNotation[novel.genre],
140
137
  }),
@@ -1,11 +1,8 @@
1
1
  import { Route } from '@/types';
2
2
  import cache from '@/utils/cache';
3
- import got from '@/utils/got';
3
+ import ofetch from '@/utils/ofetch';
4
4
  import { load } from 'cheerio';
5
5
  import { parseDate } from '@/utils/parse-date';
6
- import logger from '@/utils/logger';
7
- import { CookieJar } from 'tough-cookie';
8
- import puppeteer from '@/utils/puppeteer';
9
6
 
10
7
  export const route: Route = {
11
8
  path: '/ygafz/:type?',
@@ -42,30 +39,9 @@ async function handler(ctx) {
42
39
  const baseUrl = 'https://ygafz.sysu.edu.cn';
43
40
  const url = `${baseUrl}/${type}`;
44
41
 
45
- const browser = await puppeteer();
46
- const page = await browser.newPage();
47
- await page.setRequestInterception(true);
48
- page.on('request', (request) => {
49
- request.resourceType() === 'document' || request.resourceType() === 'script' ? request.continue() : request.abort();
50
- });
51
-
52
- logger.http(`Requesting ${url}`);
53
- await page.goto(url, {
54
- waitUntil: 'domcontentloaded',
55
- });
56
- await page.waitForSelector('[data-block-plugin-id]');
57
- const response = await page.content();
58
-
59
- const cookieJar = new CookieJar();
60
- const cookies = await page.cookies();
61
- cookies.reduce((jar, cookie) => {
62
- jar.setCookie(`${cookie.name}=${cookie.value}`, url);
63
- return jar;
64
- }, cookieJar);
65
-
66
- await browser.close();
67
-
42
+ const response = await ofetch(url);
68
43
  const $ = load(response);
44
+
69
45
  const list = $('.list-content a')
70
46
  .toArray()
71
47
  .map((item) => {
@@ -80,15 +56,13 @@ async function handler(ctx) {
80
56
  const items = await Promise.all(
81
57
  list.map((item) =>
82
58
  cache.tryGet(item.link, async () => {
83
- const { data } = await got(item.link, {
84
- cookieJar,
85
- });
59
+ const data = await ofetch(item.link);
86
60
  const $ = load(data);
87
61
 
88
62
  item.author = $('.article-submit')
89
63
  .text()
90
64
  .match(/发布人:(.*)/)[1];
91
- item.description = $('div[data-block-plugin-id="entity_field:node:body"]').html();
65
+ item.description = $('div[data-block-plugin-id="entity_field:node:body"]').html() + ($('div[data-block-plugin-id="entity_field:node:attachments"]').html() ?? '');
92
66
  return item;
93
67
  })
94
68
  )
@@ -43,7 +43,7 @@ async function handler() {
43
43
  lists.map((item) =>
44
44
  cache.tryGet(item.link, async () => {
45
45
  const thisUrl = item.link;
46
- const trueLink = thisUrl.includes('http') ? thisUrl : host + thisUrl.substring(1);
46
+ const trueLink = thisUrl.includes('http') ? thisUrl : host + thisUrl.slice(1);
47
47
  const response = await got(trueLink);
48
48
  const $ = load(response.data);
49
49
  item.description = thisUrl.includes('http') ? $('#page-content').html() : $('div.TRS_Editor').html();
@@ -1,6 +1,4 @@
1
1
  import { Route } from '@/types';
2
- import { getCurrentPath } from '@/utils/helpers';
3
- const __dirname = getCurrentPath(import.meta.url);
4
2
 
5
3
  import got from '@/utils/got';
6
4
  import { parseDate } from '@/utils/parse-date';