rsshub 1.0.0-master.eddc76f → 1.0.0-master.ee475dd

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 (538) hide show
  1. package/lib/config.js +7 -0
  2. package/lib/middleware/anti-hotlink.js +90 -22
  3. package/lib/middleware/cache/redis.js +7 -2
  4. package/lib/middleware/parameter.js +75 -36
  5. package/lib/middleware/templates/iframe.art +14 -0
  6. package/lib/radar-rules.js +49 -151
  7. package/lib/router.js +48 -48
  8. package/lib/routes/agefans/update.js +1 -1
  9. package/lib/routes/novel/biqugeinfo.js +2 -2
  10. package/lib/routes/universities/uestc/sice.js +12 -33
  11. package/lib/routes/weibo/user.js +10 -19
  12. package/lib/utils/cf-email.js +36 -0
  13. package/lib/utils/puppeteer.js +22 -0
  14. package/lib/utils/wechat-mp.js +9 -2
  15. package/lib/v2/19lou/index.js +74 -0
  16. package/lib/v2/19lou/maintainer.js +3 -0
  17. package/lib/v2/19lou/radar.js +29 -0
  18. package/lib/v2/19lou/router.js +3 -0
  19. package/lib/v2/36kr/index.js +75 -0
  20. package/lib/v2/36kr/maintainer.js +7 -5
  21. package/lib/v2/36kr/radar.js +27 -15
  22. package/lib/v2/36kr/router.js +1 -5
  23. package/lib/v2/91porn/index.js +58 -0
  24. package/lib/v2/91porn/maintainer.js +3 -0
  25. package/lib/v2/91porn/radar.js +13 -0
  26. package/lib/v2/91porn/router.js +3 -0
  27. package/lib/v2/91porn/templates/index.art +1 -0
  28. package/lib/v2/acfun/article.js +100 -0
  29. package/lib/{routes → v2}/acfun/bangumi.js +7 -7
  30. package/lib/v2/acfun/maintainer.js +5 -0
  31. package/lib/v2/acfun/radar.js +25 -0
  32. package/lib/v2/acfun/router.js +5 -0
  33. package/lib/v2/acfun/video.js +45 -0
  34. package/lib/v2/agora0/index.js +54 -0
  35. package/lib/v2/agora0/maintainer.js +3 -0
  36. package/lib/v2/agora0/radar.js +13 -0
  37. package/lib/v2/agora0/router.js +3 -0
  38. package/lib/v2/airchina/index.js +36 -0
  39. package/lib/v2/airchina/maintainer.js +3 -0
  40. package/lib/v2/airchina/radar.js +13 -0
  41. package/lib/v2/airchina/router.js +3 -0
  42. package/lib/v2/allrecode/index.js +65 -0
  43. package/lib/v2/allrecode/maintainer.js +5 -0
  44. package/lib/v2/allrecode/news.js +35 -0
  45. package/lib/v2/allrecode/radar.js +25 -0
  46. package/lib/v2/allrecode/router.js +4 -0
  47. package/lib/v2/apnews/maintainer.js +3 -0
  48. package/lib/v2/apnews/radar.js +13 -0
  49. package/lib/v2/apnews/router.js +3 -0
  50. package/lib/v2/apnews/templates/description.art +14 -0
  51. package/lib/v2/apnews/topics.js +44 -0
  52. package/lib/v2/appleinsider/index.js +59 -0
  53. package/lib/v2/appleinsider/maintainer.js +3 -0
  54. package/lib/v2/appleinsider/radar.js +13 -0
  55. package/lib/v2/appleinsider/router.js +3 -0
  56. package/lib/{routes → v2}/asiantolick/index.js +20 -17
  57. package/lib/v2/asiantolick/maintainer.js +6 -0
  58. package/lib/v2/asiantolick/radar.js +31 -0
  59. package/lib/v2/asiantolick/router.js +3 -0
  60. package/lib/v2/asiantolick/templates/description.art +3 -0
  61. package/lib/v2/biquge/index.js +78 -0
  62. package/lib/v2/biquge/maintainer.js +3 -0
  63. package/lib/v2/biquge/radar.js +29 -0
  64. package/lib/v2/biquge/router.js +3 -0
  65. package/lib/v2/cbnweek/index.js +46 -0
  66. package/lib/v2/cbnweek/maintainer.js +3 -0
  67. package/lib/v2/cbnweek/radar.js +13 -0
  68. package/lib/v2/cbnweek/router.js +3 -0
  69. package/lib/v2/ccac/news.js +12 -3
  70. package/lib/v2/ccfcv/index.js +68 -0
  71. package/lib/v2/ccfcv/maintainer.js +3 -0
  72. package/lib/v2/ccfcv/radar.js +25 -0
  73. package/lib/v2/ccfcv/router.js +3 -0
  74. package/lib/v2/ccfcv/templates/description.art +1 -0
  75. package/lib/v2/cde/index.js +2 -2
  76. package/lib/v2/cde/maintainer.js +2 -0
  77. package/lib/v2/cde/radar.js +34 -4
  78. package/lib/v2/cde/router.js +2 -0
  79. package/lib/v2/cde/templates/xxgk/breakthroughCure.art +18 -0
  80. package/lib/v2/cde/templates/xxgk/cliniCal.art +16 -0
  81. package/lib/v2/cde/templates/xxgk/priorityApproval.art +18 -0
  82. package/lib/v2/cde/utils.js +2 -2
  83. package/lib/v2/cde/xxgk.js +73 -0
  84. package/lib/v2/cde/zdyz.js +77 -0
  85. package/lib/v2/chinadegrees/maintainer.js +3 -0
  86. package/lib/v2/chinadegrees/province.js +66 -0
  87. package/lib/v2/chinadegrees/radar.js +13 -0
  88. package/lib/v2/chinadegrees/router.js +3 -0
  89. package/lib/v2/chinadegrees/templates/description.art +4 -0
  90. package/lib/v2/clash/maintainer.js +3 -0
  91. package/lib/v2/clash/premium.js +23 -0
  92. package/lib/v2/clash/radar.js +13 -0
  93. package/lib/v2/clash/router.js +3 -0
  94. package/lib/v2/cn-healthcare/index.js +31 -0
  95. package/lib/v2/cn-healthcare/maintainer.js +3 -0
  96. package/lib/v2/cn-healthcare/radar.js +13 -0
  97. package/lib/v2/cn-healthcare/router.js +3 -0
  98. package/lib/v2/cnjxol/index.js +94 -0
  99. package/lib/v2/cnjxol/maintainer.js +4 -0
  100. package/lib/v2/cnjxol/radar.js +19 -0
  101. package/lib/v2/cnjxol/router.js +3 -0
  102. package/lib/v2/cnjxol/templates/description.art +2 -0
  103. package/lib/v2/cscse/maintainer.js +3 -0
  104. package/lib/v2/cscse/radar.js +13 -0
  105. package/lib/v2/cscse/router.js +3 -0
  106. package/lib/v2/cscse/tzgg.js +54 -0
  107. package/lib/{routes/universities/scvtc/xygg.js → v2/darwinawards/index.js} +25 -14
  108. package/lib/v2/darwinawards/maintainer.js +4 -0
  109. package/lib/v2/darwinawards/radar.js +13 -0
  110. package/lib/v2/darwinawards/router.js +4 -0
  111. package/lib/v2/dgjyw/index.js +67 -0
  112. package/lib/v2/dgjyw/maintainer.js +3 -0
  113. package/lib/v2/dgjyw/radar.js +13 -0
  114. package/lib/v2/dgjyw/router.js +3 -0
  115. package/lib/v2/diandong/ddh.js +51 -0
  116. package/lib/v2/diandong/maintainer.js +4 -0
  117. package/lib/v2/diandong/news.js +50 -0
  118. package/lib/v2/diandong/radar.js +19 -0
  119. package/lib/v2/diandong/router.js +4 -0
  120. package/lib/v2/domp4/detail.js +67 -0
  121. package/lib/v2/domp4/latest.js +31 -0
  122. package/lib/v2/domp4/maintainer.js +4 -0
  123. package/lib/v2/domp4/radar.js +25 -0
  124. package/lib/v2/domp4/router.js +4 -0
  125. package/lib/v2/domp4/utils.js +72 -0
  126. package/lib/v2/douyin/hashtag.js +93 -0
  127. package/lib/v2/douyin/live.js +68 -0
  128. package/lib/v2/douyin/maintainer.js +2 -0
  129. package/lib/v2/douyin/radar.js +14 -0
  130. package/lib/v2/douyin/router.js +2 -0
  131. package/lib/v2/douyin/user.js +11 -44
  132. package/lib/v2/douyin/utils.js +50 -0
  133. package/lib/v2/economist/full.js +6 -4
  134. package/lib/v2/elasticsearch-cn/index.js +57 -0
  135. package/lib/v2/elasticsearch-cn/maintainer.js +3 -0
  136. package/lib/v2/elasticsearch-cn/radar.js +13 -0
  137. package/lib/v2/elasticsearch-cn/router.js +3 -0
  138. package/lib/v2/elsevier/issue.js +62 -0
  139. package/lib/v2/elsevier/journal.js +72 -0
  140. package/lib/v2/elsevier/maintainer.js +2 -2
  141. package/lib/v2/elsevier/radar.js +5 -5
  142. package/lib/v2/elsevier/router.js +4 -2
  143. package/lib/v2/elsevier/templates/description.art +5 -5
  144. package/lib/v2/ezone/index.js +5 -3
  145. package/lib/v2/fda/cdrh.js +60 -0
  146. package/lib/v2/fda/maintainer.js +3 -0
  147. package/lib/v2/fda/radar.js +13 -0
  148. package/lib/v2/fda/router.js +3 -0
  149. package/lib/v2/gcores/category.js +5 -1
  150. package/lib/v2/gcores/tag.js +5 -1
  151. package/lib/v2/gdut/maintainer.js +3 -0
  152. package/lib/{routes/universities → v2}/gdut/news.js +4 -0
  153. package/lib/v2/gdut/oa_news.js +214 -0
  154. package/lib/v2/gdut/radar.js +13 -0
  155. package/lib/v2/gdut/router.js +3 -0
  156. package/lib/v2/getitfree/index.js +54 -0
  157. package/lib/v2/getitfree/maintainer.js +3 -0
  158. package/lib/v2/getitfree/radar.js +13 -0
  159. package/lib/v2/getitfree/router.js +3 -0
  160. package/lib/v2/gitee/maintainer.js +6 -0
  161. package/lib/v2/gitee/radar.js +31 -0
  162. package/lib/v2/gitee/repos/commits.js +40 -0
  163. package/lib/v2/gitee/repos/events.js +66 -0
  164. package/lib/v2/gitee/repos/releases.js +33 -0
  165. package/lib/v2/gitee/router.js +6 -0
  166. package/lib/v2/gitee/users/events.js +84 -0
  167. package/lib/v2/github/maintainer.js +1 -1
  168. package/lib/v2/github/templates/trending-description.art +5 -0
  169. package/lib/v2/github/trending.js +32 -16
  170. package/lib/v2/gov/beijing/jw/tzgg.js +58 -0
  171. package/lib/v2/gov/customs/list.js +80 -0
  172. package/lib/v2/gov/customs/utils.js +21 -0
  173. package/lib/v2/gov/maintainer.js +11 -1
  174. package/lib/v2/gov/miit/wjgs.js +50 -41
  175. package/lib/v2/gov/miit/zcjd.js +50 -41
  176. package/lib/v2/gov/moj/aac/news.js +49 -0
  177. package/lib/v2/gov/nifdc/index.js +86 -0
  178. package/lib/v2/gov/nmpa/generic.js +83 -0
  179. package/lib/v2/gov/nsfc/index.js +83 -0
  180. package/lib/v2/gov/pbc/goutongjiaoliu.js +20 -15
  181. package/lib/v2/gov/pbc/tradeAnnouncement.js +18 -14
  182. package/lib/v2/gov/radar.js +139 -28
  183. package/lib/v2/gov/router.js +9 -0
  184. package/lib/v2/{pts/dailynews.js → gov/shaanxi/kjt.js} +16 -13
  185. package/lib/v2/gov/shanghai/yjj/index.js +60 -0
  186. package/lib/v2/gov/xuzhou/hrss.js +54 -0
  187. package/lib/v2/hackertalk/index.js +23 -0
  188. package/lib/v2/hackertalk/maintainer.js +3 -0
  189. package/lib/v2/hackertalk/radar.js +13 -0
  190. package/lib/v2/hackertalk/router.js +3 -0
  191. package/lib/v2/hakkatv/maintainer.js +3 -0
  192. package/lib/v2/hakkatv/radar.js +13 -0
  193. package/lib/v2/hakkatv/router.js +3 -0
  194. package/lib/v2/hakkatv/type.js +67 -0
  195. package/lib/v2/hashnode/blog.js +62 -0
  196. package/lib/v2/hashnode/maintainer.js +3 -0
  197. package/lib/v2/hashnode/radar.js +13 -0
  198. package/lib/v2/hashnode/router.js +3 -0
  199. package/lib/v2/hashnode/templates/description.art +2 -0
  200. package/lib/v2/hdu/cs/{index.js → notice.js} +1 -4
  201. package/lib/v2/hdu/cs/pg.js +54 -0
  202. package/lib/v2/hdu/maintainer.js +1 -0
  203. package/lib/v2/hdu/radar.js +6 -0
  204. package/lib/v2/hdu/router.js +2 -1
  205. package/lib/v2/heu/gx/list.js +2 -2
  206. package/lib/v2/heu/job/list.js +2 -2
  207. package/lib/v2/heu/uae/list.js +2 -2
  208. package/lib/v2/heu/yjsy/list.js +2 -2
  209. package/lib/v2/hk01/channel.js +23 -0
  210. package/lib/v2/hk01/hot.js +20 -0
  211. package/lib/v2/hk01/issue.js +22 -0
  212. package/lib/v2/hk01/maintainer.js +7 -0
  213. package/lib/v2/hk01/radar.js +37 -0
  214. package/lib/v2/hk01/router.js +7 -0
  215. package/lib/v2/hk01/tag.js +22 -0
  216. package/lib/v2/hk01/templates/description.art +53 -0
  217. package/lib/v2/hk01/utils.js +43 -0
  218. package/lib/v2/hk01/zone.js +23 -0
  219. package/lib/v2/hotukdeals/index.js +1 -1
  220. package/lib/v2/houxu/events.js +37 -0
  221. package/lib/v2/houxu/index.js +21 -69
  222. package/lib/v2/houxu/lives.js +35 -0
  223. package/lib/v2/houxu/maintainer.js +4 -2
  224. package/lib/v2/houxu/memory.js +37 -0
  225. package/lib/v2/houxu/radar.js +18 -6
  226. package/lib/v2/houxu/router.js +6 -1
  227. package/lib/v2/houxu/templates/events.art +5 -0
  228. package/lib/v2/houxu/templates/lives.art +5 -0
  229. package/lib/v2/houxu/templates/memory.art +3 -0
  230. package/lib/v2/ieee/journal.js +78 -0
  231. package/lib/v2/ieee/maintainer.js +2 -2
  232. package/lib/v2/ieee/radar.js +4 -4
  233. package/lib/v2/ieee/{latestdate.js → recent.js} +34 -42
  234. package/lib/v2/ieee/router.js +4 -2
  235. package/lib/v2/ieee/templates/description.art +5 -5
  236. package/lib/v2/ielts/index.js +7 -2
  237. package/lib/v2/itch/devlog.js +62 -0
  238. package/lib/v2/itch/index.js +56 -0
  239. package/lib/v2/itch/maintainer.js +5 -0
  240. package/lib/v2/itch/posts.js +41 -0
  241. package/lib/v2/itch/radar.js +28 -0
  242. package/lib/v2/itch/router.js +5 -0
  243. package/lib/v2/itch/templates/description.art +4 -0
  244. package/lib/v2/keep/maintainer.js +3 -0
  245. package/lib/v2/keep/radar.js +13 -0
  246. package/lib/v2/keep/router.js +3 -0
  247. package/lib/v2/keep/templates/user.art +16 -0
  248. package/lib/{routes → v2}/keep/user.js +14 -4
  249. package/lib/v2/mdpi/journal.js +65 -0
  250. package/lib/v2/mdpi/maintainer.js +3 -0
  251. package/lib/v2/mdpi/radar.js +13 -0
  252. package/lib/v2/mdpi/router.js +3 -0
  253. package/lib/v2/mdpi/templates/description.art +12 -0
  254. package/lib/v2/mindmeister/example.js +44 -0
  255. package/lib/v2/mindmeister/maintainer.js +3 -0
  256. package/lib/v2/mindmeister/radar.js +13 -0
  257. package/lib/v2/mindmeister/router.js +3 -0
  258. package/lib/v2/mindmeister/templates/image.art +1 -0
  259. package/lib/v2/mirror/index.js +34 -0
  260. package/lib/v2/mirror/maintainer.js +3 -0
  261. package/lib/v2/mirror/radar.js +17 -0
  262. package/lib/v2/mirror/router.js +3 -0
  263. package/lib/{routes → v2}/mp4er/index.js +1 -1
  264. package/lib/v2/mp4er/maintainer.js +3 -0
  265. package/lib/v2/mp4er/radar.js +13 -0
  266. package/lib/v2/mp4er/router.js +3 -0
  267. package/lib/v2/myfigurecollection/activity.js +58 -0
  268. package/lib/v2/myfigurecollection/index.js +78 -0
  269. package/lib/v2/myfigurecollection/maintainer.js +4 -0
  270. package/lib/v2/myfigurecollection/radar.js +44 -0
  271. package/lib/v2/myfigurecollection/router.js +4 -0
  272. package/lib/v2/myfigurecollection/templates/activity.art +8 -0
  273. package/lib/v2/myfigurecollection/templates/description.art +24 -0
  274. package/lib/v2/mysql/maintainer.js +3 -0
  275. package/lib/v2/mysql/radar.js +13 -0
  276. package/lib/v2/mysql/release.js +55 -0
  277. package/lib/v2/mysql/router.js +3 -0
  278. package/lib/v2/nbd/radar.js +2 -2
  279. package/lib/v2/ncepu/maintainer.js +3 -0
  280. package/lib/v2/ncepu/master/masterinfo.js +70 -0
  281. package/lib/v2/ncepu/radar.js +19 -0
  282. package/lib/v2/ncepu/router.js +3 -0
  283. package/lib/v2/ncwu/maintainer.js +3 -0
  284. package/lib/v2/ncwu/notice.js +27 -0
  285. package/lib/v2/ncwu/radar.js +13 -0
  286. package/lib/v2/ncwu/router.js +3 -0
  287. package/lib/v2/netease/exclusive.js +148 -0
  288. package/lib/v2/netease/maintainer.js +1 -0
  289. package/lib/v2/netease/radar.js +8 -0
  290. package/lib/v2/netease/router.js +1 -0
  291. package/lib/v2/netease/templates/exclusive.art +11 -0
  292. package/lib/v2/nhk/news.js +41 -0
  293. package/lib/{routes → v2}/nhk/news_web_easy.js +20 -20
  294. package/lib/v2/nhk/radar.js +19 -0
  295. package/lib/v2/nhk/router.js +4 -0
  296. package/lib/v2/nhk/templates/news.art +5 -0
  297. package/lib/v2/nju/rczp.js +34 -24
  298. package/lib/v2/nju/zcc.js +6 -8
  299. package/lib/v2/njust/utils.js +4 -0
  300. package/lib/v2/nuaa/utils/pypasswaf.js +4 -5
  301. package/lib/v2/nyaa/maintainer.js +4 -0
  302. package/lib/v2/nyaa/radar.js +32 -0
  303. package/lib/v2/nyaa/router.js +4 -0
  304. package/lib/{routes → v2}/nyaa/search.js +4 -2
  305. package/lib/v2/nytimes/daily_briefing_chinese.js +47 -41
  306. package/lib/v2/nytimes/index.js +3 -3
  307. package/lib/v2/nytimes/maintainer.js +1 -1
  308. package/lib/v2/nytimes/templates/image.art +3 -0
  309. package/lib/v2/nytimes/utils.js +7 -1
  310. package/lib/v2/oceanengine/arithmeticIndex.js +145 -0
  311. package/lib/v2/oceanengine/maintainer.js +3 -0
  312. package/lib/v2/oceanengine/radar.js +13 -0
  313. package/lib/v2/oceanengine/router.js +3 -0
  314. package/lib/v2/oceanengine/templates/content.art +14 -0
  315. package/lib/v2/openwrt/maintainer.js +3 -0
  316. package/lib/v2/openwrt/radar.js +13 -0
  317. package/lib/v2/openwrt/releases.js +25 -0
  318. package/lib/v2/openwrt/router.js +3 -0
  319. package/lib/{routes/outagereport/service.js → v2/outagereport/index.js} +2 -2
  320. package/lib/v2/outagereport/maintainer.js +3 -0
  321. package/lib/v2/outagereport/radar.js +13 -0
  322. package/lib/v2/outagereport/router.js +3 -0
  323. package/lib/v2/peopo/maintainer.js +3 -0
  324. package/lib/v2/peopo/radar.js +13 -0
  325. package/lib/v2/peopo/router.js +3 -0
  326. package/lib/v2/peopo/topic.js +46 -0
  327. package/lib/v2/pincong/hot.js +28 -0
  328. package/lib/{routes → v2}/pincong/index.js +6 -12
  329. package/lib/v2/pincong/maintainer.js +5 -0
  330. package/lib/v2/pincong/radar.js +35 -0
  331. package/lib/v2/pincong/router.js +5 -0
  332. package/lib/v2/pincong/topic.js +25 -0
  333. package/lib/v2/pincong/utils.js +22 -0
  334. package/lib/v2/pku/maintainer.js +3 -0
  335. package/lib/v2/pku/radar.js +20 -0
  336. package/lib/v2/pku/router.js +3 -0
  337. package/lib/v2/pku/ss/admission.js +53 -0
  338. package/lib/v2/pku/ss/notice.js +53 -0
  339. package/lib/v2/pku/ss/pg_admin.js +53 -0
  340. package/lib/v2/playno1/av.js +41 -0
  341. package/lib/v2/playno1/maintainer.js +4 -0
  342. package/lib/v2/playno1/radar.js +21 -0
  343. package/lib/v2/playno1/router.js +4 -0
  344. package/lib/v2/playno1/st.js +36 -0
  345. package/lib/v2/playno1/utils.js +32 -0
  346. package/lib/v2/pmthinking/index.js +61 -0
  347. package/lib/v2/pmthinking/maintainer.js +3 -0
  348. package/lib/v2/pmthinking/radar.js +13 -0
  349. package/lib/v2/pmthinking/router.js +3 -0
  350. package/lib/v2/pmthinking/templates/description.art +4 -0
  351. package/lib/v2/prestige-av/maintainer.js +3 -0
  352. package/lib/v2/prestige-av/radar.js +18 -0
  353. package/lib/v2/prestige-av/router.js +3 -0
  354. package/lib/{routes → v2}/prestige-av/series.js +8 -5
  355. package/lib/v2/pts/curations.js +44 -0
  356. package/lib/v2/pts/index.js +65 -0
  357. package/lib/v2/pts/maintainer.js +6 -0
  358. package/lib/v2/pts/projects.js +44 -0
  359. package/lib/v2/pts/radar.js +38 -2
  360. package/lib/v2/pts/router.js +4 -1
  361. package/lib/v2/pts/templates/description.art +6 -0
  362. package/lib/v2/qq/kg/cache.js +28 -0
  363. package/lib/v2/qq/kg/reply.js +21 -0
  364. package/lib/v2/qq/kg/user.js +50 -0
  365. package/lib/v2/qq/maintainer.js +2 -0
  366. package/lib/v2/qq/radar.js +14 -0
  367. package/lib/v2/qq/router.js +2 -0
  368. package/lib/v2/sakurazaka46/blog.js +54 -0
  369. package/lib/v2/sakurazaka46/maintainer.js +4 -0
  370. package/lib/v2/sakurazaka46/news.js +51 -0
  371. package/lib/v2/sakurazaka46/radar.js +19 -0
  372. package/lib/v2/sakurazaka46/router.js +4 -0
  373. package/lib/v2/samsung/maintainer.js +3 -0
  374. package/lib/v2/samsung/radar.js +13 -0
  375. package/lib/v2/samsung/research/blog.js +49 -0
  376. package/lib/v2/samsung/router.js +3 -0
  377. package/lib/v2/sciencedirect/journal.js +8 -1
  378. package/lib/v2/scitation/journal.js +54 -0
  379. package/lib/v2/scitation/maintainer.js +4 -0
  380. package/lib/v2/scitation/radar.js +19 -0
  381. package/lib/v2/scitation/router.js +4 -0
  382. package/lib/v2/scitation/section.js +72 -0
  383. package/lib/v2/scitation/templates/description.art +8 -0
  384. package/lib/v2/scitation/utils.js +29 -0
  385. package/lib/v2/scvtc/maintainer.js +3 -0
  386. package/lib/v2/scvtc/radar.js +13 -0
  387. package/lib/v2/scvtc/router.js +3 -0
  388. package/lib/v2/scvtc/xygg.js +40 -0
  389. package/lib/v2/shuiguopai/index.js +76 -0
  390. package/lib/v2/shuiguopai/maintainer.js +3 -0
  391. package/lib/v2/shuiguopai/radar.js +13 -0
  392. package/lib/v2/shuiguopai/router.js +3 -0
  393. package/lib/v2/shuiguopai/templates/description.art +6 -0
  394. package/lib/v2/sinchew/index.js +68 -0
  395. package/lib/v2/sinchew/maintainer.js +5 -0
  396. package/lib/v2/sinchew/radar.js +25 -0
  397. package/lib/v2/sinchew/router.js +4 -0
  398. package/lib/v2/sinchew/templates/images.art +4 -0
  399. package/lib/v2/sis001/forum.js +62 -0
  400. package/lib/v2/sis001/maintainer.js +3 -0
  401. package/lib/v2/sis001/radar.js +13 -0
  402. package/lib/v2/sis001/router.js +3 -0
  403. package/lib/v2/slowmist/radar.js +13 -0
  404. package/lib/v2/slowmist/router.js +3 -0
  405. package/lib/v2/slowmist/slowmist.js +39 -0
  406. package/lib/v2/springer/journal.js +72 -0
  407. package/lib/v2/springer/maintainer.js +3 -0
  408. package/lib/v2/springer/radar.js +13 -0
  409. package/lib/v2/springer/router.js +3 -0
  410. package/lib/v2/springer/templates/description.art +12 -0
  411. package/lib/v2/sspai/maintainer.js +1 -0
  412. package/lib/v2/sspai/radar.js +6 -0
  413. package/lib/v2/sspai/router.js +1 -0
  414. package/lib/v2/sspai/seriesUpdate.js +36 -0
  415. package/lib/v2/supchina/index.js +67 -0
  416. package/lib/v2/supchina/maintainer.js +4 -0
  417. package/lib/v2/supchina/podcasts.js +66 -0
  418. package/lib/v2/supchina/radar.js +19 -0
  419. package/lib/v2/supchina/router.js +4 -0
  420. package/lib/v2/taiwannews/hot.js +52 -0
  421. package/lib/v2/taiwannews/maintainer.js +3 -0
  422. package/lib/v2/taiwannews/radar.js +13 -0
  423. package/lib/v2/taiwannews/router.js +3 -0
  424. package/lib/v2/techflow520/index.js +34 -0
  425. package/lib/v2/techflow520/maintainer.js +4 -0
  426. package/lib/v2/techflow520/newsflash.js +32 -0
  427. package/lib/v2/techflow520/radar.js +19 -0
  428. package/lib/v2/techflow520/router.js +4 -0
  429. package/lib/v2/tencent/cloud/column.js +51 -0
  430. package/lib/v2/tencent/maintainer.js +1 -0
  431. package/lib/v2/tencent/radar.js +11 -0
  432. package/lib/v2/tencent/router.js +1 -0
  433. package/lib/v2/test/index.js +18 -1
  434. package/lib/v2/tiktok/maintainer.js +3 -0
  435. package/lib/v2/tiktok/radar.js +13 -0
  436. package/lib/v2/tiktok/router.js +3 -0
  437. package/lib/v2/tiktok/templates/user.art +3 -0
  438. package/lib/v2/tiktok/user.js +56 -0
  439. package/lib/v2/tju/cic/index.js +113 -0
  440. package/lib/v2/tju/maintainer.js +5 -0
  441. package/lib/v2/tju/oaa/index.js +112 -0
  442. package/lib/v2/tju/radar.js +65 -0
  443. package/lib/v2/tju/router.js +5 -0
  444. package/lib/v2/tju/yzb/index.js +121 -0
  445. package/lib/v2/trending/allTrending.js +169 -0
  446. package/lib/v2/trending/maintainer.js +3 -0
  447. package/lib/v2/trending/radar.js +35 -0
  448. package/lib/v2/trending/router.js +3 -0
  449. package/lib/v2/trending/templates/content.art +24 -0
  450. package/lib/v2/u3c3/index.js +59 -0
  451. package/lib/v2/u3c3/maintainer.js +3 -0
  452. package/lib/v2/u3c3/radar.js +29 -0
  453. package/lib/v2/u3c3/router.js +3 -0
  454. package/lib/v2/uraaka-joshi/uraaka-joshi-user.js +7 -1
  455. package/lib/v2/uraaka-joshi/uraaka-joshi.js +8 -1
  456. package/lib/v2/vlive/index.js +71 -0
  457. package/lib/v2/vlive/maintainer.js +3 -0
  458. package/lib/v2/vlive/radar.js +13 -0
  459. package/lib/v2/vlive/router.js +3 -0
  460. package/lib/v2/vlive/templates/post.art +8 -0
  461. package/lib/v2/vlive/templates/video.art +3 -0
  462. package/lib/{routes → v2}/xiaohongshu/board.js +8 -6
  463. package/lib/v2/xiaohongshu/maintainer.js +4 -0
  464. package/lib/v2/xiaohongshu/radar.js +25 -0
  465. package/lib/v2/xiaohongshu/router.js +4 -0
  466. package/lib/{routes → v2}/xiaohongshu/user.js +9 -11
  467. package/lib/v2/xiaohongshu/util.js +28 -0
  468. package/lib/v2/xjtu/2yuan/news.js +61 -0
  469. package/lib/v2/xjtu/dean.js +83 -0
  470. package/lib/{routes/universities → v2}/xjtu/ee.js +5 -5
  471. package/lib/{routes/universities → v2}/xjtu/gs/tzgg.js +6 -6
  472. package/lib/v2/xjtu/international.js +51 -0
  473. package/lib/v2/xjtu/job.js +81 -0
  474. package/lib/v2/xjtu/maintainer.js +9 -0
  475. package/lib/v2/xjtu/radar.js +53 -0
  476. package/lib/v2/xjtu/router.js +9 -0
  477. package/lib/v2/xjtu/std.js +58 -0
  478. package/lib/v2/xjtu/templates/attachments.art +3 -0
  479. package/lib/v2/xjtu/templates/std.art +4 -0
  480. package/lib/v2/xueqiu/column.js +42 -0
  481. package/lib/v2/xueqiu/maintainer.js +1 -0
  482. package/lib/v2/xueqiu/radar.js +6 -0
  483. package/lib/v2/xueqiu/router.js +1 -0
  484. package/lib/v2/zhangyoubao/index.js +42 -0
  485. package/lib/v2/zhangyoubao/maintainer.js +3 -0
  486. package/lib/v2/zhangyoubao/radar.js +13 -0
  487. package/lib/v2/zhangyoubao/router.js +3 -0
  488. package/lib/v2/zhangyoubao/templates/article.art +1 -0
  489. package/lib/v2/zhihu/activities.js +36 -0
  490. package/lib/v2/zhihu/question.js +5 -3
  491. package/lib/v2/zhihu/router.js +1 -1
  492. package/lib/v2/zhihu/zhuanlan.js +2 -2
  493. package/lib/v2/zyshow/index.js +46 -0
  494. package/lib/v2/zyshow/maintainer.js +3 -0
  495. package/lib/v2/zyshow/radar.js +17 -0
  496. package/lib/v2/zyshow/router.js +3 -0
  497. package/lib/v2/zyshow/templates/description.art +16 -0
  498. package/package.json +29 -28
  499. package/lib/routes/acfun/video.js +0 -44
  500. package/lib/routes/apnews/topics.js +0 -43
  501. package/lib/routes/darwinawards/articles.js +0 -42
  502. package/lib/routes/dgjyw/index.js +0 -66
  503. package/lib/routes/gov/customs/list.js +0 -77
  504. package/lib/routes/hk01/channel.js +0 -22
  505. package/lib/routes/hk01/hot.js +0 -20
  506. package/lib/routes/hk01/issue.js +0 -22
  507. package/lib/routes/hk01/tag.js +0 -22
  508. package/lib/routes/hk01/zone.js +0 -41
  509. package/lib/routes/mirror/entries.js +0 -80
  510. package/lib/routes/pincong/hot.js +0 -33
  511. package/lib/routes/pincong/topic.js +0 -32
  512. package/lib/routes/sakurazaka46/blog.js +0 -38
  513. package/lib/routes/universities/ncwu/notice.js +0 -42
  514. package/lib/routes/universities/tjpyu/ooa.js +0 -73
  515. package/lib/routes/universities/xjtu/dean.js +0 -86
  516. package/lib/routes/universities/xjtu/international.js +0 -53
  517. package/lib/routes/universities/xjtu/job.js +0 -50
  518. package/lib/routes/xiaohongshu/util.js +0 -18
  519. package/lib/routes/zyshow/index.js +0 -42
  520. package/lib/v2/36kr/motif.js +0 -36
  521. package/lib/v2/36kr/news.js +0 -56
  522. package/lib/v2/36kr/newsflashes.js +0 -37
  523. package/lib/v2/36kr/search/article.js +0 -70
  524. package/lib/v2/36kr/user.js +0 -36
  525. package/lib/v2/elsevier/latest.js +0 -87
  526. package/lib/v2/elsevier/volume.js +0 -75
  527. package/lib/v2/houxu/templates/description.art +0 -9
  528. package/lib/v2/ieee/latestvol.js +0 -87
  529. package/lib/v2/jasa/latest.js +0 -70
  530. package/lib/v2/jasa/maintainer.js +0 -4
  531. package/lib/v2/jasa/radar.js +0 -19
  532. package/lib/v2/jasa/router.js +0 -4
  533. package/lib/v2/jasa/section.js +0 -95
  534. package/lib/v2/jasa/templates/description.art +0 -11
  535. package/lib/v2/nsfc/maintainer.js +0 -3
  536. package/lib/v2/nsfc/news.js +0 -92
  537. package/lib/v2/nsfc/radar.js +0 -31
  538. package/lib/v2/nsfc/router.js +0 -3
