rsshub 1.0.0-master.f6c2ebb → 1.0.0-master.f70afef

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 (878) hide show
  1. package/lib/api/follow/config.ts +27 -0
  2. package/lib/api/index.ts +2 -0
  3. package/lib/config.ts +27 -1
  4. package/lib/index.ts +3 -0
  5. package/lib/middleware/cache.ts +5 -3
  6. package/lib/router.js +2 -11
  7. package/lib/routes/10jqka/realtimenews.ts +2 -2
  8. package/lib/routes/141jav/namespace.ts +1 -1
  9. package/lib/routes/141ppv/namespace.ts +1 -1
  10. package/lib/routes/163/music/djradio.ts +27 -20
  11. package/lib/routes/163/namespace.ts +1 -1
  12. package/lib/routes/163/news/rank.ts +2 -2
  13. package/lib/routes/163/templates/music/djradio-content.art +2 -0
  14. package/lib/routes/163/today.ts +2 -2
  15. package/lib/routes/18comic/album.ts +2 -2
  16. package/lib/routes/18comic/namespace.ts +1 -1
  17. package/lib/routes/18comic/search.ts +2 -2
  18. package/lib/routes/1lou/index.ts +2 -2
  19. package/lib/routes/1point3acres/category.ts +2 -2
  20. package/lib/routes/1point3acres/offer.ts +2 -2
  21. package/lib/routes/21caijing/channel.ts +1082 -0
  22. package/lib/routes/21caijing/namespace.ts +8 -0
  23. package/lib/routes/30secondsofcode/category.ts +65 -0
  24. package/lib/routes/30secondsofcode/namespace.ts +7 -0
  25. package/lib/routes/30secondsofcode/new-and-popular.ts +41 -0
  26. package/lib/routes/30secondsofcode/utils.ts +54 -0
  27. package/lib/routes/36kr/hot-list.ts +6 -1
  28. package/lib/routes/36kr/index.ts +1 -1
  29. package/lib/routes/423down/index.ts +2 -2
  30. package/lib/routes/4ksj/forum.ts +2 -2
  31. package/lib/routes/52hrtt/symposium.ts +2 -2
  32. package/lib/routes/591/list.ts +2 -2
  33. package/lib/routes/78dm/index.ts +429 -43
  34. package/lib/routes/78dm/namespace.ts +2 -0
  35. package/lib/routes/78dm/templates/description.art +17 -0
  36. package/lib/routes/81/81rc/index.ts +2 -2
  37. package/lib/routes/91porn/namespace.ts +1 -1
  38. package/lib/routes/a9vg/index.ts +2 -2
  39. package/lib/routes/aamacau/index.ts +2 -2
  40. package/lib/routes/abc/index.ts +2 -2
  41. package/lib/routes/accessbriefing/index.ts +2 -2
  42. package/lib/routes/acfun/bangumi.ts +1 -1
  43. package/lib/routes/aeaweb/index.ts +2 -2
  44. package/lib/routes/aeon/category.ts +35 -18
  45. package/lib/routes/aeon/namespace.ts +1 -1
  46. package/lib/routes/aeon/templates/essay.art +8 -2
  47. package/lib/routes/aeon/templates/video.art +4 -4
  48. package/lib/routes/aeon/type.ts +29 -18
  49. package/lib/routes/aeon/utils.ts +47 -17
  50. package/lib/routes/agefans/update.ts +19 -17
  51. package/lib/routes/agirls/topic-list.ts +1 -1
  52. package/lib/routes/agirls/topic.ts +1 -1
  53. package/lib/routes/agirls/{index.ts → z-index.ts} +1 -1
  54. package/lib/routes/agri/index.ts +2 -2
  55. package/lib/routes/aibase/discover.ts +3 -3
  56. package/lib/routes/aibase/news.ts +1 -1
  57. package/lib/routes/aibase/topic.ts +5 -5
  58. package/lib/routes/aip/journal.ts +2 -2
  59. package/lib/routes/air-level/index.ts +49 -0
  60. package/lib/routes/air-level/levelrank.ts +65 -0
  61. package/lib/routes/air-level/namespace.ts +12 -0
  62. package/lib/routes/aisixiang/zhuanti.ts +2 -2
  63. package/lib/routes/ajcass/namespace.ts +11 -0
  64. package/lib/routes/ajcass/shxyj.ts +73 -0
  65. package/lib/routes/ali213/namespace.ts +9 -0
  66. package/lib/routes/ali213/news.ts +269 -0
  67. package/lib/routes/ali213/templates/description.art +21 -0
  68. package/lib/routes/ali213/zl.ts +226 -0
  69. package/lib/routes/aliresearch/information.ts +1 -1
  70. package/lib/routes/alistapart/index.ts +4 -2
  71. package/lib/routes/alistapart/topic.ts +1 -0
  72. package/lib/routes/ally/rail.ts +2 -2
  73. package/lib/routes/amz123/kx.ts +65 -0
  74. package/lib/routes/amz123/namespace.ts +9 -0
  75. package/lib/routes/annualreviews/index.ts +2 -2
  76. package/lib/routes/anquanke/namespace.ts +1 -1
  77. package/lib/routes/anthropic/namespace.ts +7 -0
  78. package/lib/routes/anthropic/news.ts +60 -0
  79. package/lib/routes/apnews/topics.ts +11 -12
  80. package/lib/routes/apnic/index.ts +61 -0
  81. package/lib/routes/apnic/namespace.ts +8 -0
  82. package/lib/routes/app-center/release.ts +2 -2
  83. package/lib/routes/apple/apps.ts +2 -2
  84. package/lib/routes/apple/podcast.ts +10 -6
  85. package/lib/routes/appleinsider/index.ts +1 -1
  86. package/lib/routes/arcteryx/new-arrivals.ts +2 -2
  87. package/lib/routes/arcteryx/outlet.ts +2 -2
  88. package/lib/routes/asus/bios.ts +0 -1
  89. package/lib/routes/baijing/index.ts +48 -0
  90. package/lib/routes/baijing/namespace.ts +8 -0
  91. package/lib/routes/bangumi.tv/subject/index.ts +2 -2
  92. package/lib/routes/barronschina/index.ts +2 -2
  93. package/lib/routes/bbc/index.ts +47 -42
  94. package/lib/routes/bdys/namespace.ts +1 -1
  95. package/lib/routes/behance/queries.ts +1015 -0
  96. package/lib/routes/behance/templates/description.art +23 -0
  97. package/lib/routes/behance/user.ts +78 -55
  98. package/lib/routes/beijingprice/index.ts +2 -2
  99. package/lib/routes/bilibili/article.ts +37 -14
  100. package/lib/routes/bilibili/dynamic.ts +17 -2
  101. package/lib/routes/bilibili/followers.ts +2 -2
  102. package/lib/routes/bilibili/followings-article.ts +2 -2
  103. package/lib/routes/bilibili/followings-dynamic.ts +2 -2
  104. package/lib/routes/bilibili/followings-video.ts +2 -2
  105. package/lib/routes/bilibili/followings.ts +2 -2
  106. package/lib/routes/bilibili/hot-search.ts +1 -1
  107. package/lib/routes/bilibili/live-area.ts +2 -2
  108. package/lib/routes/bilibili/manga-followings.ts +2 -2
  109. package/lib/routes/bilibili/manga-update.ts +3 -0
  110. package/lib/routes/bilibili/ranking.ts +12 -3
  111. package/lib/routes/bilibili/user-channel.ts +1 -0
  112. package/lib/routes/bilibili/user-collection.ts +3 -2
  113. package/lib/routes/bilibili/utils.ts +4 -0
  114. package/lib/routes/bilibili/video.ts +9 -1
  115. package/lib/routes/bilibili/watchlater.ts +2 -2
  116. package/lib/routes/bing/daily-wallpaper.ts +5 -1
  117. package/lib/routes/biquge/namespace.ts +1 -1
  118. package/lib/routes/bjp/namespace.ts +1 -1
  119. package/lib/routes/bjsk/index.ts +2 -2
  120. package/lib/routes/bjtu/gs.ts +2 -2
  121. package/lib/routes/blizzard/news-cn.ts +130 -0
  122. package/lib/routes/blizzard/news.ts +120 -31
  123. package/lib/routes/bloomberg/authors.ts +6 -6
  124. package/lib/routes/bnu/fe.ts +71 -0
  125. package/lib/routes/bnu/mba.ts +2 -2
  126. package/lib/routes/bsky/posts.ts +1 -0
  127. package/lib/routes/bt0/namespace.ts +2 -2
  128. package/lib/routes/btzj/index.ts +4 -4
  129. package/lib/routes/buaa/jiaowu.ts +1 -1
  130. package/lib/routes/buaa/sme.ts +2 -2
  131. package/lib/routes/caixin/latest.ts +6 -1
  132. package/lib/routes/caixin/utils-fulltext.ts +2 -2
  133. package/lib/routes/cara/likes.ts +1 -1
  134. package/lib/routes/cara/portfolio.ts +1 -1
  135. package/lib/routes/cara/timeline.ts +1 -1
  136. package/lib/routes/cast/index.ts +2 -2
  137. package/lib/routes/catti/namespace.ts +6 -0
  138. package/lib/routes/catti/news.ts +120 -0
  139. package/lib/routes/cbpanet/index.ts +19 -19
  140. package/lib/routes/cccfna/index.ts +1 -1
  141. package/lib/routes/cccmc/index.ts +263 -0
  142. package/lib/routes/cccmc/namespace.ts +9 -0
  143. package/lib/routes/ccfa/index.ts +13 -13
  144. package/lib/routes/cctv/lm.ts +2 -2
  145. package/lib/routes/chaoxing/qk.ts +4 -4
  146. package/lib/routes/chaping/banner.ts +1 -1
  147. package/lib/routes/chaping/news.ts +1 -1
  148. package/lib/routes/chaping/newsflash.ts +1 -1
  149. package/lib/routes/chikubi/namespace.ts +1 -1
  150. package/lib/routes/chinacdc/index.ts +505 -0
  151. package/lib/routes/chinacdc/namespace.ts +9 -0
  152. package/lib/routes/chinacdc/templates/description.art +7 -0
  153. package/lib/routes/chinania/index.ts +2 -2
  154. package/lib/routes/chinaratings/credit-research.ts +148 -0
  155. package/lib/routes/chinaratings/namespace.ts +8 -0
  156. package/lib/routes/chongdiantou/index.ts +57 -0
  157. package/lib/routes/chongdiantou/namespace.ts +9 -0
  158. package/lib/routes/chub/characters.ts +1 -1
  159. package/lib/routes/cisia/index.ts +2 -2
  160. package/lib/routes/civitai/discussions.ts +1 -1
  161. package/lib/routes/cls/subject.ts +2 -2
  162. package/lib/routes/cma/channel.ts +2 -2
  163. package/lib/routes/cnbeta/namespace.ts +1 -1
  164. package/lib/routes/cngold/index.ts +2 -2
  165. package/lib/routes/cnki/author.ts +122 -50
  166. package/lib/routes/cnki/utils.ts +4 -4
  167. package/lib/routes/cntv/column.ts +1 -1
  168. package/lib/routes/coolapk/dyh.ts +2 -2
  169. package/lib/routes/coolapk/hot.ts +2 -2
  170. package/lib/routes/coolapk/namespace.ts +1 -1
  171. package/lib/routes/copernicium/index.ts +29 -21
  172. package/lib/routes/counter-strike/news.ts +2 -2
  173. package/lib/routes/cpcaauto/index.ts +24 -24
  174. package/lib/routes/cpta/handler.ts +136 -0
  175. package/lib/routes/cpta/namespace.ts +6 -0
  176. package/lib/routes/ctbu/namespace.ts +7 -0
  177. package/lib/routes/ctbu/xxgg.ts +50 -0
  178. package/lib/routes/cuilingmag/index.ts +3 -2
  179. package/lib/routes/cursor/changelog.ts +63 -0
  180. package/lib/routes/cursor/namespace.ts +8 -0
  181. package/lib/routes/cybersecurityventures/namespace.ts +7 -0
  182. package/lib/routes/cybersecurityventures/news.ts +121 -0
  183. package/lib/routes/cybersecurityventures/types.ts +17 -0
  184. package/lib/routes/cyzone/author.ts +1 -1
  185. package/lib/routes/cyzone/label.ts +1 -1
  186. package/lib/routes/daily/discussed.ts +40 -6
  187. package/lib/routes/daily/popular.ts +182 -0
  188. package/lib/routes/daily/source.ts +14 -5
  189. package/lib/routes/daily/squads.ts +266 -0
  190. package/lib/routes/daily/upvoted.ts +127 -30
  191. package/lib/routes/daily/user.ts +15 -5
  192. package/lib/routes/daily/utils.ts +36 -20
  193. package/lib/routes/daoxuan/namespace.ts +7 -0
  194. package/lib/routes/daoxuan/rss.ts +43 -0
  195. package/lib/routes/dataguidance/index.ts +19 -30
  196. package/lib/routes/dcard/namespace.ts +1 -1
  197. package/lib/routes/dcfever/news.ts +1 -1
  198. package/lib/routes/dcfever/reviews.ts +1 -1
  199. package/lib/routes/dcfever/trading-search.ts +1 -1
  200. package/lib/routes/dcfever/trading.ts +1 -1
  201. package/lib/routes/dedao/index.ts +8 -2
  202. package/lib/routes/dedao/knowledge.ts +1 -1
  203. package/lib/routes/dedao/list.ts +1 -1
  204. package/lib/routes/dedao/user.ts +1 -1
  205. package/lib/routes/deeplearning/the-batch.ts +1 -1
  206. package/lib/routes/deepmind/blog.ts +1 -1
  207. package/lib/routes/deepseek/namespace.ts +8 -0
  208. package/lib/routes/deepseek/news.ts +88 -0
  209. package/lib/routes/dehenglaw/index.ts +2 -2
  210. package/lib/routes/diandong/news.ts +1 -1
  211. package/lib/routes/digitalcameraworld/news.ts +1 -1
  212. package/lib/routes/dingshao/namespace.ts +7 -0
  213. package/lib/routes/dingshao/share.ts +53 -0
  214. package/lib/routes/dingshao/types.ts +64 -0
  215. package/lib/routes/discourse/namespace.ts +1 -1
  216. package/lib/routes/discourse/notifications.ts +1 -1
  217. package/lib/routes/dlnews/category.ts +3 -2
  218. package/lib/routes/dn/news.ts +1 -1
  219. package/lib/routes/dnaindia/topic.ts +1 -1
  220. package/lib/routes/dockerhub/repositories.ts +42 -0
  221. package/lib/routes/dockerhub/tag.ts +18 -12
  222. package/lib/routes/domp4/detail.ts +1 -1
  223. package/lib/routes/domp4/namespace.ts +1 -1
  224. package/lib/routes/dongqiudi/daily.ts +2 -2
  225. package/lib/routes/dongqiudi/namespace.ts +1 -1
  226. package/lib/routes/dongqiudi/player-news.ts +1 -1
  227. package/lib/routes/dongqiudi/result.ts +1 -1
  228. package/lib/routes/dongqiudi/special.ts +1 -1
  229. package/lib/routes/dongqiudi/team-news.ts +1 -1
  230. package/lib/routes/dongqiudi/top-news.ts +1 -1
  231. package/lib/routes/douban/other/recommended.ts +2 -2
  232. package/lib/routes/douyin/namespace.ts +1 -1
  233. package/lib/routes/duckdb/news.ts +3 -4
  234. package/lib/routes/dw/namespace.ts +6 -0
  235. package/lib/routes/dw/news.ts +89 -0
  236. package/lib/routes/dw/rss.ts +62 -0
  237. package/lib/routes/dw/templates/description.art +23 -0
  238. package/lib/routes/dw/templates/liveblog.art +13 -0
  239. package/lib/routes/dw/templates/video.art +14 -0
  240. package/lib/routes/dw/utils.ts +172 -0
  241. package/lib/routes/dx2025/index.ts +1 -1
  242. package/lib/routes/dytt/index.ts +75 -0
  243. package/lib/routes/dytt/namespace.ts +7 -0
  244. package/lib/routes/ecnu/jwc.ts +5 -1
  245. package/lib/routes/egsea/flash.ts +2 -2
  246. package/lib/routes/eshukan/academic.ts +2 -2
  247. package/lib/routes/fashionnetwork/index.ts +2 -2
  248. package/lib/routes/fashionnetwork/namespace.ts +1 -1
  249. package/lib/routes/fastbull/express-news.ts +4 -4
  250. package/lib/routes/fastbull/namespace.ts +3 -3
  251. package/lib/routes/fastbull/news.ts +6 -6
  252. package/lib/routes/finology/bullets.ts +24 -14
  253. package/lib/routes/finology/category.ts +17 -16
  254. package/lib/routes/finology/most-viewed.ts +9 -32
  255. package/lib/routes/finology/tag.ts +7 -1
  256. package/lib/routes/finology/utils.ts +36 -31
  257. package/lib/routes/flyert/forum.ts +2 -2
  258. package/lib/routes/follow/profile.ts +4 -2
  259. package/lib/routes/foodtalks/index.ts +75 -0
  260. package/lib/routes/foodtalks/namespace.ts +9 -0
  261. package/lib/routes/foresightnews/article.ts +1 -1
  262. package/lib/routes/foresightnews/column.ts +1 -1
  263. package/lib/routes/foresightnews/index.ts +3 -1
  264. package/lib/routes/foresightnews/news.ts +1 -1
  265. package/lib/routes/freebuf/index.ts +2 -2
  266. package/lib/routes/ft/myft.ts +2 -2
  267. package/lib/routes/ftchinese/channel.ts +2 -2
  268. package/lib/routes/ftm/index.ts +1 -1
  269. package/lib/routes/furaffinity/browse.ts +1 -1
  270. package/lib/routes/furaffinity/home.ts +1 -1
  271. package/lib/routes/furaffinity/journals.ts +1 -1
  272. package/lib/routes/furaffinity/search.ts +1 -1
  273. package/lib/routes/furaffinity/shouts.ts +1 -1
  274. package/lib/routes/furaffinity/status.ts +1 -1
  275. package/lib/routes/gameapps/index.ts +2 -0
  276. package/lib/routes/gamebase/news.ts +147 -64
  277. package/lib/routes/gamebase/templates/description.art +21 -0
  278. package/lib/routes/gcores/category.ts +1 -1
  279. package/lib/routes/gcores/collection.ts +1 -1
  280. package/lib/routes/gcores/radio.ts +1 -1
  281. package/lib/routes/gcores/tag.ts +1 -1
  282. package/lib/routes/gdufs/namespace.ts +7 -0
  283. package/lib/routes/gdufs/news.ts +94 -0
  284. package/lib/routes/gdufs/xwxy/xwxy-news.ts +90 -0
  285. package/lib/routes/geekpark/index.ts +4 -4
  286. package/lib/routes/genossenschaften/index.ts +123 -0
  287. package/lib/routes/genossenschaften/namespace.ts +8 -0
  288. package/lib/routes/geocaching/blogs.ts +83 -22
  289. package/lib/routes/github/namespace.ts +1 -1
  290. package/lib/routes/github/repos.ts +55 -18
  291. package/lib/routes/go/mhlw/pdf.ts +2 -2
  292. package/lib/routes/go/niid/idwr-dl.ts +2 -2
  293. package/lib/routes/google/fonts.ts +2 -2
  294. package/lib/routes/google/news.ts +1 -1
  295. package/lib/routes/google/research.ts +14 -2
  296. package/lib/routes/google/scholar.ts +2 -2
  297. package/lib/routes/gov/ah/kjt.ts +2 -2
  298. package/lib/routes/gov/beijing/bjedu/gh.ts +2 -2
  299. package/lib/routes/gov/cbirc/index.ts +37 -37
  300. package/lib/routes/gov/csrc/csrc.ts +2 -2
  301. package/lib/routes/gov/customs/list.ts +1 -1
  302. package/lib/routes/gov/hainan/iitb/tzgg.ts +77 -0
  303. package/lib/routes/gov/hainan/namespace.ts +8 -0
  304. package/lib/routes/gov/jgjcndrc/index.ts +2 -2
  305. package/lib/routes/gov/lswz/index.ts +2 -2
  306. package/lib/routes/gov/moa/zdscxx.ts +2 -2
  307. package/lib/routes/gov/sh/fgw/index.ts +2 -2
  308. package/lib/routes/gov/suzhou/news.ts +2 -2
  309. package/lib/routes/grist/featured.ts +1 -1
  310. package/lib/routes/grist/index.ts +4 -1
  311. package/lib/routes/grist/series.ts +1 -1
  312. package/lib/routes/grist/topic.ts +1 -1
  313. package/lib/routes/guancha/index.ts +2 -2
  314. package/lib/routes/guangdiu/index.ts +2 -2
  315. package/lib/routes/guduodata/daily.ts +5 -5
  316. package/lib/routes/guokr/channel.ts +1 -1
  317. package/lib/routes/guokr/scientific.ts +1 -1
  318. package/lib/routes/gzdaily/app.ts +2 -2
  319. package/lib/routes/harvard/health/blog.ts +1 -1
  320. package/lib/routes/hashnode/blog.ts +2 -2
  321. package/lib/routes/hbr/topic.ts +27 -22
  322. package/lib/routes/hdu/auto/notice.ts +68 -0
  323. package/lib/routes/hdu/auto/utils.ts +51 -0
  324. package/lib/routes/hdu/namespace.ts +1 -1
  325. package/lib/routes/hellobtc/information.ts +1 -1
  326. package/lib/routes/hellobtc/kepu.ts +1 -1
  327. package/lib/routes/hellobtc/news.ts +1 -1
  328. package/lib/routes/hellogithub/article.ts +62 -0
  329. package/lib/routes/hellogithub/index.ts +2 -2
  330. package/lib/routes/hellogithub/report.ts +1 -1
  331. package/lib/routes/hellogithub/volume.ts +1 -1
  332. package/lib/routes/hexun/index.ts +74 -0
  333. package/lib/routes/hexun/namespace.ts +8 -0
  334. package/lib/routes/hiring.cafe/jobs.ts +152 -0
  335. package/lib/routes/hiring.cafe/namespace.ts +10 -0
  336. package/lib/routes/hiring.cafe/templates/jobs.art +18 -0
  337. package/lib/routes/hit/namespace.ts +1 -1
  338. package/lib/routes/hit/today.ts +4 -4
  339. package/lib/routes/hkepc/index.ts +1 -1
  340. package/lib/routes/hket/index.ts +14 -2
  341. package/lib/routes/home-assistant/hacs.ts +50 -0
  342. package/lib/routes/home-assistant/namespace.ts +7 -0
  343. package/lib/routes/hrbust/jwzx.ts +74 -37
  344. package/lib/routes/hrbust/namespace.ts +2 -1
  345. package/lib/routes/hrbust/news.ts +105 -0
  346. package/lib/routes/hrbust/nic.ts +100 -0
  347. package/lib/routes/hubu/index.ts +2 -2
  348. package/lib/routes/hubu/zhxy.ts +2 -2
  349. package/lib/routes/huggingface/blog.ts +87 -0
  350. package/lib/routes/hunau/gfxy/index.ts +1 -1
  351. package/lib/routes/hunau/ied.ts +1 -1
  352. package/lib/routes/hunau/jwc.ts +1 -1
  353. package/lib/routes/hunau/xky/index.ts +1 -1
  354. package/lib/routes/hupu/all.ts +2 -2
  355. package/lib/routes/hupu/bbs.ts +2 -2
  356. package/lib/routes/hupu/index.ts +2 -2
  357. package/lib/routes/hust/gs.ts +2 -2
  358. package/lib/routes/hust/mse.ts +2 -2
  359. package/lib/routes/huxiu/brief-column.ts +1 -1
  360. package/lib/routes/huxiu/channel.ts +1 -1
  361. package/lib/routes/huxiu/club.ts +4 -1
  362. package/lib/routes/huxiu/collection.ts +1 -1
  363. package/lib/routes/huxiu/member.ts +5 -2
  364. package/lib/routes/huxiu/moment.ts +1 -1
  365. package/lib/routes/huxiu/search.ts +1 -1
  366. package/lib/routes/huxiu/tag.ts +1 -1
  367. package/lib/routes/i-cable/news.ts +1 -1
  368. package/lib/routes/idolmaster/namespace.ts +7 -0
  369. package/lib/routes/idolmaster/news.ts +112 -0
  370. package/lib/routes/ieee/author.ts +95 -0
  371. package/lib/routes/iehou/index.ts +2 -2
  372. package/lib/routes/ifanr/category.ts +71 -0
  373. package/lib/routes/ifanr/digest.ts +104 -0
  374. package/lib/routes/ifanr/index.ts +70 -0
  375. package/lib/routes/ifanr/namespace.ts +8 -0
  376. package/lib/routes/ifi-audio/download.ts +1 -1
  377. package/lib/routes/ifun/n/category.ts +102 -0
  378. package/lib/routes/ifun/n/search.ts +73 -0
  379. package/lib/routes/ifun/n/tag.ts +76 -0
  380. package/lib/routes/ifun/n/util.ts +34 -0
  381. package/lib/routes/ifun/namespace.ts +9 -0
  382. package/lib/routes/iheima/index.ts +44 -0
  383. package/lib/routes/iheima/namespace.ts +8 -0
  384. package/lib/routes/ikea/cn/low-price.ts +2 -1
  385. package/lib/routes/iknowwhatyoudownload/daily.ts +112 -0
  386. package/lib/routes/iknowwhatyoudownload/namespace.ts +8 -0
  387. package/lib/routes/iknowwhatyoudownload/templates/daily.art +34 -0
  388. package/lib/routes/infoq/presentations.ts +3 -3
  389. package/lib/routes/infoq/recommend.ts +1 -1
  390. package/lib/routes/infoq/topic.ts +1 -1
  391. package/lib/routes/informedainews/docs.ts +1 -1
  392. package/lib/routes/informedainews/namespace.ts +1 -1
  393. package/lib/routes/inspirehep/author.ts +9 -1
  394. package/lib/routes/instagram/namespace.ts +1 -1
  395. package/lib/routes/instagram/web-api/index.ts +1 -1
  396. package/lib/routes/investor/index.ts +2 -2
  397. package/lib/routes/iqiyi/album.ts +2 -2
  398. package/lib/routes/iresearch/chart.ts +375 -0
  399. package/lib/routes/iresearch/templates/chart.art +13 -0
  400. package/lib/routes/isct/namespace.ts +5 -1
  401. package/lib/routes/isct/news.ts +21 -6
  402. package/lib/routes/ithome/zt.ts +2 -2
  403. package/lib/routes/iwara/subscriptions.ts +2 -2
  404. package/lib/routes/javbus/namespace.ts +3 -3
  405. package/lib/routes/javdb/namespace.ts +2 -2
  406. package/lib/routes/javdb/tags.ts +2 -2
  407. package/lib/routes/javlibrary/genre.ts +2 -2
  408. package/lib/routes/javlibrary/star.ts +2 -2
  409. package/lib/routes/javtrailers/casts.ts +41 -0
  410. package/lib/routes/javtrailers/categories.ts +40 -0
  411. package/lib/routes/{watasuke → javtrailers}/namespace.ts +2 -3
  412. package/lib/routes/javtrailers/studios.ts +39 -0
  413. package/lib/routes/javtrailers/templates/description.art +31 -0
  414. package/lib/routes/javtrailers/types.ts +59 -0
  415. package/lib/routes/javtrailers/utils.ts +48 -0
  416. package/lib/routes/jd/price.ts +2 -2
  417. package/lib/routes/jimmyspa/books.ts +112 -0
  418. package/lib/routes/jimmyspa/namespace.ts +7 -0
  419. package/lib/routes/jimmyspa/news.ts +124 -0
  420. package/lib/routes/jimmyspa/templates/description.art +17 -0
  421. package/lib/routes/jisilu/category.ts +115 -0
  422. package/lib/routes/jisilu/explore.ts +79 -0
  423. package/lib/routes/jisilu/namespace.ts +1 -0
  424. package/lib/routes/jisilu/people.ts +95 -0
  425. package/lib/routes/jisilu/topic.ts +76 -0
  426. package/lib/routes/jisilu/util.ts +111 -0
  427. package/lib/routes/joins/chinese.ts +15 -15
  428. package/lib/routes/joneslanglasalle/index.ts +311 -0
  429. package/lib/routes/joneslanglasalle/namespace.ts +13 -0
  430. package/lib/routes/joneslanglasalle/templates/description.art +21 -0
  431. package/lib/routes/jrj/index.ts +127 -0
  432. package/lib/routes/jrj/namespace.ts +8 -0
  433. package/lib/routes/juejin/books.ts +5 -7
  434. package/lib/routes/juejin/category.ts +19 -19
  435. package/lib/routes/juejin/collection.ts +6 -14
  436. package/lib/routes/juejin/{favorites.ts → collections.ts} +17 -25
  437. package/lib/routes/juejin/column.ts +13 -18
  438. package/lib/routes/juejin/dynamic.ts +8 -8
  439. package/lib/routes/juejin/pins.ts +5 -6
  440. package/lib/routes/juejin/posts.ts +19 -12
  441. package/lib/routes/juejin/tag.ts +11 -21
  442. package/lib/routes/juejin/trending.ts +11 -15
  443. package/lib/routes/juejin/types.ts +232 -0
  444. package/lib/routes/juejin/utils.ts +144 -45
  445. package/lib/routes/kcna/news.ts +7 -5
  446. package/lib/routes/keep/user.ts +1 -1
  447. package/lib/routes/kemono/index.ts +2 -2
  448. package/lib/routes/keylol/index.ts +2 -2
  449. package/lib/routes/koreaherald/index.ts +70 -0
  450. package/lib/routes/koreaherald/namespace.ts +6 -0
  451. package/lib/routes/kuaidi100/index.ts +2 -2
  452. package/lib/routes/kuaishou/namespace.ts +8 -0
  453. package/lib/routes/kuaishou/profile.ts +92 -0
  454. package/lib/routes/latepost/index.ts +1 -1
  455. package/lib/routes/lhratings/namespace.ts +9 -0
  456. package/lib/routes/lhratings/research.ts +145 -0
  457. package/lib/routes/line/publisher.ts +1 -1
  458. package/lib/routes/line/today.ts +1 -1
  459. package/lib/routes/linkresearcher/index.ts +108 -46
  460. package/lib/routes/linkresearcher/namespace.ts +8 -2
  461. package/lib/routes/linkresearcher/templates/bilingual.art +7 -0
  462. package/lib/routes/linkresearcher/types.ts +103 -0
  463. package/lib/routes/liveuamap/index.ts +1 -1
  464. package/lib/routes/lmu/namespace.ts +1 -1
  465. package/lib/routes/lofter/collection.ts +1 -1
  466. package/lib/routes/lofter/tag.ts +1 -1
  467. package/lib/routes/logrocket/index.ts +71 -0
  468. package/lib/routes/logrocket/namespace.ts +7 -0
  469. package/lib/routes/lorientlejour/index.ts +2 -2
  470. package/lib/routes/lrepacks/index.ts +2 -2
  471. package/lib/routes/luogu/daily.ts +1 -1
  472. package/lib/routes/luogu/user-article.ts +75 -0
  473. package/lib/routes/luogu/user-blog.ts +4 -1
  474. package/lib/routes/luogu/user-feed.ts +9 -10
  475. package/lib/routes/luogu/utils.ts +17 -0
  476. package/lib/routes/m-78/namespace.ts +7 -0
  477. package/lib/routes/m-78/news.ts +115 -0
  478. package/lib/routes/m-78/types.ts +13 -0
  479. package/lib/routes/maccms/index.ts +1 -1
  480. package/lib/routes/maccms/namespace.ts +1 -1
  481. package/lib/routes/macfilos/blog.ts +1 -1
  482. package/lib/routes/malaysiakini/namespace.ts +1 -1
  483. package/lib/routes/manhuagui/subscribe.ts +2 -2
  484. package/lib/routes/mastodon/namespace.ts +1 -1
  485. package/lib/routes/mastodon/utils.ts +1 -1
  486. package/lib/routes/matters/namespace.ts +1 -1
  487. package/lib/routes/medium/feed.ts +54 -0
  488. package/lib/routes/medium/following.ts +2 -2
  489. package/lib/routes/medium/for-you.ts +2 -2
  490. package/lib/routes/medium/list.ts +2 -2
  491. package/lib/routes/medium/tag.ts +2 -2
  492. package/lib/routes/medsci/index.ts +3 -3
  493. package/lib/routes/meishichina/index.ts +4 -4
  494. package/lib/routes/microsoft/mcr.ts +2 -2
  495. package/lib/routes/mihoyo/bbs/timeline.ts +3 -3
  496. package/lib/routes/mirror/index.ts +1 -1
  497. package/lib/routes/missav/namespace.ts +2 -2
  498. package/lib/routes/missav/new.ts +19 -12
  499. package/lib/routes/misskey/types.ts +1 -1
  500. package/lib/routes/misskey/user-timeline.ts +4 -3
  501. package/lib/routes/misskey/utils.ts +29 -8
  502. package/lib/routes/mittrchina/index.ts +6 -4
  503. package/lib/routes/moodysmismicrosite/namespace.ts +7 -0
  504. package/lib/routes/moodysmismicrosite/report.ts +90 -0
  505. package/lib/routes/mox/index.ts +4 -4
  506. package/lib/routes/msn/index.ts +86 -0
  507. package/lib/routes/msn/namespace.ts +10 -0
  508. package/lib/routes/{mvm → mwm}/index.ts +1 -1
  509. package/lib/routes/mygopen/index.ts +1 -1
  510. package/lib/routes/nasa/apod-cn.ts +2 -2
  511. package/lib/routes/nature/highlight.ts +2 -2
  512. package/lib/routes/nature/namespace.ts +1 -1
  513. package/lib/routes/nautil/topics.ts +1 -1
  514. package/lib/routes/ncc-cma/cmdp.ts +2 -2
  515. package/lib/routes/newrank/douyin.ts +1 -1
  516. package/lib/routes/newrank/namespace.ts +1 -1
  517. package/lib/routes/newrank/wechat.ts +6 -1
  518. package/lib/routes/newseed/index.ts +73 -0
  519. package/lib/routes/newseed/namespace.ts +8 -0
  520. package/lib/routes/newzmz/index.ts +2 -2
  521. package/lib/routes/nmtv/column.ts +2 -2
  522. package/lib/routes/now/news.ts +2 -2
  523. package/lib/routes/nuist/bulletin.ts +2 -2
  524. package/lib/routes/nuist/namespace.ts +1 -1
  525. package/lib/routes/nyaa/namespace.ts +1 -1
  526. package/lib/routes/obsidian/plugins.ts +41 -0
  527. package/lib/routes/odaily/activity.ts +1 -1
  528. package/lib/routes/odaily/newsflash.ts +1 -1
  529. package/lib/routes/odaily/post.ts +1 -1
  530. package/lib/routes/odaily/search-news.ts +1 -1
  531. package/lib/routes/odaily/user.ts +1 -1
  532. package/lib/routes/oreno3d/namespace.ts +1 -1
  533. package/lib/routes/oschina/column.ts +246 -0
  534. package/lib/routes/oschina/event.ts +243 -0
  535. package/lib/routes/oschina/namespace.ts +1 -0
  536. package/lib/routes/oschina/templates/description.art +21 -0
  537. package/lib/routes/oschina/user.ts +1 -1
  538. package/lib/routes/osu/beatmaps/latest-ranked.ts +313 -0
  539. package/lib/routes/osu/beatmaps/templates/beatmapset.art +37 -0
  540. package/lib/routes/ouc/jwgl.ts +2 -2
  541. package/lib/routes/p-articles/namespace.ts +1 -1
  542. package/lib/routes/pacilution/latest.ts +102 -0
  543. package/lib/routes/pacilution/namespace.ts +6 -0
  544. package/lib/routes/panewslab/author.ts +1 -1
  545. package/lib/routes/panewslab/news.ts +1 -1
  546. package/lib/routes/panewslab/profundity.ts +1 -1
  547. package/lib/routes/panewslab/topic.ts +1 -1
  548. package/lib/routes/papers/index.ts +10 -8
  549. package/lib/routes/papers/query.ts +112 -0
  550. package/lib/routes/papers/templates/description.art +4 -0
  551. package/lib/routes/parliament.uk/namespace.ts +2 -0
  552. package/lib/routes/parliament.uk/petitions.ts +191 -0
  553. package/lib/routes/parliament.uk/templates/description.art +7 -0
  554. package/lib/routes/patreon/feed.ts +126 -0
  555. package/lib/routes/patreon/namespace.ts +7 -0
  556. package/lib/routes/patreon/templates/description.art +39 -0
  557. package/lib/routes/patreon/types.ts +387 -0
  558. package/lib/routes/pconline/focus.ts +1 -1
  559. package/lib/routes/pconline/namespace.ts +1 -1
  560. package/lib/routes/pencilnews/index.ts +70 -0
  561. package/lib/routes/pencilnews/namespace.ts +9 -0
  562. package/lib/routes/phoronix/index.ts +1 -1
  563. package/lib/routes/picnob/templates/desc.art +10 -3
  564. package/lib/routes/picnob/user.ts +52 -35
  565. package/lib/routes/picuki/profile.ts +2 -2
  566. package/lib/routes/pingwest/status.ts +1 -1
  567. package/lib/routes/pingwest/tag.ts +3 -3
  568. package/lib/routes/pingwest/user.ts +1 -1
  569. package/lib/routes/pinterest/namespace.ts +7 -0
  570. package/lib/routes/pinterest/types.ts +330 -0
  571. package/lib/routes/pinterest/user.ts +104 -0
  572. package/lib/routes/pixiv/illustfollow.ts +2 -2
  573. package/lib/routes/pixiv/novel-api/series/nsfw.ts +35 -34
  574. package/lib/routes/pixiv/novel-api/series/sfw.ts +3 -5
  575. package/lib/routes/pixiv/novel-api/series/types.ts +26 -0
  576. package/lib/routes/pixiv/novel-api/user-novels/nsfw.ts +2 -6
  577. package/lib/routes/pixiv/novel-api/user-novels/sfw.ts +2 -5
  578. package/lib/routes/pixiv/novel-series.ts +1 -1
  579. package/lib/routes/pixiv/user.ts +1 -1
  580. package/lib/routes/pixivision/index.ts +2 -2
  581. package/lib/routes/pku/bbs/hot.ts +2 -2
  582. package/lib/routes/pku/hr.ts +2 -2
  583. package/lib/routes/playno1/av.ts +1 -1
  584. package/lib/routes/plurk/anonymous.ts +1 -1
  585. package/lib/routes/plurk/hotlinks.ts +1 -1
  586. package/lib/routes/plurk/news.ts +1 -1
  587. package/lib/routes/plurk/search.ts +1 -1
  588. package/lib/routes/psyche/topic.ts +1 -1
  589. package/lib/routes/qbitai/category.ts +26 -12
  590. package/lib/routes/qbitai/tag.ts +1 -1
  591. package/lib/routes/qingting/channel.ts +9 -9
  592. package/lib/routes/qingting/podcast.ts +13 -23
  593. package/lib/routes/qq/ac/rank.ts +2 -2
  594. package/lib/routes/qq/cfhd/index.ts +2 -2
  595. package/lib/routes/qq/lol/news.ts +206 -0
  596. package/lib/routes/qstheory/index.ts +121 -0
  597. package/lib/routes/qstheory/magazine.ts +64 -0
  598. package/lib/routes/qstheory/namespace.ts +7 -0
  599. package/lib/routes/qstheory/utils.ts +25 -0
  600. package/lib/routes/questmobile/report.ts +3 -3
  601. package/lib/routes/questn/events.ts +1 -1
  602. package/lib/routes/qweather/3days.ts +4 -3
  603. package/lib/routes/qweather/now.ts +12 -9
  604. package/lib/routes/radio/album.ts +2 -2
  605. package/lib/routes/radio/index.ts +2 -2
  606. package/lib/routes/radio/zhibo.ts +2 -2
  607. package/lib/routes/readhub/daily.ts +1 -1
  608. package/lib/routes/readhub/index.ts +1 -1
  609. package/lib/routes/rebase/geekdaily.ts +1 -1
  610. package/lib/routes/reuters/namespace.ts +1 -1
  611. package/lib/routes/rsc/journal.ts +2 -2
  612. package/lib/routes/rsshub/transform/json.ts +1 -1
  613. package/lib/routes/ruankao/namespace.ts +6 -0
  614. package/lib/routes/ruankao/news.ts +106 -0
  615. package/lib/routes/ruc/ai.ts +2 -2
  616. package/lib/routes/ruc/hr.ts +2 -2
  617. package/lib/routes/sciencedirect/call-for-paper.ts +80 -0
  618. package/lib/routes/sciencedirect/templates/description.art +5 -0
  619. package/lib/routes/scientificamerican/namespace.ts +9 -0
  620. package/lib/routes/scientificamerican/podcast.ts +270 -0
  621. package/lib/routes/scientificamerican/templates/description.art +31 -0
  622. package/lib/routes/sctv/programme.ts +2 -2
  623. package/lib/routes/scu/jwc/tzgg.ts +75 -0
  624. package/lib/routes/scu/scupi/_utils.ts +1 -2
  625. package/lib/routes/scu/scupi/notice.ts +2 -1
  626. package/lib/routes/scut/gzic/media.ts +1 -1
  627. package/lib/routes/scut/gzic/news.ts +1 -1
  628. package/lib/routes/scut/gzic/notice.ts +1 -1
  629. package/lib/routes/scut/seie/news-ccenter.ts +1 -1
  630. package/lib/routes/sdzk/index.ts +2 -2
  631. package/lib/routes/shmeea/index.ts +4 -4
  632. package/lib/routes/showstart/artist.ts +1 -1
  633. package/lib/routes/showstart/brand.ts +1 -1
  634. package/lib/routes/showstart/event.ts +1 -1
  635. package/lib/routes/showstart/site.ts +1 -1
  636. package/lib/routes/shu/global.ts +95 -0
  637. package/lib/routes/shu/gs.ts +107 -0
  638. package/lib/routes/shu/index.ts +59 -41
  639. package/lib/routes/shu/jwb.ts +8 -7
  640. package/lib/routes/shu/namespace.ts +2 -1
  641. package/lib/routes/shu/society.ts +62 -0
  642. package/lib/routes/shu/xykd.ts +99 -0
  643. package/lib/routes/sicau/jk.ts +2 -2
  644. package/lib/routes/simpleinfo/index.ts +1 -1
  645. package/lib/routes/sina/sports.ts +4 -1
  646. package/lib/routes/sjtu/jwc.ts +18 -14
  647. package/lib/routes/slowmist/slowmist.ts +1 -1
  648. package/lib/routes/smzdm/haowen.ts +35 -19
  649. package/lib/routes/smzdm/namespace.ts +1 -1
  650. package/lib/routes/sohu/mp.ts +18 -1
  651. package/lib/routes/sony/downloads.ts +2 -2
  652. package/lib/routes/southcn/nfapp/column.ts +2 -2
  653. package/lib/routes/spglobal/namespace.ts +7 -0
  654. package/lib/routes/spglobal/ratings.ts +64 -0
  655. package/lib/routes/spotify/show.ts +5 -4
  656. package/lib/routes/sse/sselawsrules.ts +2 -2
  657. package/lib/routes/sspai/activity.ts +1 -1
  658. package/lib/routes/sspai/author.ts +1 -1
  659. package/lib/routes/sspai/bookmarks.ts +1 -1
  660. package/lib/routes/sspai/column.ts +1 -1
  661. package/lib/routes/sspai/matrix.ts +1 -1
  662. package/lib/routes/sspai/series-update.ts +1 -1
  663. package/lib/routes/sspai/series.ts +1 -1
  664. package/lib/routes/sspai/shortcuts-gallery.ts +1 -1
  665. package/lib/routes/sspai/tag.ts +1 -1
  666. package/lib/routes/sspai/topic.ts +1 -1
  667. package/lib/routes/sspai/topics.ts +1 -1
  668. package/lib/routes/startuplatte/index.ts +1 -1
  669. package/lib/routes/stbu/jsjxy.ts +5 -2
  670. package/lib/routes/steam/appcommunityfeed.ts +1 -1
  671. package/lib/routes/steam/curator.ts +93 -0
  672. package/lib/routes/steam/search.ts +7 -0
  673. package/lib/routes/steam/templates/curator-description.art +4 -0
  674. package/lib/routes/stockedge/daily-news.ts +3 -0
  675. package/lib/routes/stockedge/utils.ts +10 -5
  676. package/lib/routes/storm/index.ts +2 -2
  677. package/lib/routes/substack/namespace.ts +7 -0
  678. package/lib/routes/substack/subscribe.ts +48 -0
  679. package/lib/routes/syosetu/dev.ts +67 -0
  680. package/lib/routes/syosetu/index.ts +85 -0
  681. package/lib/routes/syosetu/namespace.ts +2 -2
  682. package/lib/routes/syosetu/ranking-isekai.ts +93 -0
  683. package/lib/routes/syosetu/ranking-r18.ts +192 -0
  684. package/lib/routes/syosetu/ranking.ts +285 -0
  685. package/lib/routes/syosetu/search.ts +161 -0
  686. package/lib/routes/syosetu/templates/description.art +73 -0
  687. package/lib/routes/syosetu/types/ranking-r18.ts +60 -0
  688. package/lib/routes/syosetu/types/ranking.ts +67 -0
  689. package/lib/routes/syosetu/types/search.ts +138 -0
  690. package/lib/routes/syosetu/utils.ts +50 -0
  691. package/lib/routes/szse/rule.ts +2 -2
  692. package/lib/routes/t66y/post.ts +2 -2
  693. package/lib/routes/taiwanmobile/namespace.ts +7 -0
  694. package/lib/routes/taiwanmobile/rate-plans.ts +64 -0
  695. package/lib/routes/taoguba/blog.ts +5 -48
  696. package/lib/routes/taoguba/index.ts +11 -52
  697. package/lib/routes/taoguba/namespace.ts +1 -1
  698. package/lib/routes/taoguba/util.ts +48 -0
  699. package/lib/routes/taptap/changelog-cn.ts +29 -0
  700. package/lib/routes/taptap/changelog-intl.ts +34 -0
  701. package/lib/routes/taptap/common/changelog.ts +40 -0
  702. package/lib/routes/taptap/common/review.ts +126 -0
  703. package/lib/routes/taptap/namespace.ts +3 -3
  704. package/lib/routes/taptap/review-cn.ts +33 -0
  705. package/lib/routes/taptap/review-intl.ts +41 -0
  706. package/lib/routes/taptap/templates/videoPost.art +0 -1
  707. package/lib/routes/taptap/topic.ts +34 -30
  708. package/lib/routes/taptap/types.ts +363 -0
  709. package/lib/routes/taptap/utils.ts +20 -20
  710. package/lib/routes/techsir/index.ts +67 -0
  711. package/lib/routes/techsir/namespace.ts +8 -0
  712. package/lib/routes/telecompaper/news.ts +2 -2
  713. package/lib/routes/telegram/channel.ts +2 -2
  714. package/lib/routes/telegram/stickerpack.ts +1 -1
  715. package/lib/routes/tesla/cx.ts +2 -2
  716. package/lib/routes/the/index.ts +2 -2
  717. package/lib/routes/theatlantic/news.ts +4 -7
  718. package/lib/routes/theatlantic/utils.ts +10 -8
  719. package/lib/routes/theinitium/app.ts +2 -2
  720. package/lib/routes/theinitium/author.ts +1 -1
  721. package/lib/routes/theinitium/channel.ts +1 -1
  722. package/lib/routes/theinitium/namespace.ts +1 -1
  723. package/lib/routes/theinitium/tags.ts +1 -1
  724. package/lib/routes/themoviedb/namespace.ts +1 -1
  725. package/lib/routes/thepaper/839studio/category.ts +1 -1
  726. package/lib/routes/thepaper/839studio/studio.ts +1 -1
  727. package/lib/routes/thepaper/channel.ts +1 -1
  728. package/lib/routes/thepaper/factpaper.ts +1 -1
  729. package/lib/routes/thepaper/featured.ts +1 -1
  730. package/lib/routes/thepaper/list.ts +1 -1
  731. package/lib/routes/thepaper/sidebar.ts +4 -1
  732. package/lib/routes/thepaper/user.ts +174 -0
  733. package/lib/routes/thepetcity/index.ts +1 -1
  734. package/lib/routes/thepetcity/namespace.ts +2 -2
  735. package/lib/routes/theverge/index.ts +1 -1
  736. package/lib/routes/tiddlywiki/namespace.ts +8 -0
  737. package/lib/routes/tiddlywiki/releases.ts +84 -0
  738. package/lib/routes/timednews/news.ts +1 -1
  739. package/lib/routes/tkww/index.ts +1 -1
  740. package/lib/routes/tmtpost/namespace.ts +9 -0
  741. package/lib/routes/tmtpost/nictation.ts +59 -0
  742. package/lib/routes/tokeninsight/namespace.ts +1 -1
  743. package/lib/routes/tongji/gs.ts +66 -0
  744. package/lib/routes/tongji/sem/notice.ts +3 -1
  745. package/lib/routes/tongji/yjs.ts +34 -20
  746. package/lib/routes/tophub/index.ts +1 -1
  747. package/lib/routes/tophub/list.ts +2 -2
  748. package/lib/routes/tophub/namespace.ts +1 -1
  749. package/lib/routes/tsinghua/lib/tzgg.ts +73 -0
  750. package/lib/routes/tsinghua/lib/zydt.ts +2 -2
  751. package/lib/routes/twitter/api/index.ts +4 -1
  752. package/lib/routes/twitter/api/mobile-api/api.ts +8 -0
  753. package/lib/routes/twitter/api/web-api/api.ts +27 -26
  754. package/lib/routes/twitter/api/web-api/constants.ts +3 -1
  755. package/lib/routes/twitter/api/web-api/utils.ts +46 -21
  756. package/lib/routes/twitter/keyword.ts +5 -1
  757. package/lib/routes/twitter/list.ts +4 -0
  758. package/lib/routes/twitter/namespace.ts +1 -0
  759. package/lib/routes/twitter/user.ts +6 -1
  760. package/lib/routes/twitter/utils.ts +7 -0
  761. package/lib/routes/twreporter/category.ts +1 -1
  762. package/lib/routes/twreporter/newest.ts +1 -1
  763. package/lib/routes/txks/namespace.ts +7 -0
  764. package/lib/routes/txks/news.ts +107 -0
  765. package/lib/routes/uestc/bbs.ts +1 -1
  766. package/lib/routes/uibe/hr.ts +2 -2
  767. package/lib/routes/ups/namespace.ts +12 -0
  768. package/lib/routes/ups/track.ts +114 -0
  769. package/lib/routes/utgd/category.ts +1 -1
  770. package/lib/routes/utgd/timeline.ts +1 -1
  771. package/lib/routes/utgd/topic.ts +1 -1
  772. package/lib/routes/vertikal/latest.ts +1 -1
  773. package/lib/routes/vimeo/usr-videos.ts +2 -2
  774. package/lib/routes/visionias/namespace.ts +8 -0
  775. package/lib/routes/visionias/news-today.ts +100 -0
  776. package/lib/routes/visionias/templates/description-sub.art +6 -0
  777. package/lib/routes/visionias/templates/description.art +12 -0
  778. package/lib/routes/visionias/utils.ts +109 -0
  779. package/lib/routes/visionias/weekly-focus.ts +56 -0
  780. package/lib/routes/vocus/publication.ts +1 -1
  781. package/lib/routes/vocus/user.ts +1 -1
  782. package/lib/routes/wabei/index.ts +75 -0
  783. package/lib/routes/wabei/namespace.ts +8 -0
  784. package/lib/routes/wallhaven/index.ts +2 -2
  785. package/lib/routes/wallhaven/namespace.ts +1 -1
  786. package/lib/routes/wallstreetcn/calendar.ts +90 -0
  787. package/lib/routes/wallstreetcn/hot.ts +2 -2
  788. package/lib/routes/wallstreetcn/live.ts +1 -1
  789. package/lib/routes/wallstreetcn/news.ts +15 -4
  790. package/lib/routes/washingtonpost/app.ts +1 -1
  791. package/lib/routes/web/series.ts +1 -1
  792. package/lib/routes/webcatalog/changelog.ts +59 -0
  793. package/lib/routes/webcatalog/namespace.ts +7 -0
  794. package/lib/routes/wechat/namespace.ts +1 -1
  795. package/lib/routes/wechat/tgchannel.ts +4 -4
  796. package/lib/routes/weibo/friends.ts +2 -2
  797. package/lib/routes/weibo/group.ts +2 -2
  798. package/lib/routes/weibo/namespace.ts +1 -1
  799. package/lib/routes/weibo/timeline.ts +2 -2
  800. package/lib/routes/weibo/user-bookmarks.ts +2 -2
  801. package/lib/routes/weibo/user.ts +2 -2
  802. package/lib/routes/weibo/utils.ts +3 -3
  803. package/lib/routes/whu/swrh.ts +115 -0
  804. package/lib/routes/wordpress/index.ts +2 -2
  805. package/lib/routes/wufazhuce/namespace.ts +7 -0
  806. package/lib/routes/wufazhuce/one.ts +90 -0
  807. package/lib/routes/xaut/jwc.ts +2 -2
  808. package/lib/routes/xaut/rsc.ts +2 -2
  809. package/lib/routes/xbmu/academic.ts +91 -0
  810. package/lib/routes/xbmu/announcement.ts +91 -0
  811. package/lib/routes/xbmu/namespace.ts +6 -0
  812. package/lib/routes/xiaohongshu/user.ts +51 -6
  813. package/lib/routes/xiaohongshu/util.ts +172 -105
  814. package/lib/routes/ximalaya/album.ts +2 -2
  815. package/lib/routes/xinpianchang/index.ts +2 -2
  816. package/lib/routes/xmu/kydt.ts +68 -0
  817. package/lib/routes/xmu/namespace.ts +9 -0
  818. package/lib/routes/xsijishe/forum.ts +2 -2
  819. package/lib/routes/xueqiu/column.ts +11 -2
  820. package/lib/routes/xueqiu/cookies.ts +13 -18
  821. package/lib/routes/xueqiu/timeline.ts +2 -2
  822. package/lib/routes/xueqiu/user-stock.ts +1 -1
  823. package/lib/routes/xyzrank/namespace.ts +1 -1
  824. package/lib/routes/yahoo/news/index.ts +1 -1
  825. package/lib/routes/yahoo/news/listid.ts +5 -2
  826. package/lib/routes/yahoo/news/provider-helper.ts +5 -2
  827. package/lib/routes/yahoo/news/provider.ts +5 -2
  828. package/lib/routes/yamibo/bbs/forum.ts +1 -1
  829. package/lib/routes/yamibo/bbs/thread.ts +1 -1
  830. package/lib/routes/yicai/feed.ts +2 -2
  831. package/lib/routes/yna/index.ts +92 -0
  832. package/lib/routes/yna/namespace.ts +10 -0
  833. package/lib/routes/youtube/channel.ts +1 -1
  834. package/lib/routes/youtube/user.ts +26 -7
  835. package/lib/routes/youtube/utils.ts +3 -0
  836. package/lib/routes/zaker/channel.ts +44 -0
  837. package/lib/routes/zaker/focus.ts +39 -0
  838. package/lib/routes/zaker/utils.ts +186 -0
  839. package/lib/routes/zaobao/namespace.ts +1 -1
  840. package/lib/routes/zaobao/util.ts +13 -7
  841. package/lib/routes/zcool/discover.ts +2 -2
  842. package/lib/routes/zhihu/all-collections.ts +109 -0
  843. package/lib/routes/zhihu/namespace.ts +1 -1
  844. package/lib/routes/zhihu/timeline.ts +2 -2
  845. package/lib/routes/zhihu/types.ts +26 -0
  846. package/lib/routes/zhihu/utils.ts +8 -11
  847. package/lib/routes/zhihu/xhu/activities.ts +2 -2
  848. package/lib/routes/zhubai/index.ts +2 -2
  849. package/lib/routes/zimuxia/portfolio.ts +1 -1
  850. package/lib/routes/zjut/cs/index.ts +1 -1
  851. package/lib/routes/zsxq/utils.ts +2 -0
  852. package/lib/routes/zyw/hot.ts +2 -2
  853. package/lib/types.ts +121 -8
  854. package/lib/utils/wechat-mp.ts +15 -13
  855. package/lib/views/index.tsx +1 -1
  856. package/lib/views/json.ts +13 -11
  857. package/lib/views/rss3.test.ts +4 -3
  858. package/lib/views/rss3.ts +3 -2
  859. package/package.json +65 -64
  860. package/lib/routes/78dm/templates/image.art +0 -1
  861. package/lib/routes/daily/index.ts +0 -101
  862. package/lib/routes/geocaching/templates/blogs.art +0 -6
  863. package/lib/routes/hrbust/templates/description.art +0 -1
  864. package/lib/routes/hrbust/utils.ts +0 -65
  865. package/lib/routes/jisilu/index.ts +0 -133
  866. package/lib/routes/syosetu/chapter.ts +0 -87
  867. package/lib/routes/taptap/changelog.ts +0 -71
  868. package/lib/routes/taptap/review.ts +0 -166
  869. package/lib/routes/watasuke/blog.ts +0 -42
  870. package/lib/routes/xiaohongshu/notes.ts +0 -39
  871. package/lib/routes/zaker/index.ts +0 -80
  872. package/lib/routes-deprecated/21caijing/channel.js +0 -76
  873. package/lib/routes-deprecated/dytt/index.js +0 -60
  874. package/lib/routes-deprecated/ieee/author.js +0 -30
  875. package/lib/routes-deprecated/ifanr/index.js +0 -71
  876. package/lib/routes-deprecated/lol/newsindex.js +0 -87
  877. package/lib/routes-deprecated/qstheory/index.js +0 -122
  878. /package/lib/routes/{mvm → mwm}/namespace.ts +0 -0
