rsshub 1.0.0-master.c586995 → 1.0.0-master.c5ed15a

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 (510) hide show
  1. package/README.md +0 -8
  2. package/lib/config.js +13 -4
  3. package/lib/middleware/cache/memory.js +2 -2
  4. package/lib/middleware/template.js +14 -1
  5. package/lib/radar.js +23 -0
  6. package/lib/router.js +67 -70
  7. package/lib/routes/axis-studios/work.js +0 -0
  8. package/lib/routes/blow-studio/work.js +0 -0
  9. package/lib/routes/blur-studio/index.js +0 -0
  10. package/lib/routes/digic-pictures/index.js +0 -0
  11. package/lib/routes/gov/hunan/notice.js +1 -1
  12. package/lib/routes/method-studios/index.js +0 -0
  13. package/lib/routes/ps/product.js +0 -0
  14. package/lib/routes/unit-image/films.js +0 -0
  15. package/lib/utils/puppeteer.js +2 -2
  16. package/lib/utils/request-wrapper.js +2 -2
  17. package/lib/v2/1point3acres/blog.js +67 -0
  18. package/lib/v2/1point3acres/category.js +17 -0
  19. package/lib/v2/1point3acres/maintainer.js +9 -0
  20. package/lib/v2/1point3acres/offer.js +69 -0
  21. package/lib/v2/1point3acres/radar.js +53 -0
  22. package/lib/v2/1point3acres/router.js +10 -0
  23. package/lib/v2/1point3acres/section.js +28 -0
  24. package/lib/v2/1point3acres/templates/image.art +1 -0
  25. package/lib/v2/1point3acres/templates/offer.art +11 -0
  26. package/lib/v2/1point3acres/thread.js +15 -0
  27. package/lib/v2/1point3acres/utils.js +79 -0
  28. package/lib/v2/3dmgame/game.js +39 -0
  29. package/lib/v2/3dmgame/maintainer.js +4 -0
  30. package/lib/v2/3dmgame/news_center.js +42 -0
  31. package/lib/v2/3dmgame/radar.js +19 -0
  32. package/lib/v2/3dmgame/router.js +4 -0
  33. package/lib/v2/3dmgame/utils.js +30 -0
  34. package/lib/{routes → v2}/6park/index.js +20 -12
  35. package/lib/v2/6park/maintainer.js +8 -0
  36. package/lib/v2/6park/news.js +76 -0
  37. package/lib/v2/6park/radar.js +65 -0
  38. package/lib/v2/6park/router.js +4 -0
  39. package/lib/v2/6v123/utils.js +4 -2
  40. package/lib/v2/amazon/kindle-software-updates.js +1 -0
  41. package/lib/v2/apache/apisix/blog.js +32 -0
  42. package/lib/v2/apache/maintainer.js +3 -0
  43. package/lib/v2/apache/radar.js +13 -0
  44. package/lib/v2/apache/router.js +3 -0
  45. package/lib/v2/apiseven/blog.js +46 -0
  46. package/lib/v2/apiseven/maintainer.js +3 -0
  47. package/lib/v2/apiseven/radar.js +13 -0
  48. package/lib/v2/apiseven/router.js +3 -0
  49. package/lib/v2/aqara/community.js +32 -0
  50. package/lib/v2/aqara/maintainer.js +4 -0
  51. package/lib/v2/aqara/news.js +53 -0
  52. package/lib/v2/aqara/radar.js +21 -0
  53. package/lib/v2/{ecust-jxjy → aqara}/router.js +1 -0
  54. package/lib/v2/arcteryx/maintainer.js +1 -0
  55. package/lib/v2/arcteryx/new-arrivals.js +4 -15
  56. package/lib/v2/arcteryx/outlet.js +40 -0
  57. package/lib/v2/arcteryx/radar.js +8 -0
  58. package/lib/v2/arcteryx/router.js +1 -0
  59. package/lib/v2/arcteryx/templates/product-description.art +9 -3
  60. package/lib/v2/arcteryx/utils.js +23 -0
  61. package/lib/v2/arknights/radar.js +1 -1
  62. package/lib/v2/atcoder/radar.js +1 -1
  63. package/lib/v2/bast/index.js +74 -0
  64. package/lib/v2/bast/maintainer.js +3 -0
  65. package/lib/v2/bast/radar.js +13 -0
  66. package/lib/v2/bast/router.js +3 -0
  67. package/lib/v2/bgmlist/onair.js +1 -2
  68. package/lib/v2/bilibili/cache.js +8 -3
  69. package/lib/v2/bilibili/radar.js +7 -1
  70. package/lib/v2/bilibili/userChannel.js +2 -1
  71. package/lib/v2/bilibili/userCollection.js +3 -1
  72. package/lib/v2/bilibili/utils.js +2 -1
  73. package/lib/v2/bilibili/video-all.js +2 -2
  74. package/lib/v2/bilibili/video.js +1 -1
  75. package/lib/v2/bilibili/vsearch.js +1 -1
  76. package/lib/{routes/universities → v2}/bit/cs/cs.js +4 -6
  77. package/lib/v2/bit/cs/utils.js +53 -0
  78. package/lib/{routes/universities → v2}/bit/jwc/jwc.js +4 -6
  79. package/lib/v2/bit/jwc/utils.js +49 -0
  80. package/lib/v2/bit/maintainer.js +3 -0
  81. package/lib/v2/bit/radar.js +25 -1
  82. package/lib/v2/bit/router.js +3 -0
  83. package/lib/v2/bit/yjs.js +27 -0
  84. package/lib/v2/bjsk/keti.js +54 -0
  85. package/lib/v2/bjsk/maintainer.js +1 -0
  86. package/lib/v2/bjsk/radar.js +8 -0
  87. package/lib/v2/bjsk/router.js +1 -0
  88. package/lib/{routes/rss3/blog.js → v2/camchina/index.js} +19 -13
  89. package/lib/v2/camchina/maintainer.js +3 -0
  90. package/lib/v2/camchina/radar.js +13 -0
  91. package/lib/v2/camchina/router.js +3 -0
  92. package/lib/{routes/universities/zkyyjs/zkyyjs.js → v2/cas/ia/yjs.js} +10 -8
  93. package/lib/v2/cas/maintainer.js +1 -0
  94. package/lib/v2/cas/radar.js +9 -1
  95. package/lib/v2/cas/router.js +1 -0
  96. package/lib/v2/cau/ele.js +42 -0
  97. package/lib/v2/cau/maintainer.js +4 -0
  98. package/lib/v2/cau/radar.js +21 -0
  99. package/lib/v2/cau/router.js +4 -0
  100. package/lib/v2/cau/yjs.js +42 -0
  101. package/lib/v2/ccnu/career.js +31 -0
  102. package/lib/v2/ccnu/cs.js +28 -0
  103. package/lib/v2/ccnu/maintainer.js +6 -0
  104. package/lib/v2/ccnu/radar.js +40 -0
  105. package/lib/v2/ccnu/router.js +6 -0
  106. package/lib/v2/ccnu/wu.js +27 -0
  107. package/lib/v2/ccnu/yjs.js +27 -0
  108. package/lib/v2/cebbank/all.js +5 -2
  109. package/lib/v2/cebbank/history.js +1 -0
  110. package/lib/v2/cebbank/radar.js +6 -6
  111. package/lib/v2/chinathinktanks/radar.js +1 -1
  112. package/lib/v2/cloudnative/blog.js +34 -0
  113. package/lib/v2/cloudnative/maintainer.js +3 -0
  114. package/lib/v2/cloudnative/radar.js +13 -0
  115. package/lib/v2/cloudnative/router.js +3 -0
  116. package/lib/v2/cls/depth.js +34 -32
  117. package/lib/v2/cls/hot.js +38 -29
  118. package/lib/v2/cls/maintainer.js +1 -1
  119. package/lib/v2/cls/radar.js +1 -1
  120. package/lib/v2/cls/telegraph.js +25 -23
  121. package/lib/v2/cls/templates/depth.art +3 -3
  122. package/lib/v2/cls/templates/telegraph.art +5 -5
  123. package/lib/v2/cls/utils.js +12 -6
  124. package/lib/v2/cneb/maintainer.js +4 -0
  125. package/lib/v2/cneb/radar.js +19 -0
  126. package/lib/v2/cneb/router.js +5 -0
  127. package/lib/v2/cneb/yjxw.js +72 -0
  128. package/lib/v2/cneb/yjxx.js +50 -0
  129. package/lib/v2/cqgas/maintainer.js +3 -0
  130. package/lib/v2/cqgas/radar.js +13 -0
  131. package/lib/v2/cqgas/router.js +3 -0
  132. package/lib/v2/cqgas/tqtz.js +36 -0
  133. package/lib/v2/cssn/iolaw.js +38 -0
  134. package/lib/v2/cssn/maintainer.js +3 -0
  135. package/lib/v2/cssn/radar.js +11 -0
  136. package/lib/v2/cssn/router.js +3 -0
  137. package/lib/v2/cste/index.js +56 -0
  138. package/lib/v2/cste/maintainer.js +3 -0
  139. package/lib/v2/cste/radar.js +13 -0
  140. package/lib/v2/cste/router.js +3 -0
  141. package/lib/v2/cuc/radar.js +2 -2
  142. package/lib/v2/cuc/yz.js +16 -20
  143. package/lib/v2/dahecube/radar.js +3 -2
  144. package/lib/v2/dlsite/ci-en/article.js +64 -0
  145. package/lib/v2/dlsite/index.js +5 -0
  146. package/lib/v2/dlsite/maintainer.js +2 -0
  147. package/lib/v2/dlsite/radar.js +14 -0
  148. package/lib/v2/dlsite/router.js +2 -0
  149. package/lib/v2/dlsite/templates/description.art +158 -0
  150. package/lib/v2/dlsite/utils.js +176 -0
  151. package/lib/v2/duozhuayu/maintainer.js +3 -0
  152. package/lib/v2/duozhuayu/radar.js +13 -0
  153. package/lib/v2/duozhuayu/router.js +3 -0
  154. package/lib/{routes → v2}/duozhuayu/search.js +23 -32
  155. package/lib/v2/duozhuayu/templates/book.art +10 -0
  156. package/lib/v2/eastmoney/maintainer.js +1 -0
  157. package/lib/v2/eastmoney/radar.js +8 -0
  158. package/lib/v2/eastmoney/router.js +1 -0
  159. package/lib/v2/eastmoney/search/index.js +55 -0
  160. package/lib/v2/ecust/e/news.js +44 -0
  161. package/lib/v2/ecust/gschool/yjs.js +27 -0
  162. package/lib/v2/ecust/maintainer.js +4 -0
  163. package/lib/v2/ecust/radar.js +21 -0
  164. package/lib/v2/ecust/router.js +4 -0
  165. package/lib/v2/embassy/radar.js +1 -1
  166. package/lib/v2/flyert/creditcard.js +3 -0
  167. package/lib/v2/flyert/utils.js +14 -8
  168. package/lib/v2/fortnite/maintainer.js +3 -0
  169. package/lib/v2/fortnite/news.js +58 -0
  170. package/lib/v2/fortnite/radar.js +16 -0
  171. package/lib/v2/fortnite/router.js +3 -0
  172. package/lib/v2/freebuf/index.js +41 -0
  173. package/lib/v2/freebuf/maintainer.js +3 -0
  174. package/lib/v2/freebuf/radar.js +13 -0
  175. package/lib/v2/freebuf/router.js +3 -0
  176. package/lib/v2/freecomputerbooks/index.js +94 -0
  177. package/lib/v2/freecomputerbooks/maintainer.js +4 -0
  178. package/lib/v2/freecomputerbooks/radar.js +31 -0
  179. package/lib/v2/freecomputerbooks/router.js +3 -0
  180. package/lib/v2/freecomputerbooks/templates/desc.art +3 -0
  181. package/lib/v2/github/gist.js +35 -0
  182. package/lib/v2/github/maintainer.js +2 -1
  183. package/lib/v2/github/radar.js +8 -0
  184. package/lib/v2/github/router.js +1 -0
  185. package/lib/v2/github/trending.js +8 -10
  186. package/lib/v2/gov/cac/index.js +64 -0
  187. package/lib/v2/gov/ccdi/index.js +1 -1
  188. package/lib/v2/gov/ccdi/utils.js +1 -1
  189. package/lib/v2/gov/chongqing/rsks.js +38 -0
  190. package/lib/v2/gov/maintainer.js +3 -1
  191. package/lib/v2/gov/radar.js +25 -3
  192. package/lib/v2/gov/router.js +2 -0
  193. package/lib/v2/gov/stats/index.js +101 -8
  194. package/lib/v2/gov/stats/templates/description.art +12 -0
  195. package/lib/v2/gq/tw/index.js +1 -1
  196. package/lib/v2/gxmzu/ai.js +18 -0
  197. package/lib/v2/gxmzu/maintainer.js +4 -0
  198. package/lib/v2/gxmzu/radar.js +21 -0
  199. package/lib/v2/gxmzu/router.js +4 -0
  200. package/lib/v2/gxmzu/utils/index.js +55 -0
  201. package/lib/v2/gxmzu/yjs.js +18 -0
  202. package/lib/v2/gz-cmc/index.js +137 -0
  203. package/lib/v2/gz-cmc/maintainer.js +3 -0
  204. package/lib/v2/gz-cmc/radar.js +12 -0
  205. package/lib/v2/gz-cmc/router.js +3 -0
  206. package/lib/v2/gz-cmc/templates/description.art +3 -0
  207. package/lib/v2/gzdaily/maintainer.js +0 -1
  208. package/lib/v2/gzdaily/radar.js +0 -10
  209. package/lib/v2/gzdaily/router.js +0 -1
  210. package/lib/v2/gzhu/maintainer.js +3 -0
  211. package/lib/v2/gzhu/radar.js +13 -0
  212. package/lib/v2/gzhu/router.js +3 -0
  213. package/lib/v2/gzhu/yjs.js +31 -0
  214. package/lib/v2/hackertalk/radar.js +1 -1
  215. package/lib/v2/hnu/careers.js +33 -0
  216. package/lib/v2/hnu/maintainer.js +3 -0
  217. package/lib/v2/hnu/radar.js +12 -0
  218. package/lib/v2/hnu/router.js +3 -0
  219. package/lib/v2/hust/aia/news.js +26 -0
  220. package/lib/v2/hust/aia/notice.js +29 -0
  221. package/lib/v2/hust/maintainer.js +7 -0
  222. package/lib/v2/hust/radar.js +27 -0
  223. package/lib/v2/hust/router.js +7 -0
  224. package/lib/v2/hust/yjs.js +27 -0
  225. package/lib/v2/ibc/maintainer.js +4 -0
  226. package/lib/{routes/maitta/index.js → v2/ibc/maitta.js} +11 -8
  227. package/lib/v2/ibc/radar.js +19 -0
  228. package/lib/v2/ibc/radio.js +73 -0
  229. package/lib/v2/ibc/router.js +4 -0
  230. package/lib/v2/ibc/templates/description.art +6 -0
  231. package/lib/v2/inoreader/rss.js +32 -7
  232. package/lib/v2/instructables/projects.js +1 -0
  233. package/lib/{routes/3k8 → v2/iqnew}/latest.js +19 -12
  234. package/lib/v2/iqnew/maintainer.js +3 -0
  235. package/lib/v2/iqnew/radar.js +13 -0
  236. package/lib/v2/iqnew/router.js +3 -0
  237. package/lib/v2/iresearch/radar.js +2 -2
  238. package/lib/v2/ithome/radar.js +3 -3
  239. package/lib/v2/iwara/radar.js +1 -1
  240. package/lib/v2/iwara/subscriptions.js +131 -32
  241. package/lib/v2/iwara/templates/subscriptions.art +1 -1
  242. package/lib/v2/kunchengblog/essay.js +50 -0
  243. package/lib/v2/kunchengblog/maintainer.js +3 -0
  244. package/lib/v2/kunchengblog/radar.js +13 -0
  245. package/lib/v2/kunchengblog/router.js +3 -0
  246. package/lib/v2/layer3/maintainer.js +3 -0
  247. package/lib/v2/layer3/quests.js +37 -0
  248. package/lib/v2/layer3/radar.js +13 -0
  249. package/lib/v2/layer3/router.js +3 -0
  250. package/lib/v2/layer3/templates/description.art +24 -0
  251. package/lib/v2/macmenubar/maintainer.js +3 -0
  252. package/lib/v2/macmenubar/radar.js +13 -0
  253. package/lib/v2/macmenubar/recently.js +47 -0
  254. package/lib/v2/macmenubar/router.js +3 -0
  255. package/lib/v2/mdpi/maintainer.js +0 -0
  256. package/lib/v2/mdpi/radar.js +0 -0
  257. package/lib/v2/mdpi/router.js +0 -0
  258. package/lib/v2/mdpi/templates/description.art +0 -0
  259. package/lib/v2/medium/following.js +31 -0
  260. package/lib/v2/medium/for-you.js +31 -0
  261. package/lib/v2/medium/graphql.js +190 -0
  262. package/lib/v2/medium/list.js +32 -0
  263. package/lib/v2/medium/maintainer.js +6 -0
  264. package/lib/v2/medium/parse-article.js +60 -0
  265. package/lib/v2/medium/radar.js +23 -0
  266. package/lib/v2/medium/router.js +6 -0
  267. package/lib/v2/medium/tag.js +32 -0
  268. package/lib/v2/mihoyo/maintainer.js +1 -0
  269. package/lib/v2/mihoyo/radar.js +16 -0
  270. package/lib/v2/mihoyo/router.js +1 -0
  271. package/lib/v2/mihoyo/sr/news.js +71 -0
  272. package/lib/v2/mihoyo/templates/ys.art +4 -0
  273. package/lib/v2/mihoyo/ys/news.js +132 -52
  274. package/lib/v2/nature/radar.js +1 -1
  275. package/lib/{routes → v2}/newrank/douyin.js +4 -1
  276. package/lib/v2/newrank/maintainer.js +4 -0
  277. package/lib/v2/newrank/radar.js +15 -0
  278. package/lib/v2/newrank/router.js +4 -0
  279. package/lib/v2/newrank/wechat.js +65 -0
  280. package/lib/v2/newzmz/index.js +55 -44
  281. package/lib/v2/newzmz/maintainer.js +1 -1
  282. package/lib/v2/newzmz/radar.js +1 -1
  283. package/lib/v2/newzmz/router.js +2 -1
  284. package/lib/v2/newzmz/templates/description.art +7 -0
  285. package/lib/v2/newzmz/view.js +32 -17
  286. package/lib/v2/njglyy/maintainer.js +3 -0
  287. package/lib/v2/njglyy/radar.js +13 -0
  288. package/lib/v2/njglyy/router.js +3 -0
  289. package/lib/v2/njglyy/utils/index.js +50 -0
  290. package/lib/v2/njglyy/ygbjypx.js +18 -0
  291. package/lib/v2/njucm/grabs.js +18 -0
  292. package/lib/v2/njucm/maintainer.js +3 -0
  293. package/lib/v2/njucm/radar.js +13 -0
  294. package/lib/v2/njucm/router.js +3 -0
  295. package/lib/v2/njucm/utils/index.js +47 -0
  296. package/lib/v2/njxzc/radar.js +2 -2
  297. package/lib/v2/njxzc/utils/index.js +1 -1
  298. package/lib/v2/nytimes/author.js +1 -1
  299. package/lib/v2/oeeee/app/channel.js +36 -0
  300. package/lib/v2/oeeee/app/reporter.js +30 -0
  301. package/lib/v2/oeeee/maintainer.js +5 -0
  302. package/lib/v2/oeeee/radar.js +12 -0
  303. package/lib/v2/oeeee/router.js +5 -0
  304. package/lib/v2/oeeee/templates/description.art +7 -0
  305. package/lib/v2/oeeee/utils.js +41 -0
  306. package/lib/v2/oeeee/web.js +36 -0
  307. package/lib/v2/ouc/it-postgraduate.js +27 -0
  308. package/lib/v2/ouc/it.js +43 -0
  309. package/lib/v2/ouc/maintainer.js +5 -0
  310. package/lib/v2/ouc/radar.js +27 -0
  311. package/lib/v2/ouc/router.js +5 -0
  312. package/lib/v2/ouc/yjs.js +27 -0
  313. package/lib/v2/pingwest/maintainer.js +5 -0
  314. package/lib/v2/pingwest/radar.js +25 -0
  315. package/lib/v2/pingwest/router.js +5 -0
  316. package/lib/{routes → v2}/pingwest/status.js +12 -5
  317. package/lib/{routes → v2}/pingwest/tag.js +13 -20
  318. package/lib/{routes → v2}/pingwest/user.js +8 -4
  319. package/lib/v2/pingwest/utils.js +92 -0
  320. package/lib/v2/pumc/maintainer.js +3 -0
  321. package/lib/v2/pumc/mdadmission.js +62 -0
  322. package/lib/v2/pumc/radar.js +13 -0
  323. package/lib/v2/pumc/router.js +3 -0
  324. package/lib/v2/qdu/jwc.js +58 -0
  325. package/lib/v2/qdu/maintainer.js +3 -0
  326. package/lib/v2/qdu/radar.js +13 -0
  327. package/lib/v2/qdu/router.js +3 -0
  328. package/lib/v2/readhub/index.js +1 -1
  329. package/lib/{routes → v2}/right/forum.js +21 -23
  330. package/lib/v2/right/maintainer.js +3 -0
  331. package/lib/v2/right/radar.js +13 -0
  332. package/lib/v2/right/router.js +3 -0
  333. package/lib/v2/rsshub/radar.js +2 -2
  334. package/lib/v2/sass/gs/index.js +55 -0
  335. package/lib/v2/sass/maintainer.js +3 -0
  336. package/lib/v2/sass/radar.js +13 -0
  337. package/lib/v2/sass/router.js +3 -0
  338. package/lib/v2/scau/maintainer.js +3 -0
  339. package/lib/v2/scau/radar.js +13 -0
  340. package/lib/v2/scau/router.js +3 -0
  341. package/lib/v2/scau/yjs.js +27 -0
  342. package/lib/v2/scnu/cs/match.js +36 -0
  343. package/lib/v2/scnu/jw.js +33 -0
  344. package/lib/v2/scnu/library.js +33 -0
  345. package/lib/v2/scnu/maintainer.js +10 -0
  346. package/lib/v2/scnu/physics_school_announcements_and_news.js +94 -0
  347. package/lib/v2/scnu/radar.js +65 -0
  348. package/lib/v2/scnu/router.js +10 -0
  349. package/lib/v2/scnu/ss.js +28 -0
  350. package/lib/{routes/universities/scnu/scnuyjs.js → v2/scnu/yjs.js} +9 -8
  351. package/lib/v2/scut/maintainer.js +8 -0
  352. package/lib/v2/scut/radar.js +33 -0
  353. package/lib/v2/scut/router.js +8 -0
  354. package/lib/v2/scut/scet/notice.js +31 -0
  355. package/lib/{routes/universities → v2}/scut/seie/news_center.js +12 -17
  356. package/lib/v2/scut/yjs.js +30 -0
  357. package/lib/v2/sdust/maintainer.js +3 -0
  358. package/lib/v2/sdust/radar.js +13 -0
  359. package/lib/v2/sdust/router.js +3 -0
  360. package/lib/v2/sdust/yjsy/zhaosheng.js +52 -0
  361. package/lib/v2/sony/downloads.js +1 -0
  362. package/lib/v2/southcn/nfapp/column.js +15 -5
  363. package/lib/v2/springer/maintainer.js +0 -0
  364. package/lib/v2/springer/radar.js +0 -0
  365. package/lib/v2/springer/router.js +0 -0
  366. package/lib/v2/springer/templates/description.art +0 -0
  367. package/lib/v2/sspai/radar.js +1 -1
  368. package/lib/v2/stdaily/digitalpaper.js +125 -0
  369. package/lib/v2/stdaily/maintainer.js +3 -0
  370. package/lib/v2/stdaily/radar.js +11 -0
  371. package/lib/v2/stdaily/router.js +3 -0
  372. package/lib/v2/stdaily/templates/description.art +16 -0
  373. package/lib/v2/studygolang/go.js +5 -0
  374. package/lib/v2/studygolang/jobs.js +3 -33
  375. package/lib/v2/studygolang/maintainer.js +3 -2
  376. package/lib/v2/studygolang/radar.js +9 -3
  377. package/lib/v2/studygolang/router.js +1 -0
  378. package/lib/v2/studygolang/utils.js +74 -0
  379. package/lib/v2/studygolang/weekly.js +3 -25
  380. package/lib/v2/sustech/bidding.js +34 -0
  381. package/lib/v2/sustech/maintainer.js +5 -0
  382. package/lib/v2/sustech/newshub-zh.js +39 -0
  383. package/lib/v2/sustech/radar.js +29 -0
  384. package/lib/v2/sustech/router.js +5 -0
  385. package/lib/v2/sustech/yjs.js +29 -0
  386. package/lib/v2/sysu/maintainer.js +1 -0
  387. package/lib/v2/sysu/radar.js +8 -0
  388. package/lib/v2/sysu/router.js +1 -0
  389. package/lib/v2/sysu/ygafz.js +69 -0
  390. package/lib/v2/szu/maintainer.js +3 -0
  391. package/lib/v2/szu/radar.js +19 -0
  392. package/lib/v2/szu/router.js +3 -0
  393. package/lib/{routes/universities → v2}/szu/yz/index.js +4 -4
  394. package/lib/{routes/universities → v2}/szu/yz/utils.js +24 -28
  395. package/lib/v2/telecompaper/maintainer.js +4 -0
  396. package/lib/{routes → v2}/telecompaper/news.js +1 -0
  397. package/lib/v2/telecompaper/radar.js +15 -0
  398. package/lib/v2/telecompaper/router.js +4 -0
  399. package/lib/v2/tencent/radar.js +1 -1
  400. package/lib/v2/themoviedb/api-key.js +23 -0
  401. package/lib/v2/themoviedb/collection.js +21 -0
  402. package/lib/v2/themoviedb/episodes.js +27 -0
  403. package/lib/v2/themoviedb/maintainer.js +7 -0
  404. package/lib/v2/themoviedb/radar.js +73 -0
  405. package/lib/v2/themoviedb/router.js +7 -0
  406. package/lib/v2/themoviedb/seasons.js +31 -0
  407. package/lib/v2/themoviedb/sheet.js +45 -0
  408. package/lib/v2/themoviedb/templates/description.art +6 -0
  409. package/lib/v2/themoviedb/trending.js +24 -0
  410. package/lib/v2/themoviedb/utils.js +34 -0
  411. package/lib/v2/tongji/maintainer.js +4 -0
  412. package/lib/v2/tongji/radar.js +21 -0
  413. package/lib/v2/tongji/router.js +4 -0
  414. package/lib/v2/tongji/sse/_article.js +25 -0
  415. package/lib/v2/tongji/sse/notice.js +46 -0
  416. package/lib/v2/tongji/yjs.js +27 -0
  417. package/lib/v2/twitter/maintainer.js +1 -0
  418. package/lib/v2/twitter/radar.js +10 -0
  419. package/lib/v2/twitter/router.js +1 -0
  420. package/lib/v2/twitter/tweet.js +5 -0
  421. package/lib/v2/twitter/web-api/tweet.js +25 -0
  422. package/lib/v2/twitter/web-api/twitter-api.js +41 -2
  423. package/lib/v2/ucas/ai.js +28 -0
  424. package/lib/v2/ucas/maintainer.js +1 -0
  425. package/lib/v2/ucas/radar.js +8 -0
  426. package/lib/v2/ucas/router.js +1 -0
  427. package/lib/v2/upc/jsj.js +77 -0
  428. package/lib/v2/upc/main.js +72 -0
  429. package/lib/v2/upc/maintainer.js +5 -0
  430. package/lib/v2/upc/radar.js +53 -0
  431. package/lib/v2/upc/router.js +5 -0
  432. package/lib/v2/upc/yjs.js +28 -0
  433. package/lib/v2/ustb/maintainer.js +2 -22
  434. package/lib/v2/ustb/radar.js +8 -0
  435. package/lib/v2/ustb/router.js +1 -0
  436. package/lib/{routes/universities → v2}/ustb/tj/news.js +11 -12
  437. package/lib/v2/v1tx/index.js +41 -22
  438. package/lib/v2/wanqu/news.js +3 -2
  439. package/lib/v2/wechat/maintainer.js +1 -0
  440. package/lib/v2/wechat/mp.js +0 -0
  441. package/lib/v2/wechat/radar.js +17 -0
  442. package/lib/v2/wechat/router.js +1 -0
  443. package/lib/v2/wechat/sogou.js +58 -0
  444. package/lib/v2/xiaohongshu/util.js +4 -1
  445. package/lib/v2/xkb/index.js +3 -3
  446. package/lib/v2/xueqiu/user.js +35 -14
  447. package/lib/v2/xyzrank/radar.js +7 -7
  448. package/lib/v2/zcool/radar.js +6 -6
  449. package/lib/v2/zhihu/answers.js +13 -9
  450. package/lib/v2/zhihu/radar.js +2 -2
  451. package/lib/v2/zju/radar.js +1 -1
  452. package/package.json +116 -127
  453. package/lib/routes/1point3acres/blog.js +0 -52
  454. package/lib/routes/1point3acres/offer.js +0 -211
  455. package/lib/routes/1point3acres/post.js +0 -50
  456. package/lib/routes/3dm/game.js +0 -42
  457. package/lib/routes/3dm/news_center.js +0 -54
  458. package/lib/routes/cneb/guoneinews.js +0 -27
  459. package/lib/routes/cneb/yjxx.js +0 -36
  460. package/lib/routes/newrank/wechat.js +0 -37
  461. package/lib/routes/pingwest/utils.js +0 -76
  462. package/lib/routes/universities/bit/bityjs.js +0 -23
  463. package/lib/routes/universities/bit/cs/utils.js +0 -73
  464. package/lib/routes/universities/bit/jwc/utils.js +0 -65
  465. package/lib/routes/universities/cauele/cauele.js +0 -24
  466. package/lib/routes/universities/cauyjs/cauyjs.js +0 -24
  467. package/lib/routes/universities/ccnu/career.js +0 -43
  468. package/lib/routes/universities/ccnu/ccnucs.js +0 -23
  469. package/lib/routes/universities/ccnu/ccnuwu.js +0 -23
  470. package/lib/routes/universities/ccnu/ccnuyjs.js +0 -23
  471. package/lib/routes/universities/cucyjs/cucyjs.js +0 -23
  472. package/lib/routes/universities/ecustyjs/ecustyjs.js +0 -23
  473. package/lib/routes/universities/gzyjs/gzyjs.js +0 -24
  474. package/lib/routes/universities/hust/aia/news.js +0 -32
  475. package/lib/routes/universities/hust/aia/notice.js +0 -35
  476. package/lib/routes/universities/hustyjs/hustyjs.js +0 -23
  477. package/lib/routes/universities/ouc/it.js +0 -52
  478. package/lib/routes/universities/outele/outele.js +0 -23
  479. package/lib/routes/universities/outyjs/outyjs.js +0 -23
  480. package/lib/routes/universities/scauyjs/scauyjs.js +0 -23
  481. package/lib/routes/universities/scnu/cs/match.js +0 -35
  482. package/lib/routes/universities/scnu/jw.js +0 -32
  483. package/lib/routes/universities/scnu/library.js +0 -32
  484. package/lib/routes/universities/scnu/scnucs.js +0 -23
  485. package/lib/routes/universities/scut/scet/notice.js +0 -32
  486. package/lib/routes/universities/scut/scutyjs.js +0 -28
  487. package/lib/routes/universities/sustech/bidding.js +0 -34
  488. package/lib/routes/universities/sustech/newshub-zh.js +0 -35
  489. package/lib/routes/universities/sustyjs/sustyjs.js +0 -24
  490. package/lib/routes/universities/szuyjs/szuyjs.js +0 -24
  491. package/lib/routes/universities/tju/sse/_article.js +0 -34
  492. package/lib/routes/universities/tju/sse/notice.js +0 -41
  493. package/lib/routes/universities/tjuyjs/tjuyjs.js +0 -23
  494. package/lib/routes/universities/upc/jsj.js +0 -81
  495. package/lib/routes/universities/upc/main.js +0 -72
  496. package/lib/routes/universities/upcyjs/upcyjs.js +0 -23
  497. package/lib/routes/universities/zkyai/zkyai.js +0 -23
  498. package/lib/v2/ecust-jxjy/maintainer.js +0 -3
  499. package/lib/v2/ecust-jxjy/news.js +0 -47
  500. package/lib/v2/ecust-jxjy/radar.js +0 -13
  501. package/lib/v2/gov/stats/templates/attachments.art +0 -5
  502. package/lib/v2/gov/stats/utils.js +0 -75
  503. package/lib/v2/gzdaily/cmc.js +0 -60
  504. /package/lib/{routes/1point3acres/posts.js → v2/1point3acres/user/post.js} +0 -0
  505. /package/lib/{routes/1point3acres/threads.js → v2/1point3acres/user/thread.js} +0 -0
  506. /package/lib/{routes → v2}/newrank/utils.js +0 -0
  507. /package/lib/{routes/universities → v2}/scut/jwc/news.js +0 -0
  508. /package/lib/{routes/universities → v2}/scut/jwc/notice.js +0 -0
  509. /package/lib/{routes/universities → v2}/scut/jwc/school.js +0 -0
  510. /package/lib/{routes → v2}/telecompaper/search.js +0 -0