package/lib/router.js CHANGED
@@ -228,8 +228,8 @@ router.get('/pornhub/:language?/users/:username', lazyloadRouteHandler('./routes
228
228
  router.get('/pornhub/:language?/model/:username/:sort?', lazyloadRouteHandler('./routes/pornhub/model'));
229
229
  router.get('/pornhub/:language?/pornstar/:username/:sort?', lazyloadRouteHandler('./routes/pornhub/pornstar'));
230
230
 
231
- // Prestige
232
- router.get('/prestige-av/series/:mid/:sort?', lazyloadRouteHandler('./routes/prestige-av/series'));
231
+ // Prestige migrated to v2
232
+ // router.get('/prestige-av/series/:mid/:sort?', lazyloadRouteHandler('./routes/prestige-av/series'));
233
233
 
234
234
  // yande.re
235
235
  router.get('/yande.re/post/popular_recent', lazyloadRouteHandler('./routes/yande.re/post_popular_recent'));
@@ -336,7 +336,7 @@ router.get('/miui/:device/:type?/:region?', lazyloadRouteHandler('./routes/mi/mi
336
336
  router.get('/mi/bbs/board/:boardId', lazyloadRouteHandler('./routes/mi/board'));
337
337
 
338
338
  // Keep
339
- router.get('/keep/user/:id', lazyloadRouteHandler('./routes/keep/user'));
339
+ // router.get('/keep/user/:id', lazyloadRouteHandler('./routes/keep/user'));
340
340
 
341
341
  // 起点
342
342
  router.get('/qidian/chapter/:id', lazyloadRouteHandler('./routes/qidian/chapter'));
@@ -460,8 +460,8 @@ router.get('/mafengwo/ziyouxing/:code', lazyloadRouteHandler('./routes/mafengwo/
460
460
  // router.get('/earthquake/ceic/:type', lazyloadRouteHandler('./routes/earthquake/ceic'));
461
461
 
462
462
  // 小说
463
- router.get('/novel/biquge/:id', lazyloadRouteHandler('./routes/novel/biquge'));
464
- router.get('/novel/biqugeinfo/:id/:limit?', lazyloadRouteHandler('./routes/novel/biqugeinfo'));
463
+ // router.get('/novel/biquge/:id', lazyloadRouteHandler('./routes/novel/biquge'));
464
+ // router.get('/novel/biqugeinfo/:id/:limit?', lazyloadRouteHandler('./routes/novel/biqugeinfo'));
465
465
  router.get('/novel/uukanshu/:uid', lazyloadRouteHandler('./routes/novel/uukanshu'));
466
466
  router.get('/novel/wenxuemi/:id1/:id2', lazyloadRouteHandler('./routes/novel/wenxuemi'));
467
467
  router.get('/novel/booksky/:id', lazyloadRouteHandler('./routes/novel/booksky'));
@@ -588,7 +588,7 @@ router.get('/scnu/library', lazyloadRouteHandler('./routes/universities/scnu/lib
588
588
  router.get('/scnu/cs/match', lazyloadRouteHandler('./routes/universities/scnu/cs/match'));
589
589
 
590
590
  // 广东工业大学
591
- router.get('/gdut/news', lazyloadRouteHandler('./routes/universities/gdut/news'));
591
+ // router.get('/gdut/news', lazyloadRouteHandler('./routes/universities/gdut/news'));
592
592
 
593
593
  // 中国科学院
594
594
  router.get('/cas/sim/academic', lazyloadRouteHandler('./routes/universities/cas/sim/academic'));
@@ -731,8 +731,8 @@ router.get('/wzbc/:type?', lazyloadRouteHandler('./routes/universities/wzbc/news
731
731
  // 河南大学
732
732
  router.get('/henu/:type?', lazyloadRouteHandler('./routes/universities/henu/news'));
733
733
 
734
- // 天津大学
735
- router.get('/tjpyu/ooa/:type?', lazyloadRouteHandler('./routes/universities/tjpyu/ooa'));
734
+ // 天津大学 migrated to v2
735
+ // router.get('/tju/oaa/:type?', lazyloadRouteHandler('./routes/universities/tju/oaa'));
736
736
 
737
737
  // 南开大学
738
738
  router.get('/nku/jwc/:type?', lazyloadRouteHandler('./routes/universities/nku/jwc/index'));
@@ -759,7 +759,7 @@ router.get('/upc/main/:type?', lazyloadRouteHandler('./routes/universities/upc/m
759
759
  router.get('/upc/jsj/:type?', lazyloadRouteHandler('./routes/universities/upc/jsj'));
760
760
 
761
761
  // 华北水利水电大学
762
- router.get('/ncwu/notice', lazyloadRouteHandler('./routes/universities/ncwu/notice'));
762
+ // router.get('/ncwu/notice', lazyloadRouteHandler('./routes/universities/ncwu/notice'));
763
763
 
764
764
  // 太原师范学院
765
765
  router.get('/tynu', lazyloadRouteHandler('./routes/universities/tynu/tynu'));
@@ -867,8 +867,8 @@ router.get('/rs05/rs05', lazyloadRouteHandler('./routes/rs05/rs05'));
867
867
  // 趣头条
868
868
  router.get('/qutoutiao/category/:cid', lazyloadRouteHandler('./routes/qutoutiao/category'));
869
869
 
870
- // NHK NEW WEB EASY
871
- router.get('/nhk/news_web_easy', lazyloadRouteHandler('./routes/nhk/news_web_easy'));
870
+ // NHK NEW WEB EASY migrated to v2
871
+ // router.get('/nhk/news_web_easy', lazyloadRouteHandler('./routes/nhk/news_web_easy'));
872
872
 
873
873
  // BBC
874
874
  router.get('/bbc/:site?/:channel?', lazyloadRouteHandler('./routes/bbc/index'));
@@ -939,9 +939,9 @@ router.get('/nhentai/:key/:keyword/:mode?', lazyloadRouteHandler('./routes/nhent
939
939
  // 龙腾网
940
940
  router.get('/ltaaa/:category?', lazyloadRouteHandler('./routes/ltaaa/index'));
941
941
 
942
- // AcFun
943
- router.get('/acfun/bangumi/:id', lazyloadRouteHandler('./routes/acfun/bangumi'));
944
- router.get('/acfun/user/video/:uid', lazyloadRouteHandler('./routes/acfun/video'));
942
+ // AcFun migrated to v2
943
+ // router.get('/acfun/bangumi/:id', lazyloadRouteHandler('./routes/acfun/bangumi'));
944
+ // router.get('/acfun/user/video/:uid', lazyloadRouteHandler('./routes/acfun/video'));
945
945
 
946
946
  // Auto Trader
947
947
  router.get('/autotrader/:query', lazyloadRouteHandler('./routes/autotrader'));
@@ -1200,10 +1200,10 @@ router.get('/gov/hunan/notice/:type', lazyloadRouteHandler('./routes/gov/hunan/n
1200
1200
  // 中华人民共和国国家发展和改革委员会
1201
1201
  router.get('/gov/ndrc/xwdt/:caty?', lazyloadRouteHandler('./routes/gov/ndrc/xwdt'));
1202
1202
 
1203
- // 中华人民共和国-海关总署
1204
- router.get('/gov/customs/list/:gchannel', lazyloadRouteHandler('./routes/gov/customs/list'));
1203
+ // 中华人民共和国-海关总署 migrated to v2
1204
+ // router.get('/gov/customs/list/:gchannel', lazyloadRouteHandler('./routes/gov/customs/list'));
1205
1205
 
1206
- // 中华人民共和国教育部 migrated to v2
1206
+ // 中华人民共和国教育部
1207
1207
  // router.get('/gov/moe/:type', lazyloadRouteHandler('./routes/gov/moe/moe'));
1208
1208
 
1209
1209
  // 中华人民共和国外交部
@@ -1726,7 +1726,7 @@ router.get('/metacritic/release/:platform/:type/:sort?', lazyloadRouteHandler('.
1726
1726
  router.get('/kkj/news', lazyloadRouteHandler('./routes/kkj/news'));
1727
1727
 
1728
1728
  // Outage.Report
1729
- router.get('/outagereport/:name/:count?', lazyloadRouteHandler('./routes/outagereport/service'));
1729
+ // router.get('/outagereport/:name/:count?', lazyloadRouteHandler('./routes/outagereport/service'));
1730
1730
 
1731
1731
  // sixthtone
1732
1732
  router.get('/sixthtone/news', lazyloadRouteHandler('./routes/sixthtone/news'));
@@ -1894,7 +1894,7 @@ router.get('/keyakizaka46/news', lazyloadRouteHandler('./routes/keyakizaka46/new
1894
1894
  router.get('/hinatazaka46/news', lazyloadRouteHandler('./routes/hinatazaka46/news'));
1895
1895
  router.get('/keyakizaka46/blog', lazyloadRouteHandler('./routes/keyakizaka46/blog'));
1896
1896
  router.get('/hinatazaka46/blog', lazyloadRouteHandler('./routes/hinatazaka46/blog'));
1897
- router.get('/sakurazaka46/blog', lazyloadRouteHandler('./routes/sakurazaka46/blog'));
1897
+ // router.get('/sakurazaka46/blog', lazyloadRouteHandler('./routes/sakurazaka46/blog'));
1898
1898
 
1899
1899
  // 酷安
1900
1900
  router.get('/coolapk/tuwen/:type?', lazyloadRouteHandler('./routes/coolapk/tuwen'));
@@ -2113,11 +2113,11 @@ router.get('/zhanqi/room/:id', lazyloadRouteHandler('./routes/zhanqi/room'));
2113
2113
  // 酒云网
2114
2114
  router.get('/wineyun/:category', lazyloadRouteHandler('./routes/wineyun'));
2115
2115
 
2116
- // 小红书
2117
- router.get('/xiaohongshu/user/:user_id/:category', lazyloadRouteHandler('./routes/xiaohongshu/user'));
2118
- router.get('/xiaohongshu/board/:board_id', lazyloadRouteHandler('./routes/xiaohongshu/board'));
2116
+ // 小红书 migrated to v2
2117
+ // router.get('/xiaohongshu/user/:user_id/:category', lazyloadRouteHandler('./routes/xiaohongshu/user'));
2118
+ // router.get('/xiaohongshu/board/:board_id', lazyloadRouteHandler('./routes/xiaohongshu/board'));
2119
2119
 
2120
- // 每经网 migrated to v2
2120
+ // 每经网
2121
2121
  // router.get('/nbd/daily', lazyloadRouteHandler('./routes/nbd/article'));
2122
2122
  // router.get('/nbd/:id?', lazyloadRouteHandler('./routes/nbd/index'));
2123
2123
 
@@ -2201,11 +2201,11 @@ router.get('/mcbbs/post/:tid/:authorid?', lazyloadRouteHandler('./routes/mcbbs/p
2201
2201
  router.get('/pocket/trending', lazyloadRouteHandler('./routes/pocket/trending'));
2202
2202
 
2203
2203
  // HK01
2204
- router.get('/hk01/zone/:id', lazyloadRouteHandler('./routes/hk01/zone'));
2205
- router.get('/hk01/channel/:id', lazyloadRouteHandler('./routes/hk01/channel'));
2206
- router.get('/hk01/issue/:id', lazyloadRouteHandler('./routes/hk01/issue'));
2207
- router.get('/hk01/tag/:id', lazyloadRouteHandler('./routes/hk01/tag'));
2208
- router.get('/hk01/hot', lazyloadRouteHandler('./routes/hk01/hot'));
2204
+ // router.get('/hk01/zone/:id', lazyloadRouteHandler('./routes/hk01/zone'));
2205
+ // router.get('/hk01/channel/:id', lazyloadRouteHandler('./routes/hk01/channel'));
2206
+ // router.get('/hk01/issue/:id', lazyloadRouteHandler('./routes/hk01/issue'));
2207
+ // router.get('/hk01/tag/:id', lazyloadRouteHandler('./routes/hk01/tag'));
2208
+ // router.get('/hk01/hot', lazyloadRouteHandler('./routes/hk01/hot'));
2209
2209
 
2210
2210
  // 码农周刊
2211
2211
  router.get('/manong-weekly', lazyloadRouteHandler('./routes/manong-weekly/issues'));
@@ -2265,8 +2265,8 @@ router.get('/transferwise/pair/:source/:target', lazyloadRouteHandler('./routes/
2265
2265
  // chocolatey
2266
2266
  router.get('/chocolatey/software/:name?', lazyloadRouteHandler('./routes/chocolatey/software'));
2267
2267
 
2268
- // Nyaa
2269
- router.get('/nyaa/search/:query?', lazyloadRouteHandler('./routes/nyaa/search'));
2268
+ // Nyaa migrated to v2
2269
+ // router.get('/nyaa/search/:query?', lazyloadRouteHandler('./routes/nyaa/search'));
2270
2270
 
2271
2271
  // 片源网 migrated to v2
2272
2272
  // router.get('/pianyuan/index/:media?', lazyloadRouteHandler('./routes/pianyuan/app'));
@@ -2364,7 +2364,7 @@ router.get('/xinquji/today/internal', lazyloadRouteHandler('./routes/xinquji/int
2364
2364
  router.get('/gbcc/trust', lazyloadRouteHandler('./routes/gbcc/trust'));
2365
2365
 
2366
2366
  // Associated Press
2367
- router.get('/apnews/topics/:topic', lazyloadRouteHandler('./routes/apnews/topics'));
2367
+ // router.get('/apnews/topics/:topic', lazyloadRouteHandler('./routes/apnews/topics'));
2368
2368
 
2369
2369
  // CBC
2370
2370
  router.get('/cbc/topics/:topic?', lazyloadRouteHandler('./routes/cbc/topics'));
@@ -2492,11 +2492,11 @@ router.get('/wolley/user/:id', lazyloadRouteHandler('./routes/wolley/user'));
2492
2492
  router.get('/wolley/host/:host', lazyloadRouteHandler('./routes/wolley/host'));
2493
2493
 
2494
2494
  // 西安交大
2495
- router.get('/xjtu/gs/tzgg', lazyloadRouteHandler('./routes/universities/xjtu/gs/tzgg'));
2496
- router.get('/xjtu/dean/:subpath+', lazyloadRouteHandler('./routes/universities/xjtu/dean'));
2497
- router.get('/xjtu/international/:subpath+', lazyloadRouteHandler('./routes/universities/xjtu/international'));
2498
- router.get('/xjtu/job/:subpath?', lazyloadRouteHandler('./routes/universities/xjtu/job'));
2499
- router.get('/xjtu/ee/:id?', lazyloadRouteHandler('./routes/universities/xjtu/ee'));
2495
+ // router.get('/xjtu/gs/tzgg', lazyloadRouteHandler('./routes/universities/xjtu/gs/tzgg'));
2496
+ // router.get('/xjtu/dean/:subpath+', lazyloadRouteHandler('./routes/universities/xjtu/dean'));
2497
+ // router.get('/xjtu/international/:subpath+', lazyloadRouteHandler('./routes/universities/xjtu/international'));
2498
+ // router.get('/xjtu/job/:subpath?', lazyloadRouteHandler('./routes/universities/xjtu/job'));
2499
+ // router.get('/xjtu/ee/:id?', lazyloadRouteHandler('./routes/universities/xjtu/ee'));
2500
2500
 
2501
2501
  // booksource
2502
2502
  router.get('/booksource', lazyloadRouteHandler('./routes/booksource/index'));
@@ -2863,7 +2863,7 @@ router.get('/law/jctd', lazyloadRouteHandler('./routes/law/jctd'));
2863
2863
  router.get('/samsungmembers/latest', lazyloadRouteHandler('./routes/samsungmembers/latest'));
2864
2864
 
2865
2865
  // 东莞教研网
2866
- router.get('/dgjyw/:type', lazyloadRouteHandler('./routes/dgjyw/index'));
2866
+ // router.get('/dgjyw/:type', lazyloadRouteHandler('./routes/dgjyw/index'));
2867
2867
 
2868
2868
  // 中国信息通信研究院
2869
2869
  router.get('/gov/caict/bps', lazyloadRouteHandler('./routes/gov/caict/bps'));
@@ -3034,10 +3034,10 @@ router.get('/jlu/oa', lazyloadRouteHandler('./routes/universities/jlu/oa'));
3034
3034
  router.get('/hfut/tzgg', lazyloadRouteHandler('./routes/universities/hfut/tzgg'));
3035
3035
 
3036
3036
  // Darwin Awards
3037
- router.get('/darwinawards/all', lazyloadRouteHandler('./routes/darwinawards/articles'));
3037
+ // router.get('/darwinawards/all', lazyloadRouteHandler('./routes/darwinawards/articles'));
3038
3038
 
3039
3039
  // 四川职业技术学院
3040
- router.get('/scvtc/xygg', lazyloadRouteHandler('./routes/universities/scvtc/xygg'));
3040
+ // router.get('/scvtc/xygg', lazyloadRouteHandler('./routes/universities/scvtc/xygg'));
3041
3041
 
3042
3042
  // 华南理工大学土木与交通学院
3043
3043
  router.get('/scut/scet/notice', lazyloadRouteHandler('./routes/universities/scut/scet/notice'));
@@ -3654,8 +3654,8 @@ router.get('/voa/:language/:channel?', lazyloadRouteHandler('./routes/voa/index'
3654
3654
  router.get('/6park/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/6park/index'));
3655
3655
 
3656
3656
  // 哔嘀影视
3657
- router.get('/mp4er/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
3658
- router.get('/bde4/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
3657
+ // router.get('/mp4er/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
3658
+ // router.get('/bde4/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
3659
3659
 
3660
3660
  // 上海证券交易所
3661
3661
  router.get('/sse/sserules/:slug?', lazyloadRouteHandler('./routes/sse/sserules'));
@@ -3678,10 +3678,10 @@ router.get('/mofish/:id', lazyloadRouteHandler('./routes/mofish/index'));
3678
3678
  // Mcdonalds
3679
3679
  router.get('/mcdonalds/:category', lazyloadRouteHandler('./routes/mcdonalds/news'));
3680
3680
 
3681
- // Pincong 品葱
3682
- router.get('/pincong/category/:category?/:sort?', lazyloadRouteHandler('./routes/pincong/index'));
3683
- router.get('/pincong/hot/:category?', lazyloadRouteHandler('./routes/pincong/hot'));
3684
- router.get('/pincong/topic/:topic', lazyloadRouteHandler('./routes/pincong/topic'));
3681
+ // Pincong 品葱 migrated to v2
3682
+ // router.get('/pincong/category/:category?/:sort?', lazyloadRouteHandler('./routes/pincong/index'));
3683
+ // router.get('/pincong/hot/:category?', lazyloadRouteHandler('./routes/pincong/hot'));
3684
+ // router.get('/pincong/topic/:topic', lazyloadRouteHandler('./routes/pincong/topic'));
3685
3685
 
3686
3686
  // GoComics
3687
3687
  router.get('/gocomics/:name', lazyloadRouteHandler('./routes/gocomics/index'));
@@ -3930,7 +3930,7 @@ router.get('/macau-bolsas/:lang?', lazyloadRouteHandler('./routes/macau-bolsas/i
3930
3930
  router.get('/potplayer/update/:language?', lazyloadRouteHandler('./routes/potplayer/update'));
3931
3931
 
3932
3932
  // 综艺秀
3933
- router.get('/zyshow/:name', lazyloadRouteHandler('./routes/zyshow'));
3933
+ // router.get('/zyshow/:name', lazyloadRouteHandler('./routes/zyshow'));
3934
3934
 
3935
3935
  // 加美财经
3936
3936
  router.get('/caus/:category?', lazyloadRouteHandler('./routes/caus'));
@@ -4034,7 +4034,7 @@ router.get('/netflix/newsroom/:category?/:region?', lazyloadRouteHandler('./rout
4034
4034
  router.get('/sbs/chinese/:category?/:id?/:dialect?/:language?', lazyloadRouteHandler('./routes/sbs/chinese'));
4035
4035
 
4036
4036
  // Asian to lick
4037
- router.get('/asiantolick/:category?/:keyword?', lazyloadRouteHandler('./routes/asiantolick'));
4037
+ // router.get('/asiantolick/:category?/:keyword?', lazyloadRouteHandler('./routes/asiantolick'));
4038
4038
 
4039
4039
  // Research Gate
4040
4040
  router.get('/researchgate/publications/:id', lazyloadRouteHandler('./routes/researchgate/publications'));
@@ -4065,7 +4065,7 @@ router.get('/secrss/author/:author?', lazyloadRouteHandler('./routes/secrss/auth
4065
4065
  router.get('/fashionnetwork/headline/:country?', lazyloadRouteHandler('./routes/fashionnetwork/headline.js'));
4066
4066
 
4067
4067
  // mirror.xyz
4068
- router.get('/mirror/:id', lazyloadRouteHandler('./routes/mirror/entries'));
4068
+ // router.get('/mirror/:id', lazyloadRouteHandler('./routes/mirror/entries'));
4069
4069
 
4070
4070
  // KBS migrated to v2
4071
4071
  // router.get('/kbs/today/:language?', lazyloadRouteHandler('./routes/kbs/today'));
@@ -2,7 +2,7 @@ const got = require('@/utils/got');
2
2
  const cheerio = require('cheerio');
3
3
 
4
4
  module.exports = async (ctx) => {
5
- const rootUrl = 'https://www.agefans.cc';
5
+ const rootUrl = 'https://www.agemys.com';
6
6
  const currentUrl = `${rootUrl}/update`;
7
7
  const response = await got({
8
8
  method: 'get',
@@ -35,7 +35,7 @@ module.exports = async (ctx) => {
35
35
 
36
36
  const items = [];
37
37
  for await (const item of asyncPool(3, chapter_item, (item) =>
38
- ctx.cache.tryGet(item, async () => {
38
+ ctx.cache.tryGet(item.link.href, async () => {
39
39
  const response = await got({
40
40
  method: 'get',
41
41
  url: item.link,
@@ -61,7 +61,7 @@ module.exports = async (ctx) => {
61
61
 
62
62
  ctx.state.data = {
63
63
  title: `笔趣阁 ${title}`,
64
- link: pageUrl,
64
+ link: pageUrl.href,
65
65
  image: cover_url,
66
66
  description,
67
67
  item: items,
@@ -1,40 +1,18 @@
1
1
  const cheerio = require('cheerio');
2
+ const { parseDate } = require('@/utils/parse-date');
3
+ const dayjs = require('dayjs');
2
4
 
3
5
  module.exports = async (ctx) => {
4
6
  const baseIndexUrl = 'https://www.sice.uestc.edu.cn/index.htm';
5
7
  const host = 'https://www.sice.uestc.edu.cn/';
6
- const browser = await require('@/utils/puppeteer')();
8
+ const browser = await require('@/utils/puppeteer')({ stealth: true });
7
9
  const page = await browser.newPage();
8
-
9
- // 浏览器伪装
10
- await page.evaluateOnNewDocument(() => {
11
- // 在每个新页面打开前执行以下脚本
12
- const newProto = navigator.__proto__;
13
- delete newProto.webdriver; // 删除navigator.webdriver字段
14
- navigator.__proto__ = newProto;
15
- window.chrome = {}; // 添加window.chrome字段,为增加真实性还需向内部填充一些值
16
- window.chrome.app = { InstallState: 'hehe', RunningState: 'haha', getDetails: 'xixi', getIsInstalled: 'ohno' };
17
- window.chrome.csi = function () {};
18
- window.chrome.loadTimes = function () {};
19
- window.chrome.runtime = function () {};
20
- Object.defineProperty(navigator, 'userAgent', {
21
- // userAgent在无头模式下有headless字样,所以需覆写
22
- get: () => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36',
23
- });
24
- Object.defineProperty(navigator, 'plugins', {
25
- // 伪装真实的插件信息
26
- get: () => [{ description: 'Portable Document Format', filename: 'internal-pdf-viewer', length: 1, name: 'Chrome PDF Plugin' }],
27
- });
28
- Object.defineProperty(navigator, 'languages', {
29
- // 添加语言
30
- get: () => ['zh-CN', 'zh', 'en'],
31
- });
32
- const originalQuery = window.navigator.permissions.query; // notification伪装
33
- window.navigator.permissions.query = (parameters) => (parameters.name === 'notifications' ? Promise.resolve({ state: Notification.permission }) : originalQuery(parameters));
10
+ await page.setRequestInterception(true);
11
+ page.on('request', (request) => {
12
+ request.resourceType() === 'document' || request.resourceType() === 'script' ? request.continue() : request.abort();
34
13
  });
35
-
36
14
  await page.goto(baseIndexUrl, {
37
- waitUntil: 'networkidle0',
15
+ waitUntil: 'networkidle2',
38
16
  });
39
17
  const content = await page.content();
40
18
  await browser.close();
@@ -43,14 +21,15 @@ module.exports = async (ctx) => {
43
21
  const out = $('.notice p')
44
22
  .map((index, item) => {
45
23
  item = $(item);
46
- let date = new Date(new Date().getFullYear() + '-' + item.find('a.date').text());
47
- if (new Date() < date) {
48
- date = new Date(new Date().getFullYear() - 1 + '-' + item.find('a.date').text());
24
+ const now = dayjs();
25
+ let date = dayjs(now.year() + '-' + item.find('a.date').text());
26
+ if (now < date) {
27
+ date = dayjs(now.year() - 1 + '-' + item.find('a.date').text());
49
28
  }
50
29
  return {
51
30
  title: item.find('a[href]').text(),
52
31
  link: host + item.find('a[href]').attr('href'),
53
- pubDate: date,
32
+ pubDate: parseDate(date),
54
33
  };
55
34
  })
56
35
  .get();
@@ -62,7 +62,7 @@ module.exports = async (ctx) => {
62
62
  false
63
63
  );
64
64
 
65
- const resultItem = await Promise.all(
65
+ let resultItems = await Promise.all(
66
66
  cards
67
67
  .filter((item) => item.mblog)
68
68
  .map(async (item) => {
@@ -131,27 +131,18 @@ module.exports = async (ctx) => {
131
131
  link,
132
132
  pubDate,
133
133
  author: item.mblog.user.screen_name,
134
+ isPinned: item.profile_type_id?.startsWith('proweibotop'),
134
135
  };
135
136
  })
136
137
  );
137
138
 
138
- // remove pinned weibo if it is too old (older than all rest weibo).
139
- // if pinned weibo exists, it will always be the first item and the total item count will be 11 (otherwise 10).
140
- // if < 11, either there is no pinned weibo or the user sent < 11 weibo in total, no need to remove anything.
141
- // there is still another characteristic of a pinned weibo: card.profile_type_id.startsWith('proweibotop'),
142
- // but it can be changed in the future, so here we do not rely on it.
143
- if (
144
- resultItem.length >= 11 &&
145
- resultItem[0].pubDate &&
146
- resultItem[0].pubDate <
147
- Math.min(
148
- ...resultItem
149
- .slice(1)
150
- .map((item) => item.pubDate)
151
- .filter((item) => item)
152
- )
153
- ) {
154
- resultItem.shift();
139
+ // remove pinned weibo if they are too old (older than all the rest weibo)
140
+ // the character of pinned weibo is `card.profile_type_id.startsWith('proweibotop')`
141
+ // there can be 1 or 2 (WHAT A FANTASTIC BRAIN THE PM HAS?) pinned weibo at the same time
142
+ const pinnedItems = resultItems.filter((item) => item.isPinned);
143
+ const ordinaryItems = resultItems.filter((item) => !item.isPinned);
144
+ if (pinnedItems.length > 0 && ordinaryItems.length > 0 && Math.max(...pinnedItems.map((i) => i.pubDate).filter(Boolean)) < Math.min(...ordinaryItems.map((i) => i.pubDate).filter(Boolean))) {
145
+ resultItems = ordinaryItems;
155
146
  }
156
147
 
157
148
  ctx.state.data = {
@@ -159,6 +150,6 @@ module.exports = async (ctx) => {
159
150
  link: `https://weibo.com/${uid}/`,
160
151
  description,
161
152
  image: profileImageUrl,
162
- item: resultItem,
153
+ item: resultItems,
163
154
  };
164
155
  };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The alogrithm is well-explained in https://andrewlock.net/simple-obfuscation-of-email-addresses-using-javascript/
3
+ */
4
+ module.exports = {
5
+ // eslint-disable-next-line lines-around-comment
6
+ /**
7
+ * Returns decoded email address using CloudFlare's email address obfuscation.
8
+ * @param {String} encoded - encoded email, (`cfemail` attribute in `__cf_email__` tag)
9
+ * @returns decoded email address
10
+ */
11
+ decodeCFEmail: (encoded) => {
12
+ const parseHex = (string, position) => parseInt(string.substr(position, 2), 16);
13
+ let decoded = '';
14
+ const key = parseHex(encoded, 0);
15
+ for (let position = 2; position < encoded.length; position += 2) {
16
+ const byte = parseHex(encoded, position) ^ key;
17
+ decoded += String.fromCharCode(byte);
18
+ }
19
+ return decoded;
20
+ },
21
+
22
+ /**
23
+ * Returns CloudFlare protected email address.
24
+ * @param {String} email - email in plaintext
25
+ * @returns obfuscated email
26
+ */
27
+ encodeCFEmail: (email) => {
28
+ const key = Math.floor(Math.random() * 256);
29
+ let encoded = ('0' + key.toString(16)).slice(-2);
30
+ for (let position = 0; position < email.length; position++) {
31
+ const byte = email.charCodeAt(position) ^ key;
32
+ encoded += ('0' + byte.toString(16)).slice(-2);
33
+ }
34
+ return encoded;
35
+ },
36
+ };
@@ -16,6 +16,28 @@ module.exports = async (extraOptions = {}) => {
16
16
  if (extraOptions.stealth) {
17
17
  const { addExtra } = require('puppeteer-extra');
18
18
  puppeteer = addExtra(puppeteer);
19
+
20
+ // workaround for vercel/nft #54 and #283
21
+ require('puppeteer-extra-plugin-stealth/evasions/chrome.app');
22
+ require('puppeteer-extra-plugin-stealth/evasions/chrome.csi');
23
+ require('puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes');
24
+ require('puppeteer-extra-plugin-stealth/evasions/chrome.runtime');
25
+ require('puppeteer-extra-plugin-stealth/evasions/defaultArgs');
26
+ require('puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow');
27
+ require('puppeteer-extra-plugin-stealth/evasions/media.codecs');
28
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.hardwareConcurrency');
29
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.languages');
30
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.permissions');
31
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.plugins');
32
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.vendor');
33
+ require('puppeteer-extra-plugin-stealth/evasions/navigator.webdriver');
34
+ require('puppeteer-extra-plugin-stealth/evasions/sourceurl');
35
+ require('puppeteer-extra-plugin-stealth/evasions/user-agent-override');
36
+ require('puppeteer-extra-plugin-stealth/evasions/webgl.vendor');
37
+ require('puppeteer-extra-plugin-stealth/evasions/window.outerdimensions');
38
+ require('puppeteer-extra-plugin-user-preferences');
39
+ require('puppeteer-extra-plugin-user-data-dir');
40
+
19
41
  puppeteer.use(require('puppeteer-extra-plugin-stealth')());
20
42
  }
21
43
  let browser;
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * There are at least three folders which are relevant with WeChat MP (Official Account Platform / Media Platform):
5
5
  * lib/v2/wechat
6
+ * lib/v2/gov/npma
6
7
  * lib/v2/gzh360
7
8
  * lib/v2/pku/nsd/gd
8
9
  * lib/v2/sdu/cs
@@ -104,6 +105,14 @@ const fixArticleContent = (html, skipImg = false) => {
104
105
  }
105
106
  });
106
107
 
108
+ // add breaks in code section
109
+ $('code').each((_, code) => {
110
+ $('<br>').insertAfter(code);
111
+ });
112
+
113
+ // clear line index tags in code section
114
+ $('.code-snippet__line-index').remove();
115
+
107
116
  // fix single picture article
108
117
  // example: https://mp.weixin.qq.com/s/4p5YmYuASiQSYFiy7KqydQ
109
118
  $('script').each((_, script) => {
@@ -186,7 +195,6 @@ const fetchArticle = async (ctx, url, bypassHostCheck = false) => {
186
195
  let summary = $('meta[name=description]').attr('content');
187
196
  summary = summary !== title ? summary : '';
188
197
  let description = fixArticleContent($('#js_content'));
189
-
190
198
  // No article get or article is too short, try the original url
191
199
  const originalUrl = detectOriginalArticleUrl($);
192
200
  if (originalUrl) {
@@ -211,7 +219,6 @@ const fetchArticle = async (ctx, url, bypassHostCheck = false) => {
211
219
 
212
220
  let mpName = $('.profile_nickname').first().text();
213
221
  mpName = mpName && mpName.trim();
214
-
215
222
  return { title, author, description, summary, pubDate, mpName, link: url };
216
223
  });
217
224
  };
@@ -0,0 +1,74 @@
1
+ const got = require('@/utils/got');
2
+ const cheerio = require('cheerio');
3
+ const timezone = require('@/utils/timezone');
4
+ const { parseDate } = require('@/utils/parse-date');
5
+ const iconv = require('iconv-lite');
6
+
7
+ const setCookie = function (cookieName, cookieValue, seconds, path, domain, secure) {
8
+ let expires = null;
9
+ if (seconds !== -1) {
10
+ expires = new Date();
11
+ expires.setTime(expires.getTime() + seconds);
12
+ }
13
+ return [encodeURI(cookieName), '=', encodeURI(cookieValue), expires ? '; expires=' + expires.toGMTString() : '', path ? '; path=' + path : '/', domain ? '; domain=' + domain : '', secure ? '; secure' : ''].join('');
14
+ };
15
+
16
+ module.exports = async (ctx) => {
17
+ const city = ctx.params.city ?? 'www';
18
+
19
+ const rootUrl = `https://${city}.19lou.com`;
20
+
21
+ const response = await got({
22
+ method: 'get',
23
+ url: rootUrl,
24
+ responseType: 'buffer',
25
+ });
26
+
27
+ const $ = cheerio.load(iconv.decode(response.data, 'gbk'));
28
+
29
+ $('.title-more').remove();
30
+
31
+ let items = $('.center-center-jiazi')
32
+ .find('a[title]')
33
+ .toArray()
34
+ .map((item) => {
35
+ item = $(item);
36
+
37
+ return {
38
+ title: item.attr('title'),
39
+ link: `https:${item.attr('href')}`,
40
+ };
41
+ });
42
+
43
+ items = await Promise.all(
44
+ items.map((item) =>
45
+ ctx.cache.tryGet(item.link, async () => {
46
+ const detailResponse = await got({
47
+ method: 'get',
48
+ url: item.link,
49
+ responseType: 'buffer',
50
+ headers: {
51
+ cookie: setCookie('_Z3nY0d4C_', '37XgPK9h', 365, '/', '19lou.com'),
52
+ referer: rootUrl,
53
+ },
54
+ });
55
+
56
+ const content = cheerio.load(iconv.decode(detailResponse.data, 'gbk'));
57
+
58
+ content('.name-lz, .postView-pk-mod').remove();
59
+
60
+ item.author = content('.uname, .user-name').first().text();
61
+ item.description = content('.post-cont').first().html() || content('.thread-cont').html();
62
+ item.pubDate = timezone(parseDate(content('.cont-top-left meta').first().attr('content')), +8);
63
+
64
+ return item;
65
+ })
66
+ )
67
+ );
68
+
69
+ ctx.state.data = {
70
+ title: $('title').text().split('-')[0],
71
+ link: rootUrl,
72
+ item: items,
73
+ };
74
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ '/:city?': ['nczitzk'],
3
+ };
@@ -0,0 +1,29 @@
1
+ module.exports = {
2
+ '19lou.com': {
3
+ _name: '19 楼',
4
+ '.': [
5
+ {
6
+ title: '头条',
7
+ docs: 'https://docs.rsshub.app/bbs.html#19-lou-tou-tiao',
8
+ source: ['/'],
9
+ target: (params, url) => `/19lou/${new URL(url).toString().match(/\/\/(.*?)\.19lou/)[1]}`,
10
+ },
11
+ ],
12
+ www: [
13
+ {
14
+ title: '头条',
15
+ docs: 'https://docs.rsshub.app/bbs.html#19-lou-tou-tiao',
16
+ source: ['/'],
17
+ target: '/19lou/www',
18
+ },
19
+ ],
20
+ jiaxing: [
21
+ {
22
+ title: '头条',
23
+ docs: 'https://docs.rsshub.app/bbs.html#19-lou-tou-tiao',
24
+ source: ['/'],
25
+ target: '/19lou/jiaxing',
26
+ },
27
+ ],
28
+ },
29
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = function (router) {
2
+ router.get('/:city?', require('./index'));
3
+ };