@@ -0,0 +1,115 @@
1
+ import { type Data, type Route, ViewType } from '@/types';
2
+ import ofetch from '@/utils/ofetch';
3
+ import type { Context } from 'hono';
4
+ import type { Post } from './types';
5
+ import { parseDate } from '@/utils/parse-date';
6
+ import { load } from 'cheerio';
7
+ import InvalidParameterError from '@/errors/types/invalid-parameter';
8
+
9
+ export const route: Route = {
10
+ name: 'ニュース',
11
+ categories: ['anime'],
12
+ path: '/news/:category?',
13
+ example: '/m-78/news',
14
+ radar: [
15
+ {
16
+ source: ['m-78.jp/news'],
17
+ target: '/news',
18
+ },
19
+ {
20
+ source: ['m-78.jp/news/category/:category'],
21
+ target: '/news/:category',
22
+ },
23
+ ],
24
+ parameters: {
25
+ category: {
26
+ description: 'news category',
27
+ default: 'news',
28
+ options: [
29
+ {
30
+ value: 'news',
31
+ label: 'ニュース',
32
+ },
33
+ {
34
+ value: 'streaming',
35
+ label: '動画配信',
36
+ },
37
+ {
38
+ value: 'event',
39
+ label: 'イベント',
40
+ },
41
+ {
42
+ value: 'onair',
43
+ label: '放送',
44
+ },
45
+ {
46
+ value: 'broadcast',
47
+ label: '放送/配信',
48
+ },
49
+ {
50
+ value: 'goods',
51
+ label: 'グッズ',
52
+ },
53
+ {
54
+ value: 'ultraman-cardgame',
55
+ label: 'ウルトラマン カードゲーム',
56
+ },
57
+ {
58
+ value: 'shop',
59
+ label: 'ショップ',
60
+ },
61
+ {
62
+ value: 'blu-ray_dvd',
63
+ label: 'Blu-ray・DVD',
64
+ },
65
+ {
66
+ value: 'digital',
67
+ label: 'デジタル',
68
+ },
69
+ ],
70
+ },
71
+ },
72
+ handler,
73
+ maintainers: ['KarasuShin'],
74
+ features: {
75
+ supportRadar: true,
76
+ },
77
+ view: ViewType.Articles,
78
+ };
79
+
80
+ async function handler(ctx: Context): Promise<Data> {
81
+ const rootUrl = 'https://m-78.jp';
82
+ const cateAPIUrl = `${rootUrl}/wp-json/wp/v2/categories`;
83
+ const postsAPIUrl = `${rootUrl}/wp-json/wp/v2/posts`;
84
+ const category = ctx.req.param('category') ?? 'news';
85
+ const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit')!, 10) : 20;
86
+
87
+ const categories = await ofetch(`${cateAPIUrl}?slug=${category}`);
88
+ if (categories.length === 0) {
89
+ throw new InvalidParameterError('Category not found');
90
+ }
91
+
92
+ const { id: categoryId, link: categoryLink, name: categoryName } = categories[0];
93
+
94
+ const posts = await ofetch<Post[]>(`${postsAPIUrl}?categories=${categoryId}&per_page=${limit}`);
95
+ return {
96
+ title: `${categoryName} | ニュース`,
97
+ link: categoryLink,
98
+ item: posts.map((post) => {
99
+ const $ = load(post.content.rendered, null, false);
100
+ $('#ez-toc-container').remove();
101
+ $('img').each((_, img) => {
102
+ if (/wp-content\/uploads/.test(img.attribs.src)) {
103
+ img.attribs.src = img.attribs.src.replace(/(-\d+x\d+)/, '');
104
+ }
105
+ });
106
+ return {
107
+ title: post.title.rendered,
108
+ link: post.link,
109
+ description: $.html(),
110
+ pubDate: parseDate(post.date_gmt),
111
+ updated: parseDate(post.modified_gmt),
112
+ };
113
+ }),
114
+ };
115
+ }
@@ -0,0 +1,13 @@
1
+ export interface Post {
2
+ id: number;
3
+ content: {
4
+ rendered: string;
5
+ };
6
+ date_gmt: string;
7
+ modified_gmt: string;
8
+ link: string;
9
+ categories: number[];
10
+ title: {
11
+ rendered: string;
12
+ };
13
+ }
@@ -29,7 +29,7 @@ export const route: Route = {
29
29
  name: '最新资源',
30
30
  maintainers: ['hualiong'],
31
31
  description: `
32
- :::tip
32
+ ::: tip
33
33
  每个采集站提供的影视类别ID是不同的,即参数中的 \`type\` 是不同的。**可以先访问一次站点提供的采集接口,然后从返回结果中的 \`class\` 字段中的 \`type_id\`获取相应的类别ID**
34
34
  :::
35
35
 
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
3
3
  export const namespace: Namespace = {
4
4
  name: '通用影视采集站视频采集接口路由',
5
5
  description: `
6
- :::tip
6
+ ::: tip
7
7
  该路由适用于各大影视采集站对外提供的统一CMS视频采集接口,API 类似于 \`https://网站域名/api.php/provide/vod\`
8
8
  :::`,
9
9
  lang: 'zh-CN',
@@ -6,7 +6,7 @@ import { parseDate } from '@/utils/parse-date';
6
6
 
7
7
  export const route: Route = {
8
8
  path: '/blog',
9
- categories: ['new-media'],
9
+ categories: ['new-media', 'popular'],
10
10
  example: '/macfilos/blog',
11
11
  parameters: {},
12
12
  features: {
@@ -4,7 +4,7 @@ export const namespace: Namespace = {
4
4
  name: 'Malaysiakini',
5
5
  url: 'malaysiakini.com',
6
6
  description: `Provides an easy-to-use RSS feed for Malaysiakini.com with teaser/full-text fetching.
7
- :::warning
7
+ ::: warning
8
8
  A subscription is required for fetching full articles.
9
9
  Please refer to the deployment config for more information.
10
10
  :::`,
@@ -38,10 +38,10 @@ export const route: Route = {
38
38
  maintainers: ['shininome'],
39
39
  handler,
40
40
  url: 'www.mhgui.com/user/book/shelf',
41
- description: `:::tip
41
+ description: `::: tip
42
42
  个人订阅需要自建
43
43
  环境变量需要添加 MHGUI\_COOKIE
44
- :::`,
44
+ :::`,
45
45
  };
46
46
 
47
47
  async function handler() {
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
3
3
  export const namespace: Namespace = {
4
4
  name: 'Mastodon',
5
5
  url: 'mastodon.social',
6
- description: `:::tip
6
+ description: `::: tip
7
7
  Official user RSS:
8
8
 
9
9
  - RSS: \`https://**:instance**/users/**:username**.rss\` ([Example](https://pawoo.net/users/pawoo_support.rss))
@@ -4,7 +4,7 @@ import { parseDate } from '@/utils/parse-date';
4
4
  import { config } from '@/config';
5
5
  import ConfigNotFoundError from '@/errors/types/config-not-found';
6
6
 
7
- const allowSiteList = ['mastodon.social', 'pawoo.net', config.mastodon.apiHost].filter(Boolean);
7
+ const allowSiteList = ['mastodon.social', 'pawoo.net', 'fosstodon.org', config.mastodon.apiHost].filter(Boolean);
8
8
 
9
9
  const apiHeaders = (site) => {
10
10
  const { accessToken, apiHost } = config.mastodon;
@@ -3,6 +3,6 @@ import type { Namespace } from '@/types';
3
3
  export const namespace: Namespace = {
4
4
  name: 'Matters',
5
5
  url: 'matters.town',
6
- categories: ['new-media'],
6
+ categories: ['new-media', 'popular'],
7
7
  lang: 'en',
8
8
  };
@@ -0,0 +1,54 @@
1
+ import { Route, ViewType } from '@/types';
2
+ import parser from '@/utils/rss-parser';
3
+ import { parseDate } from '@/utils/parse-date';
4
+ import InvalidParameterError from '@/errors/types/invalid-parameter';
5
+
6
+ export const route: Route = {
7
+ path: '/feed/:user',
8
+ categories: ['blog'],
9
+ view: ViewType.SocialMedia,
10
+ example: '/medium/feed/zhgchgli',
11
+ parameters: { user: 'Username of the Medium' },
12
+ features: {
13
+ requireConfig: false,
14
+ requirePuppeteer: false,
15
+ antiCrawler: false,
16
+ supportBT: false,
17
+ supportPodcast: false,
18
+ supportScihub: false,
19
+ },
20
+ radar: [
21
+ {
22
+ source: ['medium.com/@:user'],
23
+ target: '/feed/:user',
24
+ },
25
+ ],
26
+ name: 'Medium Feed',
27
+ maintainers: ['pseudoyu'],
28
+ handler,
29
+ };
30
+
31
+ async function handler(ctx) {
32
+ const user = ctx.req.param('user');
33
+
34
+ if (!user) {
35
+ throw new InvalidParameterError('Invalid user');
36
+ }
37
+
38
+ const feed = await parser.parseURL(`https://medium.com/feed/@${user}`);
39
+
40
+ return {
41
+ title: feed.title ?? 'Medium',
42
+ description: feed.description ?? `${user}'s Medium`,
43
+ link: feed.link ?? `https://medium.com/@${user}`,
44
+ image: feed.image?.url ?? '',
45
+ item: feed.items.map((item) => ({
46
+ title: item.title ?? 'Untitled',
47
+ description: item['content:encoded'] ?? item.content ?? '',
48
+ link: item.link ?? '',
49
+ pubDate: item.pubDate ? parseDate(item.pubDate) : undefined,
50
+ guid: item.guid ?? '',
51
+ author: item.creator ?? user,
52
+ })),
53
+ };
54
+ }
@@ -26,9 +26,9 @@ export const route: Route = {
26
26
  name: 'Personalized Recommendations - Following',
27
27
  maintainers: ['ImSingee'],
28
28
  handler,
29
- description: `:::warning
29
+ description: `::: warning
30
30
  Personalized recommendations require the cookie value after logging in, so only self-hosting is supported. See the configuration module on the deployment page for details.
31
- :::`,
31
+ :::`,
32
32
  };
33
33
 
34
34
  async function handler(ctx) {
@@ -26,9 +26,9 @@ export const route: Route = {
26
26
  name: 'Personalized Recommendations - For You',
27
27
  maintainers: ['ImSingee'],
28
28
  handler,
29
- description: `:::warning
29
+ description: `::: warning
30
30
  Personalized recommendations require the cookie value after logging in, so only self-hosting is supported. See the configuration module on the deployment page for details.
31
- :::`,
31
+ :::`,
32
32
  };
33
33
 
34
34
  async function handler(ctx) {
@@ -24,9 +24,9 @@ export const route: Route = {
24
24
  handler,
25
25
  description: `The List ID is the last part of the URL after \`-\`, for example, the username in [https://medium.com/@imsingee/list/collection-7e67004f23f9](https://medium.com/@imsingee/list/collection-7e67004f23f9) is \`imsingee\`, and the ID is \`7e67004f23f9\`.
26
26
 
27
- :::warning
27
+ ::: warning
28
28
  To access private lists, only self-hosting is supported.
29
- :::`,
29
+ :::`,
30
30
  };
31
31
 
32
32
  async function handler(ctx) {
@@ -28,9 +28,9 @@ export const route: Route = {
28
28
  handler,
29
29
  description: `There are many tags, which can be obtained by clicking on a tag from the homepage and looking at the URL. For example, if the URL is \`https://medium.com/?tag=web3\`, then the tag is \`web3\`.
30
30
 
31
- :::warning
31
+ ::: warning
32
32
  Personalized recommendations require the cookie value after logging in, so only self-hosting is supported. See the configuration module on the deployment page for details.
33
- :::`,
33
+ :::`,
34
34
  };
35
35
 
36
36
  async function handler(ctx) {
@@ -6,7 +6,7 @@ import { parseDate, parseRelativeDate } from '@/utils/parse-date';
6
6
 
7
7
  export const route: Route = {
8
8
  path: '/:sid?/:tid?',
9
- categories: ['new-media'],
9
+ categories: ['new-media', 'popular'],
10
10
  example: '/medsci',
11
11
  parameters: { sid: '科室,见下表,默认为推荐', tid: '亚专业,可在对应科室页 URL 中找到,默认为该科室的全部' },
12
12
  features: {
@@ -20,11 +20,11 @@ export const route: Route = {
20
20
  name: '资讯',
21
21
  maintainers: ['nczitzk'],
22
22
  handler,
23
- description: `:::tip
23
+ description: `::: tip
24
24
  下表为科室对应的 sid,若想获得 tid,可以到对应科室页面 URL 中寻找 \`t_id\` 字段的值,下面是一个例子:
25
25
 
26
26
  如 [肿瘤 - NSCLC](https://www.medsci.cn/department/details?s_id=5\&t_id=277) 的 URL 为 \`https://www.medsci.cn/department/details?s_id=5&t_id=277\`,可以看到此时 \`s_id\` 对应 \`sid\` 的值为 5, \`t_id\` 对应 \`tid\` 的值为 277,所以可以得到路由 [\`/medsci/5/277\`](https://rsshub.app/medsci/5/277)
27
- :::
27
+ :::
28
28
 
29
29
  | 心血管 | 内分泌 | 消化 | 呼吸 | 神经科 |
30
30
  | ------ | ------ | ---- | ---- | ------ |
@@ -171,16 +171,16 @@ export const route: Route = {
171
171
  handler,
172
172
  example: '/meishichina/recipe',
173
173
  parameters: { category: '分类,默认为最新推荐,见下表' },
174
- description: `:::tip
174
+ description: `::: tip
175
175
  若订阅 [菜谱大全](https://home.meishichina.com/recipe.html) 中的 \`最新推荐\` 分类,将 \`最新推荐\` 作为参数填入,此时路由为 [\`/meishichina/recipe/最新推荐/\`](https://rsshub.app/meishichina/recipe/最新推荐)。
176
176
 
177
177
  若订阅 [菜谱大全](https://home.meishichina.com/recipe.html) 中的 \`自制食材\` 分类,将 \`自制食材\` 作为参数填入,此时路由为 [\`/meishichina/recipe/自制食材/\`](https://rsshub.app/meishichina/recipe/自制食材)。
178
- :::
178
+ :::
179
179
 
180
180
  | [最新推荐](https://home.meishichina.com/recipe.html) | [最新发布](https://home.meishichina.com/recipe.html) | [热菜](https://home.meishichina.com/recipe.html) | [凉菜](https://home.meishichina.com/recipe.html) | [汤羹](https://home.meishichina.com/recipe.html) | [主食](https://home.meishichina.com/recipe.html) | [小吃](https://home.meishichina.com/recipe.html) | [西餐](https://home.meishichina.com/recipe.html) | [烘焙](https://home.meishichina.com/recipe.html) | [自制食材](https://home.meishichina.com/recipe.html) |
181
181
  | ---------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ---------------------------------------------------- |
182
182
 
183
- :::tip
183
+ ::: tip
184
184
  若订阅 [全部分类](https://home.meishichina.com/recipe-type.html) 中的对应分类页,见下方说明。
185
185
 
186
186
  若订阅 [热菜最新菜谱](https://home.meishichina.com/recipe/recai/),网址为 \`https://home.meishichina.com/recipe/recai/\`。截取 \`https://home.meishichina.com/recipe/\` 到末尾 \`/\` 的部分 \`recai\` 作为参数填入,此时路由为 [\`/meishichina/recipe/recai/\`](https://rsshub.app/meishichina/recipe/recai)。
@@ -188,7 +188,7 @@ export const route: Route = {
188
188
  若订阅 [米饭最热菜谱](https://home.meishichina.com/recipe/mifan/hot/),网址为 \`https://home.meishichina.com/recipe/mifan/hot/\`。截取 \`https://home.meishichina.com/recipe/\` 到末尾 \`/\` 的部分 \`mifan/hot\` 作为参数填入,此时路由为 [\`/meishichina/recipe/mifan/hot/\`](https://rsshub.app/meishichina/recipe/mifan/hot)。
189
189
 
190
190
  若订阅 [制作难度简单菜谱](https://home.meishichina.com/recipe-type-do-level-view-1.html),网址为 \`https://home.meishichina.com/recipe-type-do-level-view-1.html\`。截取 \`https://home.meishichina.com/\` 到末尾 \`.html\` 的部分 \`recipe-type-do-level-view-1\` 作为参数填入,此时路由为 [\`/meishichina/recipe/recipe-type-do-level-view-1/\`](https://rsshub.app/meishichina/recipe/recipe-type-do-level-view-1)。
191
- :::
191
+ :::
192
192
 
193
193
  <details>
194
194
  <summary>更多分类</summary>
@@ -28,11 +28,11 @@ async function handler(ctx) {
28
28
  const product = ctx.req.path.replace('/microsoft/mcr/product/', '');
29
29
  const { data: details } = await got({
30
30
  method: 'get',
31
- url: `https://mcr.microsoft.com/api/v1/catalog/${product}/details`,
31
+ url: `https://mcr.microsoft.com/api/v1/catalog/${product}/details?reg=mar`,
32
32
  });
33
33
  const { data: tags } = await got({
34
34
  method: 'get',
35
- url: `https://mcr.microsoft.com/api/v1/catalog/${product}/tags`,
35
+ url: `https://mcr.microsoft.com/api/v1/catalog/${product}/tags?reg=mar`,
36
36
  });
37
37
 
38
38
  return {
@@ -31,9 +31,9 @@ export const route: Route = {
31
31
  name: '米游社 - 用户关注动态',
32
32
  maintainers: ['CaoMeiYouRen'],
33
33
  handler,
34
- description: `:::warning
34
+ description: `::: warning
35
35
  用户关注动态需要米游社登录后的 Cookie 值,所以只能自建,详情见部署页面的配置模块。
36
- :::`,
36
+ :::`,
37
37
  };
38
38
 
39
39
  async function handler(ctx) {
@@ -47,7 +47,7 @@ async function handler(ctx) {
47
47
  page_size,
48
48
  };
49
49
  const link = 'https://www.miyoushe.com/ys/timeline';
50
- const url = 'https://bbs-api.miyoushe.com/post/wapi/timelines';
50
+ const url = 'https://bbs-api.miyoushe.com/painter/wapi/timeline/list';
51
51
  const response = await got({
52
52
  method: 'get',
53
53
  url,
@@ -11,7 +11,7 @@ import InvalidParameterError from '@/errors/types/invalid-parameter';
11
11
 
12
12
  export const route: Route = {
13
13
  path: '/:id',
14
- categories: ['new-media'],
14
+ categories: ['new-media', 'popular'],
15
15
  example: '/mirror/tingfei.eth',
16
16
  parameters: { id: 'user id' },
17
17
  features: {
@@ -1,7 +1,7 @@
1
1
  import type { Namespace } from '@/types';
2
2
 
3
3
  export const namespace: Namespace = {
4
- name: 'MissAV.com',
5
- url: 'missav.com',
4
+ name: 'MissAV',
5
+ url: 'missav.ws',
6
6
  lang: 'en',
7
7
  };
@@ -2,16 +2,16 @@ import { Route } from '@/types';
2
2
  import { getCurrentPath } from '@/utils/helpers';
3
3
  const __dirname = getCurrentPath(import.meta.url);
4
4
 
5
- import got from '@/utils/got';
6
- import { load } from 'cheerio';
5
+ import ofetch from '@/utils/ofetch';
6
+ import * as cheerio from 'cheerio';
7
7
  import { art } from '@/utils/render';
8
8
  import path from 'node:path';
9
+ import { config } from '@/config';
9
10
 
10
11
  export const route: Route = {
11
12
  path: '/new',
12
13
  categories: ['multimedia'],
13
14
  example: '/missav/new',
14
- parameters: {},
15
15
  features: {
16
16
  requireConfig: false,
17
17
  requirePuppeteer: false,
@@ -22,28 +22,35 @@ export const route: Route = {
22
22
  },
23
23
  radar: [
24
24
  {
25
- source: ['missav.com/dm397/new', 'missav.com/new', 'missav.com/'],
25
+ source: ['missav.ws/dm397/new', 'missav.ws/new', 'missav.ws/'],
26
+ },
27
+ {
28
+ source: ['missav.ai/dm397/new', 'missav.ai/new', 'missav.ai/'],
26
29
  },
27
30
  ],
28
31
  name: '最近更新',
29
32
  maintainers: ['TonyRL'],
30
33
  handler,
31
- url: 'missav.com/dm397/new',
34
+ url: 'missav.ws/dm397/new',
32
35
  };
33
36
 
34
37
  async function handler() {
35
- const baseUrl = 'https://missav.com';
36
- const { data: response } = await got(`${baseUrl}/dm397/new`);
37
- const $ = load(response);
38
+ const baseUrl = 'https://missav.ws';
39
+ const response = await ofetch(`${baseUrl}/dm397/new`, {
40
+ headers: {
41
+ 'User-Agent': config.trueUA,
42
+ },
43
+ });
44
+ const $ = cheerio.load(response);
38
45
 
39
46
  const items = $('.grid .group')
40
47
  .toArray()
41
48
  .map((item) => {
42
- item = $(item);
43
- const title = item.find('.text-secondary');
44
- const poster = new URL(item.find('img').data('src'));
49
+ const $item = $(item);
50
+ const title = $item.find('.text-secondary');
51
+ const poster = new URL($item.find('img').data('src'));
45
52
  poster.searchParams.set('class', 'normal');
46
- const video = item.find('video').data('src');
53
+ const video = $item.find('video').data('src');
47
54
  return {
48
55
  title: title.text().trim(),
49
56
  link: title.attr('href'),
@@ -51,7 +51,7 @@ export interface MisskeyNote {
51
51
  }
52
52
 
53
53
  // https://github.com/misskey-dev/misskey/blob/d2e8dc4fe3c6e90e68001ed1f092d4e3d2454283/packages/backend/src/models/json-schema/user.ts
54
- interface MisskeyUser {
54
+ export interface MisskeyUser {
55
55
  id: string;
56
56
  name: string | null;
57
57
  username: string;
@@ -1,4 +1,4 @@
1
- import { Route, ViewType } from '@/types';
1
+ import { Route, ViewType, Data } from '@/types';
2
2
  import utils from './utils';
3
3
  import { config } from '@/config';
4
4
  import ConfigNotFoundError from '@/errors/types/config-not-found';
@@ -38,7 +38,7 @@ Examples:
38
38
  handler,
39
39
  };
40
40
 
41
- async function handler(ctx) {
41
+ async function handler(ctx): Promise<Data> {
42
42
  const username = ctx.req.param('username');
43
43
  const [, pureUsername, site] = username.match(/@?(\w+)@(\w+\.\w+)/) || [];
44
44
  if (!pureUsername || !site) {
@@ -57,7 +57,7 @@ async function handler(ctx) {
57
57
  throw new InvalidParameterError('withRenotes and mediaOnly cannot both be true.');
58
58
  }
59
59
 
60
- const { accountData } = await utils.getUserTimelineByUsername(pureUsername, site, {
60
+ const { accountData, avatarUrl } = await utils.getUserTimelineByUsername(pureUsername, site, {
61
61
  withRenotes,
62
62
  mediaOnly,
63
63
  });
@@ -65,6 +65,7 @@ async function handler(ctx) {
65
65
  return {
66
66
  title: `User timeline for ${username} on ${site}`,
67
67
  link: `https://${site}/@${pureUsername}`,
68
+ image: avatarUrl || '',
68
69
  item: utils.parseNotes(accountData, site),
69
70
  };
70
71
  }
@@ -7,7 +7,7 @@ import path from 'node:path';
7
7
  import cache from '@/utils/cache';
8
8
  import got from '@/utils/got';
9
9
 
10
- import { MisskeyNote } from './types';
10
+ import { MisskeyNote, MisskeyUser } from './types';
11
11
 
12
12
  const allowSiteList = ['misskey.io', 'madost.one', 'mk.nixnet.social'];
13
13
 
@@ -38,7 +38,25 @@ const parseNotes = (data: MisskeyNote[], site: string) =>
38
38
  title = `${author}: "${noteToUse.text ?? ''}"`;
39
39
  }
40
40
 
41
- const link = `https://${host}/notes/${noteToUse.id}`;
41
+ /**
42
+ * For renotes from non-Misskey instances (e.g. Mastodon, Pleroma),
43
+ * we can't use noteToUse.id to link to the original note since:
44
+ * 1. The URL format differs from Misskey's /notes/{id} pattern
45
+ * 2. Direct access to the original note may not be possible
46
+ * Therefore, we link to the renote itself in such cases
47
+ */
48
+ let noteId = noteToUse.id;
49
+
50
+ if (isRenote) {
51
+ const renoteHost = item.user.host ?? site;
52
+ const noteHost = noteToUse.user.host ?? site;
53
+
54
+ // Use renote's ID if the note is from a different host or not in allowSiteList
55
+ if (renoteHost !== noteHost || !allowSiteList.includes(noteHost)) {
56
+ noteId = item.id;
57
+ }
58
+ }
59
+ const link = `https://${host}/notes/${noteId}`;
42
60
  const pubDate = parseDate(noteToUse.createdAt);
43
61
 
44
62
  return {
@@ -53,7 +71,7 @@ async function getUserTimelineByUsername(username, site, { withRenotes = false,
53
71
  const searchUrl = `https://${site}/api/users/search-by-username-and-host`;
54
72
  const cacheUid = `misskey_username/${site}/${username}`;
55
73
 
56
- const accountId = await cache.tryGet(cacheUid, async () => {
74
+ const userData = (await cache.tryGet(cacheUid, async () => {
57
75
  const searchResponse = await got({
58
76
  method: 'post',
59
77
  url: searchUrl,
@@ -64,13 +82,16 @@ async function getUserTimelineByUsername(username, site, { withRenotes = false,
64
82
  limit: 1,
65
83
  },
66
84
  });
67
- const userData = searchResponse.data.find((item) => item.username === username);
85
+ const user = searchResponse.data.find((item) => item.username === username);
68
86
 
69
- if (!userData) {
87
+ if (!user) {
70
88
  throw new Error(`username ${username} not found`);
71
89
  }
72
- return userData.id;
73
- });
90
+ return user;
91
+ })) as MisskeyUser;
92
+
93
+ const accountId = userData.id;
94
+ const avatarUrl = userData.avatarUrl;
74
95
 
75
96
  // https://misskey.io/api-doc#tag/users/operation/users___notes
76
97
  const usernotesUrl = `https://${site}/api/users/notes`;
@@ -88,7 +109,7 @@ async function getUserTimelineByUsername(username, site, { withRenotes = false,
88
109
  },
89
110
  });
90
111
  const accountData = usernotesResponse.data;
91
- return { site, accountId, accountData };
112
+ return { site, accountId, accountData, avatarUrl };
92
113
  }
93
114
 
94
115
  export default { parseNotes, getUserTimelineByUsername, allowSiteList };
@@ -10,7 +10,7 @@ import path from 'node:path';
10
10
 
11
11
  export const route: Route = {
12
12
  path: '/:type?',
13
- categories: ['new-media'],
13
+ categories: ['new-media', 'popular'],
14
14
  example: '/mittrchina/index',
15
15
  parameters: { type: '类型,见下表,默认为首页资讯' },
16
16
  features: {
@@ -82,14 +82,16 @@ async function handler(ctx) {
82
82
  type: article.address.split('.').pop(),
83
83
  },
84
84
  })
85
- : article.summary,
86
- pubDate: article.start_time ? parseDate(article.start_time, 'X') : undefined,
85
+ : type === 'breaking'
86
+ ? article.content
87
+ : article.summary,
88
+ pubDate: article.start_time ? parseDate(article.start_time, 'X') : article.push_time ? parseDate(article.push_time, 'X') : undefined,
87
89
  id: article.id,
88
90
  link: `https://www.mittrchina.com/news/detail/${article.id}`,
89
91
  }));
90
92
 
91
93
  let items = list;
92
- if (type !== 'video') {
94
+ if (type !== 'video' && type !== 'breaking') {
93
95
  items = await Promise.all(
94
96
  list.map((item) =>
95
97
  cache.tryGet(item.link, async () => {
@@ -0,0 +1,7 @@
1
+ import type { Namespace } from '@/types';
2
+
3
+ export const namespace: Namespace = {
4
+ name: '穆迪评级',
5
+ url: 'www.moodysmismicrosite.com',
6
+ lang: 'zh-CN',
7
+ };