package/README.md CHANGED
@@ -33,14 +33,6 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
33
33
 
34
34
  ## Special Thanks
35
35
 
36
- ### Special Sponsors
37
-
38
- <p>
39
- <a href="https://rss3.io/" target="_blank"><img height="50px" src="https://i.imgur.com/vHtI4bz.png"></a>
40
- </p>
41
-
42
- [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)
43
-
44
36
  ### Contributors
45
37
 
46
38
  [![](https://opencollective.com/RSSHub/contributors.svg?width=890)](https://github.com/DIYgod/RSSHub/graphs/contributors)
package/lib/config.js CHANGED
@@ -9,6 +9,7 @@ const calculateValue = () => {
9
9
  const twitter_tokens = {};
10
10
  const email_config = {};
11
11
  const discuz_cookies = {};
12
+ const medium_cookies = {};
12
13
 
13
14
  for (const name in envs) {
14
15
  if (name.startsWith('BILIBILI_COOKIE_')) {
@@ -23,6 +24,9 @@ const calculateValue = () => {
23
24
  } else if (name.startsWith('DISCUZ_COOKIE_')) {
24
25
  const cid = name.slice(14);
25
26
  discuz_cookies[cid] = envs[name];
27
+ } else if (name.startsWith('MEDIUM_COOKIE_')) {
28
+ const username = name.slice(14).toLowerCase();
29
+ medium_cookies[username] = envs[name];
26
30
  }
27
31
  }
28
32
 
@@ -120,6 +124,9 @@ const calculateValue = () => {
120
124
  chuiniu: {
121
125
  member: envs.CHUINIU_MEMBER,
122
126
  },
127
+ civitai: {
128
+ cookie: envs.CIVITAI_COOKIE,
129
+ },
123
130
  dida365: {
124
131
  username: envs.DIDA365_USERNAME,
125
132
  password: envs.DIDA365_PASSWORD,
@@ -191,7 +198,8 @@ const calculateValue = () => {
191
198
  cookie: envs.IG_COOKIE,
192
199
  },
193
200
  iwara: {
194
- cookie: envs.IWARA_COOKIE,
201
+ username: envs.IWARA_USERNAME,
202
+ password: envs.IWARA_PASSWORD,
195
203
  },
196
204
  lastfm: {
197
205
  api_key: envs.LASTFM_API_KEY,
@@ -204,6 +212,10 @@ const calculateValue = () => {
204
212
  accessToken: envs.MASTODON_API_ACCESS_TOKEN,
205
213
  acctDomain: envs.MASTODON_API_ACCT_DOMAIN,
206
214
  },
215
+ medium: {
216
+ cookies: medium_cookies,
217
+ articleCookie: envs.MEDIUM_ARTICLE_COOKIE || '',
218
+ },
207
219
  miniflux: {
208
220
  instance: envs.MINIFLUX_INSTANCE || 'https://reader.miniflux.app',
209
221
  token: envs.MINIFLUX_TOKEN || '',
@@ -292,9 +304,6 @@ const calculateValue = () => {
292
304
  zodgame: {
293
305
  cookie: envs.ZODGAME_COOKIE,
294
306
  },
295
- civitai: {
296
- cookie: envs.CIVITAI_COOKIE,
297
- },
298
307
  };
299
308
  };
300
309
  calculateValue();
@@ -1,9 +1,9 @@
1
- const Lru = require('lru-cache');
1
+ const { LRUCache } = require('lru-cache');
2
2
  const config = require('@/config').value;
3
3
 
4
4
  const status = { available: false };
5
5
 
6
- const memoryCache = new Lru({
6
+ const memoryCache = new LRUCache({
7
7
  ttl: config.cache.routeExpire * 1000,
8
8
  max: config.memory.max,
9
9
  });
@@ -1,7 +1,7 @@
1
1
  const { art, json } = require('@/utils/render');
2
2
  const path = require('path');
3
3
  const config = require('@/config').value;
4
- const typeRegex = /\.(atom|rss|debug\.json|json)$/;
4
+ const typeRegex = /\.(atom|rss|debug\.json|json|\d+\.debug\.html)$/;
5
5
  const { collapseWhitespace, convertDateToISO8601 } = require('@/utils/common-utils');
6
6
 
7
7
  module.exports = async (ctx, next) => {
@@ -26,6 +26,19 @@ module.exports = async (ctx, next) => {
26
26
  ctx.body = JSON.stringify({ message: 'plugin does not set debug json' });
27
27
  }
28
28
  }
29
+ if (outputType.endsWith('.debug.html') && config.debugInfo) {
30
+ ctx.set({
31
+ 'Content-Type': 'text/html; charset=UTF-8',
32
+ });
33
+
34
+ const index = parseInt(outputType.match(/(\d+)\.debug\.html$/)[1]);
35
+ if (!(ctx.state.data && ctx.state.data.item && ctx.state.data.item[index])) {
36
+ ctx.body = `ctx.state.data.item[${index}] not found`;
37
+ } else {
38
+ ctx.body = ctx.state.data.item[index].description;
39
+ }
40
+ }
41
+
29
42
  if (outputType === 'json') {
30
43
  ctx.set({ 'Content-Type': 'application/feed+json; charset=UTF-8' });
31
44
  }
package/lib/radar.js CHANGED
@@ -43,6 +43,29 @@ const validateRadarRules = (rule, dir) => {
43
43
  if (!item.docs.startsWith('https://docs.rsshub.app/')) {
44
44
  throw Error(`Radar rules for "${host}" in "${dir}" should start with 'https://docs.rsshub.app/'.`);
45
45
  }
46
+ if (Array.isArray(item.source)) {
47
+ if (!item.source.length) {
48
+ // check for []
49
+ throw Error(`Radar rule of "${item.title}" for subdomain "${host}" in "${dir}" should not be empty.`);
50
+ }
51
+ if (item.source.some((s) => s.includes('#') || s.includes('='))) {
52
+ // Some will try to match '/some/path?a=1' which is not supported
53
+ throw Error(`Radar rule of "${item.title}" for subdomain "${host}" in "${dir}" cannot match URL hash or URL search parameters.`);
54
+ }
55
+ if (item.source.some((s) => !s.length)) {
56
+ // check for ['/some/thing', ''] and ['']
57
+ throw Error(`Radar rule of "${item.title}" for subdomain "${host}" in "${dir}" should not be empty.`);
58
+ }
59
+ }
60
+ if (typeof item.source === 'string') {
61
+ if (!item.source.length) {
62
+ // check for ''
63
+ throw Error(`Radar rule of "${item.title}" for subdomain "${host}" in "${dir}" should not be empty.`);
64
+ }
65
+ if (item.source.includes('#') || item.source.includes('=')) {
66
+ throw Error(`Radar rule of "${item.title}" for subdomain "${host}" in "${dir}" cannot match URL hash or URL search parameters.`);
67
+ }
68
+ }
46
69
  for (const key in item) {
47
70
  if (key !== 'title' && key !== 'docs' && key !== 'source' && key !== 'target') {
48
71
  throw Error(`Radar rules for "${host}" in "${dir}" should not have property "${key}".`);
package/lib/router.js CHANGED
@@ -242,8 +242,8 @@ router.get('/yande.re/post/popular_recent/:period', lazyloadRouteHandler('./rout
242
242
  // router.get('/nytimes/:lang?', lazyloadRouteHandler('./routes/nytimes/index'));
243
243
 
244
244
  // 3dm
245
- router.get('/3dm/:name/:type', lazyloadRouteHandler('./routes/3dm/game'));
246
- router.get('/3dm/news', lazyloadRouteHandler('./routes/3dm/news_center'));
245
+ // router.get('/3dm/:name/:type', lazyloadRouteHandler('./routes/3dm/game'));
246
+ // router.get('/3dm/news', lazyloadRouteHandler('./routes/3dm/news_center'));
247
247
 
248
248
  // 喜马拉雅
249
249
  router.get('/ximalaya/:type/:id/:all?', lazyloadRouteHandler('./routes/ximalaya/album'));
@@ -495,8 +495,8 @@ router.get('/zdfx', lazyloadRouteHandler('./routes/galgame/zdfx'));
495
495
  // router.get('/bjfu/it/:type', lazyloadRouteHandler('./routes/universities/bjfu/it/index'));
496
496
 
497
497
  // 北京理工大学
498
- router.get('/bit/jwc', lazyloadRouteHandler('./routes/universities/bit/jwc/jwc'));
499
- router.get('/bit/cs', lazyloadRouteHandler('./routes/universities/bit/cs/cs'));
498
+ // router.get('/bit/jwc', lazyloadRouteHandler('./routes/universities/bit/jwc/jwc'));
499
+ // router.get('/bit/cs', lazyloadRouteHandler('./routes/universities/bit/cs/cs'));
500
500
 
501
501
  // 北京交通大学
502
502
  router.get('/bjtu/gs/:type', lazyloadRouteHandler('./routes/universities/bjtu/gs'));
@@ -582,9 +582,9 @@ router.get('/swust/jwc/notice/:type?', lazyloadRouteHandler('./routes/universiti
582
582
  router.get('/swust/cs/:type?', lazyloadRouteHandler('./routes/universities/swust/cs'));
583
583
 
584
584
  // 华南师范大学
585
- router.get('/scnu/jw', lazyloadRouteHandler('./routes/universities/scnu/jw'));
586
- router.get('/scnu/library', lazyloadRouteHandler('./routes/universities/scnu/library'));
587
- router.get('/scnu/cs/match', lazyloadRouteHandler('./routes/universities/scnu/cs/match'));
585
+ // router.get('/scnu/jw', lazyloadRouteHandler('./routes/universities/scnu/jw'));
586
+ // router.get('/scnu/library', lazyloadRouteHandler('./routes/universities/scnu/library'));
587
+ // router.get('/scnu/cs/match', lazyloadRouteHandler('./routes/universities/scnu/cs/match'));
588
588
 
589
589
  // 广东工业大学
590
590
  // router.get('/gdut/news', lazyloadRouteHandler('./routes/universities/gdut/news'));
@@ -691,10 +691,10 @@ router.get('/whu/news/:type?', lazyloadRouteHandler('./routes/universities/whu/n
691
691
  // router.get('/wfu/jwc', require('./routes/universities/wfu/jwc'));
692
692
 
693
693
  // 华中科技大学
694
- router.get('/hust/auto/notice/:type?', lazyloadRouteHandler('./routes/universities/hust/aia/notice'));
695
- router.get('/hust/auto/news', lazyloadRouteHandler('./routes/universities/hust/aia/news'));
696
- router.get('/hust/aia/news', lazyloadRouteHandler('./routes/universities/hust/aia/news'));
697
- router.get('/hust/aia/notice/:type?', lazyloadRouteHandler('./routes/universities/hust/aia/notice'));
694
+ // router.get('/hust/auto/notice/:type?', lazyloadRouteHandler('./routes/universities/hust/aia/notice'));
695
+ // router.get('/hust/auto/news', lazyloadRouteHandler('./routes/universities/hust/aia/news'));
696
+ // router.get('/hust/aia/news', lazyloadRouteHandler('./routes/universities/hust/aia/news'));
697
+ // router.get('/hust/aia/notice/:type?', lazyloadRouteHandler('./routes/universities/hust/aia/notice'));
698
698
 
699
699
  // 井冈山大学
700
700
  router.get('/jgsu/jwc', lazyloadRouteHandler('./routes/universities/jgsu/jwc'));
@@ -707,7 +707,7 @@ router.get('/jgsu/jwc', lazyloadRouteHandler('./routes/universities/jgsu/jwc'));
707
707
  // router.get('/sdu/epe/:type?', lazyloadRouteHandler('./routes/universities/sdu/epe'));
708
708
 
709
709
  // 中国海洋大学
710
- router.get('/ouc/it/:type?', lazyloadRouteHandler('./routes/universities/ouc/it'));
710
+ // router.get('/ouc/it/:type?', lazyloadRouteHandler('./routes/universities/ouc/it'));
711
711
 
712
712
  // 大连大学
713
713
  router.get('/dlu/jiaowu/news', lazyloadRouteHandler('./routes/universities/dlu/jiaowu/news'));
@@ -717,12 +717,12 @@ router.get('/dgut/jwc/:type?', lazyloadRouteHandler('./routes/universities/dgut/
717
717
  router.get('/dgut/xsc/:type?', lazyloadRouteHandler('./routes/universities/dgut/xsc'));
718
718
 
719
719
  // 同济大学
720
- router.get('/tju/sse/:type?', lazyloadRouteHandler('./routes/universities/tju/sse/notice'));
720
+ // router.get('/tju/sse/:type?', lazyloadRouteHandler('./routes/universities/tju/sse/notice'));
721
721
 
722
722
  // 华南理工大学
723
- router.get('/scut/jwc/notice/:category?', lazyloadRouteHandler('./routes/universities/scut/jwc/notice'));
724
- router.get('/scut/jwc/school/:category?', lazyloadRouteHandler('./routes/universities/scut/jwc/school'));
725
- router.get('/scut/jwc/news', lazyloadRouteHandler('./routes/universities/scut/jwc/news'));
723
+ // router.get('/scut/jwc/notice/:category?', lazyloadRouteHandler('./routes/universities/scut/jwc/notice'));
724
+ // router.get('/scut/jwc/school/:category?', lazyloadRouteHandler('./routes/universities/scut/jwc/school'));
725
+ // router.get('/scut/jwc/news', lazyloadRouteHandler('./routes/universities/scut/jwc/news'));
726
726
 
727
727
  // 温州商学院
728
728
  router.get('/wzbc/:type?', lazyloadRouteHandler('./routes/universities/wzbc/news'));
@@ -748,14 +748,14 @@ router.get('/shu/:type?', lazyloadRouteHandler('./routes/universities/shu/index'
748
748
  router.get('/shu/jwc/:type?', lazyloadRouteHandler('./routes/universities/shu/jwc'));
749
749
 
750
750
  // 北京科技大学天津学院
751
- router.get('/ustb/tj/news/:type?', lazyloadRouteHandler('./routes/universities/ustb/tj/news'));
751
+ // router.get('/ustb/tj/news/:type?', lazyloadRouteHandler('./routes/universities/ustb/tj/news'));
752
752
 
753
753
  // 深圳大学
754
- router.get('/szu/yz/:type?', lazyloadRouteHandler('./routes/universities/szu/yz'));
754
+ // router.get('/szu/yz/:type?', lazyloadRouteHandler('./routes/universities/szu/yz'));
755
755
 
756
756
  // 中国石油大学(华东)
757
- router.get('/upc/main/:type?', lazyloadRouteHandler('./routes/universities/upc/main'));
758
- router.get('/upc/jsj/:type?', lazyloadRouteHandler('./routes/universities/upc/jsj'));
757
+ // router.get('/upc/main/:type?', lazyloadRouteHandler('./routes/universities/upc/main'));
758
+ // router.get('/upc/jsj/:type?', lazyloadRouteHandler('./routes/universities/upc/jsj'));
759
759
 
760
760
  // 华北水利水电大学
761
761
  // router.get('/ncwu/notice', lazyloadRouteHandler('./routes/universities/ncwu/notice'));
@@ -1164,7 +1164,7 @@ router.get('/allpoetry/:order?', lazyloadRouteHandler('./routes/allpoetry/order'
1164
1164
  // router.get('/wallstreetcn/live/:channel?', lazyloadRouteHandler('./routes/wallstreetcn/live'));
1165
1165
 
1166
1166
  // 多抓鱼搜索
1167
- router.get('/duozhuayu/search/:wd', lazyloadRouteHandler('./routes/duozhuayu/search'));
1167
+ // router.get('/duozhuayu/search/:wd', lazyloadRouteHandler('./routes/duozhuayu/search'));
1168
1168
 
1169
1169
  // 创业邦
1170
1170
  router.get('/cyzone/author/:id', lazyloadRouteHandler('./routes/cyzone/author'));
@@ -1360,7 +1360,7 @@ router.get('/ui-cn/user/:id', lazyloadRouteHandler('./routes/ui-cn/user'));
1360
1360
  router.get('/juesheng', lazyloadRouteHandler('./routes/juesheng'));
1361
1361
 
1362
1362
  // 播客IBCラジオ イヤーマイッタマイッタ
1363
- router.get('/maitta', lazyloadRouteHandler('./routes/maitta'));
1363
+ // router.get('/maitta', lazyloadRouteHandler('./routes/maitta'));
1364
1364
 
1365
1365
  // 一些博客
1366
1366
  // 敬维-以认真的态度做完美的事情: https://jingwei.link/
@@ -1460,7 +1460,7 @@ router.get('/zucc/news/latest', lazyloadRouteHandler('./routes/universities/zucc
1460
1460
  router.get('/zucc/cssearch/latest/:webVpn/:key', lazyloadRouteHandler('./routes/universities/zucc/cssearch'));
1461
1461
 
1462
1462
  // 华中师范大学
1463
- router.get('/ccnu/career', lazyloadRouteHandler('./routes/universities/ccnu/career'));
1463
+ // router.get('/ccnu/career', lazyloadRouteHandler('./routes/universities/ccnu/career'));
1464
1464
 
1465
1465
  // Infoq
1466
1466
  // router.get('/infoq/recommend', lazyloadRouteHandler('./routes/infoq/recommend'));
@@ -1506,11 +1506,11 @@ router.get('/bupt/funbox', lazyloadRouteHandler('./routes/universities/bupt/funb
1506
1506
  // router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
1507
1507
 
1508
1508
  // 一亩三分地 1point3acres
1509
- router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
1510
- router.get('/1point3acres/user/:id/threads', lazyloadRouteHandler('./routes/1point3acres/threads'));
1511
- router.get('/1point3acres/user/:id/posts', lazyloadRouteHandler('./routes/1point3acres/posts'));
1512
- router.get('/1point3acres/offer/:year?/:major?/:school?', lazyloadRouteHandler('./routes/1point3acres/offer'));
1513
- router.get('/1point3acres/post/:category', lazyloadRouteHandler('./routes/1point3acres/post'));
1509
+ // router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
1510
+ // router.get('/1point3acres/user/:id/threads', lazyloadRouteHandler('./routes/1point3acres/threads'));
1511
+ // router.get('/1point3acres/user/:id/posts', lazyloadRouteHandler('./routes/1point3acres/posts'));
1512
+ // router.get('/1point3acres/offer/:year?/:major?/:school?', lazyloadRouteHandler('./routes/1point3acres/offer'));
1513
+ // router.get('/1point3acres/post/:category', lazyloadRouteHandler('./routes/1point3acres/post'));
1514
1514
 
1515
1515
  // 广东海洋大学
1516
1516
  router.get('/gdoujwc', lazyloadRouteHandler('./routes/universities/gdou/jwc/jwtz'));
@@ -1943,9 +1943,9 @@ router.get('/japanpost/track/:reqCode/:locale?', lazyloadRouteHandler('./routes/
1943
1943
  // router.get('/mofcom/article/:suffix', lazyloadRouteHandler('./routes/mofcom/article'));
1944
1944
 
1945
1945
  // 品玩
1946
- router.get('/pingwest/status', lazyloadRouteHandler('./routes/pingwest/status'));
1947
- router.get('/pingwest/tag/:tag/:type', lazyloadRouteHandler('./routes/pingwest/tag'));
1948
- router.get('/pingwest/user/:uid/:type?', lazyloadRouteHandler('./routes/pingwest/user'));
1946
+ // router.get('/pingwest/status', lazyloadRouteHandler('./routes/pingwest/status'));
1947
+ // router.get('/pingwest/tag/:tag/:type/:option?', lazyloadRouteHandler('./routes/pingwest/tag'));
1948
+ // router.get('/pingwest/user/:uid/:type?/:option?', lazyloadRouteHandler('./routes/pingwest/user'));
1949
1949
 
1950
1950
  // Hanime
1951
1951
  router.get('/hanime/video', lazyloadRouteHandler('./routes/hanime/video'));
@@ -2017,8 +2017,8 @@ router.get('/latexstudio/home', lazyloadRouteHandler('./routes/latexstudio/home'
2017
2017
  router.get('/jskou/:type?', lazyloadRouteHandler('./routes/jskou/index'));
2018
2018
 
2019
2019
  // 国家应急广播
2020
- router.get('/cneb/yjxx', lazyloadRouteHandler('./routes/cneb/yjxx'));
2021
- router.get('/cneb/guoneinews', lazyloadRouteHandler('./routes/cneb/guoneinews'));
2020
+ // router.get('/cneb/yjxx', lazyloadRouteHandler('./routes/cneb/yjxx'));
2021
+ // router.get('/cneb/guoneinews', lazyloadRouteHandler('./routes/cneb/guoneinews'));
2022
2022
 
2023
2023
  // 邮箱
2024
2024
  router.get('/mail/imap/:email', lazyloadRouteHandler('./routes/mail/imap'));
@@ -2521,32 +2521,32 @@ router.get('/guat/news/:type?', lazyloadRouteHandler('./routes/guat/news'));
2521
2521
  // router.get('/neea/:type', lazyloadRouteHandler('./routes/neea'));
2522
2522
 
2523
2523
  // 中国农业大学
2524
- router.get('/cauyjs', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
2524
+ // router.get('/cauyjs', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
2525
2525
 
2526
2526
  // 南方科技大学
2527
- router.get('/sustyjs', lazyloadRouteHandler('./routes/universities/sustyjs/sustyjs'));
2528
- router.get('/sustech/newshub-zh', lazyloadRouteHandler('./routes/universities/sustech/newshub-zh'));
2529
- router.get('/sustech/bidding', lazyloadRouteHandler('./routes/universities/sustech/bidding'));
2527
+ // router.get('/sustyjs', lazyloadRouteHandler('./routes/universities/sustyjs/sustyjs'));
2528
+ // router.get('/sustech/newshub-zh', lazyloadRouteHandler('./routes/universities/sustech/newshub-zh'));
2529
+ // router.get('/sustech/bidding', lazyloadRouteHandler('./routes/universities/sustech/bidding'));
2530
2530
 
2531
2531
  // 广州航海学院
2532
2532
  router.get('/gzmtu/jwc', lazyloadRouteHandler('./routes/universities/gzmtu/jwc'));
2533
2533
  router.get('/gzmtu/tsg', lazyloadRouteHandler('./routes/universities/gzmtu/tsg'));
2534
2534
 
2535
2535
  // 广州大学
2536
- router.get('/gzyjs', lazyloadRouteHandler('./routes/universities/gzyjs/gzyjs'));
2536
+ // router.get('/gzyjs', lazyloadRouteHandler('./routes/universities/gzyjs/gzyjs'));
2537
2537
 
2538
2538
  // 暨南大学
2539
2539
  router.get('/jnu/xysx/:type', lazyloadRouteHandler('./routes/universities/jnu/xysx/index'));
2540
2540
  router.get('/jnu/yw/:type?', lazyloadRouteHandler('./routes/universities/jnu/yw/index'));
2541
2541
 
2542
2542
  // 深圳大学
2543
- router.get('/szuyjs', lazyloadRouteHandler('./routes/universities/szuyjs/szuyjs'));
2543
+ // router.get('/szuyjs', lazyloadRouteHandler('./routes/universities/szuyjs/szuyjs'));
2544
2544
 
2545
2545
  // 中国传媒大学
2546
- router.get('/cucyjs', lazyloadRouteHandler('./routes/universities/cucyjs/cucyjs'));
2546
+ // router.get('/cucyjs', lazyloadRouteHandler('./routes/universities/cucyjs/cucyjs'));
2547
2547
 
2548
2548
  // 中国农业大学信电学院
2549
- router.get('/cauele', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
2549
+ // router.get('/cauele', lazyloadRouteHandler('./routes/universities/cauyjs/cauyjs'));
2550
2550
 
2551
2551
  // moxingfans
2552
2552
  router.get('/moxingfans', lazyloadRouteHandler('./routes/moxingfans'));
@@ -2555,25 +2555,25 @@ router.get('/moxingfans', lazyloadRouteHandler('./routes/moxingfans'));
2555
2555
  router.get('/chiphell/forum/:forumId?', lazyloadRouteHandler('./routes/chiphell/forum'));
2556
2556
 
2557
2557
  // 华东理工大学研究生院
2558
- router.get('/ecustyjs', lazyloadRouteHandler('./routes/universities/ecustyjs/ecustyjs'));
2558
+ // router.get('/ecustyjs', lazyloadRouteHandler('./routes/universities/ecustyjs/ecustyjs'));
2559
2559
 
2560
2560
  // 同济大学研究生院
2561
- router.get('/tjuyjs', lazyloadRouteHandler('./routes/universities/tjuyjs/tjuyjs'));
2561
+ // router.get('/tjuyjs', lazyloadRouteHandler('./routes/universities/tjuyjs/tjuyjs'));
2562
2562
 
2563
2563
  // 中国石油大学研究生院
2564
- router.get('/upcyjs', lazyloadRouteHandler('./routes/universities/upcyjs/upcyjs'));
2564
+ // router.get('/upcyjs', lazyloadRouteHandler('./routes/universities/upcyjs/upcyjs'));
2565
2565
 
2566
2566
  // 中国海洋大学研究生院
2567
- router.get('/outyjs', lazyloadRouteHandler('./routes/universities/outyjs/outyjs'));
2567
+ // router.get('/outyjs', lazyloadRouteHandler('./routes/universities/outyjs/outyjs'));
2568
2568
 
2569
2569
  // 中科院人工智能所
2570
- router.get('/zkyai', lazyloadRouteHandler('./routes/universities/zkyai/zkyai'));
2570
+ // router.get('/zkyai', lazyloadRouteHandler('./routes/universities/zkyai/zkyai'));
2571
2571
 
2572
2572
  // 中科院自动化所
2573
- router.get('/zkyyjs', lazyloadRouteHandler('./routes/universities/zkyyjs/zkyyjs'));
2573
+ // router.get('/zkyyjs', lazyloadRouteHandler('./routes/universities/zkyyjs/zkyyjs'));
2574
2574
 
2575
2575
  // 中国海洋大学信电学院
2576
- router.get('/outele', lazyloadRouteHandler('./routes/universities/outele/outele'));
2576
+ // router.get('/outele', lazyloadRouteHandler('./routes/universities/outele/outele'));
2577
2577
 
2578
2578
  // 华东师范大学研究生院 migrated to v2
2579
2579
  // router.get('/ecnuyjs', lazyloadRouteHandler('./routes/universities/ecnuyjs/ecnuyjs'));
@@ -2582,16 +2582,16 @@ router.get('/outele', lazyloadRouteHandler('./routes/universities/outele/outele'
2582
2582
  router.get('/kaoyan', lazyloadRouteHandler('./routes/kaoyan/kaoyan'));
2583
2583
 
2584
2584
  // 华中科技大学研究生院
2585
- router.get('/hustyjs', lazyloadRouteHandler('./routes/universities/hustyjs/hustyjs'));
2585
+ // router.get('/hustyjs', lazyloadRouteHandler('./routes/universities/hustyjs/hustyjs'));
2586
2586
 
2587
2587
  // 华中师范大学研究生院
2588
- router.get('/ccnuyjs', lazyloadRouteHandler('./routes/universities/ccnu/ccnuyjs'));
2588
+ // router.get('/ccnuyjs', lazyloadRouteHandler('./routes/universities/ccnu/ccnuyjs'));
2589
2589
 
2590
2590
  // 华中师范大学计算机学院
2591
- router.get('/ccnucs', lazyloadRouteHandler('./routes/universities/ccnu/ccnucs'));
2591
+ // router.get('/ccnucs', lazyloadRouteHandler('./routes/universities/ccnu/ccnucs'));
2592
2592
 
2593
2593
  // 华中师范大学伍论贡学院
2594
- router.get('/ccnuwu', lazyloadRouteHandler('./routes/universities/ccnu/ccnuwu'));
2594
+ // router.get('/ccnuwu', lazyloadRouteHandler('./routes/universities/ccnu/ccnuwu'));
2595
2595
 
2596
2596
  // WEEX
2597
2597
  router.get('/weexcn/news/:typeid', lazyloadRouteHandler('./routes/weexcn/index'));
@@ -2604,22 +2604,22 @@ router.get('/weexcn/news/:typeid', lazyloadRouteHandler('./routes/weexcn/index')
2604
2604
  // router.get('/ssmh/category/:cid', lazyloadRouteHandler('./routes/ssmh/category'));
2605
2605
 
2606
2606
  // 华南师范大学研究生学院
2607
- router.get('/scnuyjs', lazyloadRouteHandler('./routes/universities/scnu/scnuyjs'));
2607
+ // router.get('/scnuyjs', lazyloadRouteHandler('./routes/universities/scnu/scnuyjs'));
2608
2608
 
2609
2609
  // 华南师范大学软件学院
2610
- router.get('/scnucs', lazyloadRouteHandler('./routes/universities/scnu/scnucs'));
2610
+ // router.get('/scnucs', lazyloadRouteHandler('./routes/universities/scnu/scnucs'));
2611
2611
 
2612
2612
  // 华南理工大学研究生院
2613
- router.get('/scutyjs', lazyloadRouteHandler('./routes/universities/scut/scutyjs'));
2613
+ // router.get('/scutyjs', lazyloadRouteHandler('./routes/universities/scut/scutyjs'));
2614
2614
 
2615
2615
  // 华南农业大学研究生院通知公告
2616
- router.get('/scauyjs', lazyloadRouteHandler('./routes/universities/scauyjs/scauyjs'));
2616
+ // router.get('/scauyjs', lazyloadRouteHandler('./routes/universities/scauyjs/scauyjs'));
2617
2617
 
2618
2618
  // 北京大学研究生招生网通知公告 migrated to v2
2619
2619
  // router.get('/pkuyjs', lazyloadRouteHandler('./routes/universities/pku/pkuyjs'));
2620
2620
 
2621
2621
  // 北京理工大学研究生通知公告
2622
- router.get('/bityjs', lazyloadRouteHandler('./routes/universities/bit/bityjs'));
2622
+ // router.get('/bityjs', lazyloadRouteHandler('./routes/universities/bit/bityjs'));
2623
2623
 
2624
2624
  // 湖南科技大学教务处
2625
2625
  router.get('/hnust/jwc', lazyloadRouteHandler('./routes/universities/hnust/jwc/index'));
@@ -3005,8 +3005,8 @@ router.get('/liequtv/room/:id', lazyloadRouteHandler('./routes/liequtv/room'));
3005
3005
  router.get('/bwu/news', lazyloadRouteHandler('./routes/universities/bwu/news'));
3006
3006
 
3007
3007
  // 新榜
3008
- router.get('/newrank/wechat/:wxid', lazyloadRouteHandler('./routes/newrank/wechat'));
3009
- router.get('/newrank/douyin/:dyid', lazyloadRouteHandler('./routes/newrank/douyin'));
3008
+ // router.get('/newrank/wechat/:wxid', lazyloadRouteHandler('./routes/newrank/wechat'));
3009
+ // router.get('/newrank/douyin/:dyid', lazyloadRouteHandler('./routes/newrank/douyin'));
3010
3010
 
3011
3011
  // 漫小肆
3012
3012
  router.get('/manxiaosi/book/:id', lazyloadRouteHandler('./routes/manxiaosi/book'));
@@ -3028,10 +3028,10 @@ router.get('/hfut/tzgg', lazyloadRouteHandler('./routes/universities/hfut/tzgg')
3028
3028
  // router.get('/scvtc/xygg', lazyloadRouteHandler('./routes/universities/scvtc/xygg'));
3029
3029
 
3030
3030
  // 华南理工大学土木与交通学院
3031
- router.get('/scut/scet/notice', lazyloadRouteHandler('./routes/universities/scut/scet/notice'));
3031
+ // router.get('/scut/scet/notice', lazyloadRouteHandler('./routes/universities/scut/scet/notice'));
3032
3032
 
3033
3033
  // 华南理工大学电子与信息学院
3034
- router.get('/scut/seie/news_center', lazyloadRouteHandler('./routes/universities/scut/seie/news_center'));
3034
+ // router.get('/scut/seie/news_center', lazyloadRouteHandler('./routes/universities/scut/seie/news_center'));
3035
3035
 
3036
3036
  // OneJAV
3037
3037
  router.get('/onejav/:type/:key?', lazyloadRouteHandler('./routes/onejav/one'));
@@ -3046,8 +3046,8 @@ router.get('/141ppv/:type/:key?', lazyloadRouteHandler('./routes/141ppv/141ppv')
3046
3046
  router.get('/curiouscat/user/:id', lazyloadRouteHandler('./routes/curiouscat/user'));
3047
3047
 
3048
3048
  // Telecompaper
3049
- router.get('/telecompaper/news/:caty/:year?/:country?/:type?', lazyloadRouteHandler('./routes/telecompaper/news'));
3050
- router.get('/telecompaper/search/:keyword?/:company?/:sort?/:period?', lazyloadRouteHandler('./routes/telecompaper/search'));
3049
+ // router.get('/telecompaper/news/:caty/:year?/:country?/:type?', lazyloadRouteHandler('./routes/telecompaper/news'));
3050
+ // router.get('/telecompaper/search/:keyword?/:company?/:sort?/:period?', lazyloadRouteHandler('./routes/telecompaper/search'));
3051
3051
 
3052
3052
  // 水木社区
3053
3053
  router.get('/newsmth/account/:id', lazyloadRouteHandler('./routes/newsmth/account'));
@@ -3083,8 +3083,8 @@ router.get('/nasa/apod-ncku', lazyloadRouteHandler('./routes/nasa/apod-ncku'));
3083
3083
  router.get('/nasa/apod-cn', lazyloadRouteHandler('./routes/nasa/apod-cn'));
3084
3084
 
3085
3085
  // 爱Q生活网
3086
- router.get('/iqshw/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3087
- router.get('/3k8/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3086
+ // router.get('/iqshw/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3087
+ // router.get('/3k8/latest', lazyloadRouteHandler('./routes/3k8/latest'));
3088
3088
 
3089
3089
  // JustRun
3090
3090
  router.get('/justrun', lazyloadRouteHandler('./routes/justrun/index'));
@@ -3636,7 +3636,7 @@ router.get('/voa/day-photos', lazyloadRouteHandler('./routes/voa/day-photos'));
3636
3636
  router.get('/voa/:language/:channel?', lazyloadRouteHandler('./routes/voa/index'));
3637
3637
 
3638
3638
  // 留园网
3639
- router.get('/6park/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/6park/index'));
3639
+ // router.get('/6park/:id?/:type?/:keyword?', lazyloadRouteHandler('./routes/6park/index'));
3640
3640
 
3641
3641
  // 哔嘀影视
3642
3642
  // router.get('/mp4er/:type?/:caty?/:area?/:year?/:order?', lazyloadRouteHandler('./routes/mp4er/index'));
@@ -3979,7 +3979,7 @@ router.get('/fnal/news/:category?', lazyloadRouteHandler('./routes/fnal/news'));
3979
3979
  router.get('/x410/news', lazyloadRouteHandler('./routes/x410/news'));
3980
3980
 
3981
3981
  // 恩山无线论坛
3982
- router.get('/right/forum/:id?', lazyloadRouteHandler('./routes/right/forum'));
3982
+ // router.get('/right/forum/:id?', lazyloadRouteHandler('./routes/right/forum'));
3983
3983
 
3984
3984
  // 香港經濟日報 migrated to v2
3985
3985
  // router.get('/hket/:category?', lazyloadRouteHandler('./routes/hket/index'));
@@ -4024,9 +4024,6 @@ router.get('/sbs/chinese/:category?/:id?/:dialect?/:language?', lazyloadRouteHan
4024
4024
  // QuestMobile
4025
4025
  router.get('/questmobile/report/:category?/:label?', lazyloadRouteHandler('./routes/questmobile/report'));
4026
4026
 
4027
- // RSS3
4028
- router.get('/rss3/blog', lazyloadRouteHandler('./routes/rss3/blog'));
4029
-
4030
4027
  // 星球日报
4031
4028
  // router.get('/odaily/activity', lazyloadRouteHandler('./routes/odaily/activity'));
4032
4029
  // router.get('/odaily/newsflash', lazyloadRouteHandler('./routes/odaily/newsflash'));
File without changes
File without changes
File without changes
File without changes
@@ -3,7 +3,7 @@ const got = require('@/utils/got');
3
3
  module.exports = async (ctx) => {
4
4
  const type = ctx.params.type || 'all';
5
5
  const rssData = {
6
- isType: ctx.params.type ? true : false,
6
+ isType: !!ctx.params.type,
7
7
  Title: `湖南省政府采购网`,
8
8
  Desc: `湖南省政府采购网`,
9
9
  Link: `http://www.ccgp-hunan.gov.cn/page/notice/more.jsp`,
File without changes
File without changes
File without changes
@@ -6,7 +6,7 @@ const logger = require('./logger');
6
6
 
7
7
  const options = {
8
8
  args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-infobars', '--window-position=0,0', '--ignore-certificate-errors', '--ignore-certificate-errors-spki-list', `--user-agent=${config.ua}`],
9
- headless: true,
9
+ headless: 'new',
10
10
  ignoreHTTPSErrors: true,
11
11
  };
12
12
 
@@ -20,7 +20,7 @@ module.exports = async (extraOptions = {}) => {
20
20
  const { addExtra } = require('puppeteer-extra');
21
21
  puppeteer = addExtra(puppeteer);
22
22
 
23
- // workaround for vercel/nft #54 and #283
23
+ // workaround for vercel/nft #54, #283, #304
24
24
  require('puppeteer-extra-plugin-stealth/evasions/chrome.app');
25
25
  require('puppeteer-extra-plugin-stealth/evasions/chrome.csi');
26
26
  require('puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes');
@@ -7,10 +7,10 @@ const https = require('https');
7
7
  let agent = null;
8
8
  if (proxyUri) {
9
9
  if (proxyUri.startsWith('http')) {
10
- const HttpsProxyAgent = require('https-proxy-agent');
10
+ const { HttpsProxyAgent } = require('https-proxy-agent');
11
11
  agent = new HttpsProxyAgent(proxyUri);
12
12
  } else if (proxyUri.startsWith('socks')) {
13
- const SocksProxyAgent = require('socks-proxy-agent').SocksProxyAgent;
13
+ const { SocksProxyAgent } = require('socks-proxy-agent');
14
14
  agent = new SocksProxyAgent(proxyUri);
15
15
  }
16
16
  }