rsshub 1.0.0-master.c95762a → 1.0.0-master.c9e754b

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 (442) hide show
  1. package/README.md +1 -1
  2. package/lib/config.js +8 -0
  3. package/lib/middleware/parameter.js +6 -4
  4. package/lib/radar-rules.js +0 -212
  5. package/lib/router.js +53 -114
  6. package/lib/routes/aeon/category.js +18 -27
  7. package/lib/routes/bookwalkertw/news.js +2 -2
  8. package/lib/routes/coolapk/utils.js +2 -0
  9. package/lib/routes/copymanga/comic.js +3 -2
  10. package/lib/routes/dongqiudi/result.js +13 -25
  11. package/lib/routes/dsndsht23/index.js +1 -1
  12. package/lib/routes/dykszx/news.js +5 -2
  13. package/lib/routes/eastday/sh.js +4 -12
  14. package/lib/routes/ehentai/ehapi.js +0 -1
  15. package/lib/routes/{flyertea → flyert}/creditcard.js +3 -2
  16. package/lib/routes/{flyertea → flyert}/preferential.js +2 -2
  17. package/lib/routes/{flyertea → flyert}/utils.js +5 -5
  18. package/lib/routes/futunn/highlights.js +39 -37
  19. package/lib/routes/gamer/gnn_index.js +1 -1
  20. package/lib/routes/hexo/fluid.js +45 -0
  21. package/lib/routes/manhuagui/comic.js +74 -28
  22. package/lib/routes/mhgui/comic.js +74 -28
  23. package/lib/routes/mi/youpin/new.js +13 -31
  24. package/lib/routes/mirror/entries.js +80 -0
  25. package/lib/routes/novel/biquge.js +1 -1
  26. package/lib/routes/rsshub/routes.js +7 -6
  27. package/lib/routes/tencent/wechat/tgchannel.js +47 -10
  28. package/lib/routes/twmanhuagui/comic.js +74 -28
  29. package/lib/routes/universities/sjtu/jwc.js +51 -53
  30. package/lib/routes/vgn/index.js +1 -1
  31. package/lib/routes/weibo/super_index.js +2 -1
  32. package/lib/routes/weibo/user.js +26 -2
  33. package/lib/routes/who/news-room.js +2 -2
  34. package/lib/routes/youzhiyouxing/materials.js +29 -0
  35. package/lib/routes/yxdzqb/index.js +5 -5
  36. package/lib/routes/zhihu/collection.js +26 -2
  37. package/lib/routes/zhihu/pin/utils.js +17 -7
  38. package/lib/routes/zhihu/posts.js +2 -1
  39. package/lib/routes/zhihu/topic.js +10 -2
  40. package/lib/routes/zhihu/zhuanlan.js +12 -1
  41. package/lib/v2/423down/index.js +114 -0
  42. package/lib/v2/423down/maintainer.js +3 -0
  43. package/lib/v2/423down/radar.js +193 -0
  44. package/lib/v2/423down/router.js +3 -0
  45. package/lib/v2/abmedia/category.js +30 -0
  46. package/lib/v2/abmedia/index.js +26 -0
  47. package/lib/v2/abmedia/maintainer.js +3 -0
  48. package/lib/v2/abmedia/radar.js +19 -0
  49. package/lib/v2/abmedia/router.js +4 -0
  50. package/lib/v2/acm-ecnu/contest.js +44 -0
  51. package/lib/v2/acm-ecnu/maintainer.js +3 -0
  52. package/lib/v2/acm-ecnu/radar.js +19 -0
  53. package/lib/v2/acm-ecnu/router.js +3 -0
  54. package/lib/v2/acm-ecnu/templates/description.art +3 -0
  55. package/lib/v2/agirls/index.js +71 -0
  56. package/lib/v2/agirls/maintainer.js +5 -0
  57. package/lib/v2/agirls/radar.js +25 -0
  58. package/lib/v2/agirls/router.js +5 -0
  59. package/lib/v2/agirls/templates/description.art +1 -0
  60. package/lib/v2/agirls/topic.js +71 -0
  61. package/lib/v2/agirls/topic_list.js +44 -0
  62. package/lib/v2/ahjzu/maintainer.js +3 -0
  63. package/lib/v2/ahjzu/news.js +57 -0
  64. package/lib/v2/ahjzu/radar.js +13 -0
  65. package/lib/v2/ahjzu/router.js +3 -0
  66. package/lib/v2/app-center/maintainer.js +3 -0
  67. package/lib/v2/app-center/radar.js +13 -0
  68. package/lib/v2/app-center/release.js +121 -0
  69. package/lib/v2/app-center/router.js +3 -0
  70. package/lib/v2/app-center/templates/description.art +24 -0
  71. package/lib/v2/appledaily/index.js +69 -0
  72. package/lib/v2/appledaily/maintainer.js +3 -0
  73. package/lib/v2/appledaily/radar.js +157 -0
  74. package/lib/v2/appledaily/router.js +3 -0
  75. package/lib/v2/appledaily/templates/content.art +7 -0
  76. package/lib/v2/atcoder/contest.js +64 -0
  77. package/lib/v2/atcoder/maintainer.js +4 -0
  78. package/lib/v2/atcoder/post.js +38 -0
  79. package/lib/v2/atcoder/radar.js +22 -0
  80. package/lib/v2/atcoder/router.js +4 -0
  81. package/lib/v2/baozimh/index.js +55 -0
  82. package/lib/v2/baozimh/maintainer.js +3 -0
  83. package/lib/v2/baozimh/radar.js +13 -0
  84. package/lib/v2/baozimh/router.js +3 -0
  85. package/lib/v2/baozimh/templates/desc.art +3 -0
  86. package/lib/v2/barronschina/index.js +70 -0
  87. package/lib/v2/barronschina/maintainer.js +3 -0
  88. package/lib/v2/barronschina/radar.js +13 -0
  89. package/lib/v2/barronschina/router.js +3 -0
  90. package/lib/v2/blockbeats/index.js +50 -0
  91. package/lib/v2/blockbeats/maintainer.js +3 -0
  92. package/lib/v2/blockbeats/radar.js +19 -0
  93. package/lib/v2/blockbeats/router.js +3 -0
  94. package/lib/v2/changba/maintainer.js +3 -0
  95. package/lib/v2/changba/radar.js +13 -0
  96. package/lib/v2/changba/router.js +3 -0
  97. package/lib/v2/changba/templates/work_description.art +2 -0
  98. package/lib/v2/changba/user.js +84 -0
  99. package/lib/v2/codeforces/contests.js +37 -0
  100. package/lib/v2/codeforces/maintainer.js +3 -0
  101. package/lib/v2/codeforces/radar.js +13 -0
  102. package/lib/v2/codeforces/router.js +3 -0
  103. package/lib/v2/codeforces/templates/contest.art +11 -0
  104. package/lib/v2/consumer/index.js +55 -0
  105. package/lib/v2/consumer/maintainer.js +3 -0
  106. package/lib/v2/consumer/radar.js +13 -0
  107. package/lib/v2/consumer/router.js +3 -0
  108. package/lib/{routes → v2}/cool18/index.js +17 -13
  109. package/lib/v2/cool18/maintainer.js +3 -0
  110. package/lib/v2/cool18/radar.js +13 -0
  111. package/lib/v2/cool18/router.js +3 -0
  112. package/lib/v2/cpcey/index.js +60 -0
  113. package/lib/v2/cpcey/maintainer.js +3 -0
  114. package/lib/v2/cpcey/radar.js +27 -0
  115. package/lib/v2/cpcey/router.js +3 -0
  116. package/lib/v2/cqwu/index.js +46 -0
  117. package/lib/v2/cqwu/maintainer.js +3 -0
  118. package/lib/v2/cqwu/radar.js +27 -0
  119. package/lib/v2/cqwu/router.js +3 -0
  120. package/lib/{routes → v2}/dockerhub/build.js +3 -1
  121. package/lib/v2/dockerhub/maintainer.js +4 -0
  122. package/lib/v2/dockerhub/radar.js +19 -0
  123. package/lib/v2/dockerhub/router.js +4 -0
  124. package/lib/v2/dockerhub/tag.js +33 -0
  125. package/lib/v2/dockerhub/utils.js +10 -0
  126. package/lib/{routes → v2}/douban/book/rank.js +0 -0
  127. package/lib/{routes → v2}/douban/channel/subject.js +0 -0
  128. package/lib/{routes → v2}/douban/channel/topic.js +0 -0
  129. package/lib/{routes → v2}/douban/commercialpress/latest.js +0 -0
  130. package/lib/{routes → v2}/douban/event/hot.js +0 -0
  131. package/lib/v2/douban/maintainer.js +27 -0
  132. package/lib/{routes/douban → v2/douban/other}/bookstore.js +0 -0
  133. package/lib/{routes/douban → v2/douban/other}/celebrity.js +0 -0
  134. package/lib/{routes/douban → v2/douban/other}/classification.js +0 -0
  135. package/lib/{routes/douban → v2/douban/other}/doulist.js +0 -0
  136. package/lib/v2/douban/other/explore.js +50 -0
  137. package/lib/{routes/douban → v2/douban/other}/explore_column.js +0 -0
  138. package/lib/{routes/douban → v2/douban/other}/group.js +1 -1
  139. package/lib/v2/douban/other/jobs.js +33 -0
  140. package/lib/{routes/douban → v2/douban/other}/later.js +0 -0
  141. package/lib/{routes/douban → v2/douban/other}/latest_book.js +0 -0
  142. package/lib/{routes/douban → v2/douban/other}/latest_music.js +0 -0
  143. package/lib/{routes/douban → v2/douban/other}/playing.js +0 -0
  144. package/lib/{routes/douban → v2/douban/other}/replied.js +0 -0
  145. package/lib/{routes/douban → v2/douban/other}/replies.js +0 -0
  146. package/lib/{routes/douban → v2/douban/other}/topic.js +0 -0
  147. package/lib/{routes/douban → v2/douban/other}/ustop.js +0 -0
  148. package/lib/{routes/douban → v2/douban/other}/weekly_best.js +0 -0
  149. package/lib/{routes → v2}/douban/people/status.js +0 -0
  150. package/lib/{routes → v2}/douban/people/wish.js +0 -0
  151. package/lib/v2/douban/radar.js +54 -0
  152. package/lib/v2/douban/router.js +27 -0
  153. package/lib/v2/douban/templates/explore.art +7 -0
  154. package/lib/v2/dushu/fuzhou/index.js +42 -0
  155. package/lib/v2/dushu/fuzhou/templates/message.art +9 -0
  156. package/lib/v2/dushu/maintainer.js +3 -0
  157. package/lib/v2/dushu/radar.js +24 -0
  158. package/lib/v2/dushu/router.js +3 -0
  159. package/lib/v2/e-hentai/index.js +115 -0
  160. package/lib/v2/e-hentai/maintainer.js +5 -0
  161. package/lib/v2/e-hentai/radar.js +25 -0
  162. package/lib/v2/e-hentai/router.js +3 -0
  163. package/lib/v2/e-hentai/templates/images.art +3 -0
  164. package/lib/v2/ecust-jxjy/maintainer.js +3 -0
  165. package/lib/v2/ecust-jxjy/news.js +47 -0
  166. package/lib/v2/ecust-jxjy/radar.js +13 -0
  167. package/lib/v2/ecust-jxjy/router.js +3 -0
  168. package/lib/v2/epicgames/router.js +1 -1
  169. package/lib/v2/epicgames/supportedList.js +1 -1
  170. package/lib/{routes/everything → v2}/eventernote/actors.js +0 -0
  171. package/lib/v2/eventernote/maintainer.js +3 -0
  172. package/lib/v2/eventernote/radar.js +13 -0
  173. package/lib/v2/eventernote/router.js +3 -0
  174. package/lib/{routes → v2}/ezone/index.js +13 -5
  175. package/lib/v2/ezone/maintainer.js +3 -0
  176. package/lib/v2/ezone/radar.js +13 -0
  177. package/lib/v2/ezone/router.js +3 -0
  178. package/lib/v2/firefox/index.js +69 -0
  179. package/lib/v2/firefox/maintainer.js +3 -0
  180. package/lib/v2/firefox/radar.js +13 -0
  181. package/lib/v2/firefox/router.js +3 -0
  182. package/lib/v2/firefox/templates/description.art +5 -0
  183. package/lib/v2/fortunechina/index.js +70 -0
  184. package/lib/v2/fortunechina/maintainer.js +3 -0
  185. package/lib/v2/fortunechina/radar.js +13 -0
  186. package/lib/v2/fortunechina/router.js +3 -0
  187. package/lib/{routes → v2}/ft/channel.js +1 -0
  188. package/lib/v2/ft/maintainer.js +4 -0
  189. package/lib/v2/ft/myft.js +44 -0
  190. package/lib/v2/ft/radar.js +24 -0
  191. package/lib/v2/ft/router.js +4 -0
  192. package/lib/{routes → v2}/ft/utils.js +19 -19
  193. package/lib/{routes → v2}/gamer/hot.js +15 -4
  194. package/lib/v2/gamer/maintainer.js +3 -0
  195. package/lib/v2/gamer/radar.js +13 -0
  196. package/lib/v2/gamer/router.js +3 -0
  197. package/lib/v2/gamersecret/index.js +60 -0
  198. package/lib/v2/gamersecret/maintainer.js +3 -0
  199. package/lib/v2/gamersecret/radar.js +31 -0
  200. package/lib/v2/gamersecret/router.js +3 -0
  201. package/lib/{routes → v2}/github/branches.js +0 -0
  202. package/lib/v2/github/comments.js +64 -0
  203. package/lib/{routes → v2}/github/contributors.js +0 -0
  204. package/lib/{routes → v2}/github/file.js +0 -0
  205. package/lib/{routes → v2}/github/follower.js +0 -0
  206. package/lib/{routes → v2}/github/issue.js +0 -0
  207. package/lib/v2/github/maintainer.js +15 -0
  208. package/lib/{routes → v2}/github/pulls.js +0 -0
  209. package/lib/v2/github/radar.js +79 -0
  210. package/lib/{routes → v2}/github/repos.js +0 -0
  211. package/lib/v2/github/router.js +15 -0
  212. package/lib/{routes → v2}/github/search.js +0 -0
  213. package/lib/{routes → v2}/github/star.js +0 -0
  214. package/lib/{routes → v2}/github/starred_repos.js +0 -0
  215. package/lib/v2/github/templates/comments-description.art +1 -0
  216. package/lib/{routes → v2}/github/topic.js +0 -0
  217. package/lib/{routes → v2}/github/trending.js +3 -3
  218. package/lib/{routes → v2}/google/album.js +0 -0
  219. package/lib/{routes → v2}/google/citations.js +0 -0
  220. package/lib/{routes → v2}/google/doodles.js +0 -0
  221. package/lib/v2/google/fonts.js +43 -0
  222. package/lib/v2/google/maintainer.js +8 -0
  223. package/lib/{routes → v2}/google/news.js +0 -0
  224. package/lib/v2/google/radar.js +64 -0
  225. package/lib/v2/google/router.js +8 -0
  226. package/lib/{routes → v2}/google/scholar.js +0 -0
  227. package/lib/{routes → v2}/google/sites.js +0 -0
  228. package/lib/v2/google/templates/fonts.art +15 -0
  229. package/lib/v2/gov/beijing/kw/index.js +44 -0
  230. package/lib/v2/gov/maintainer.js +3 -0
  231. package/lib/v2/gov/radar.js +295 -0
  232. package/lib/v2/gov/router.js +3 -0
  233. package/lib/v2/gov/shenzhen/hrss/szksy/index.js +41 -0
  234. package/lib/v2/gov/shenzhen/zzb/index.js +40 -0
  235. package/lib/v2/hackernews/index.js +9 -3
  236. package/lib/v2/hackernews/maintainer.js +1 -1
  237. package/lib/v2/hackernews/radar.js +1 -1
  238. package/lib/v2/hackernews/router.js +1 -1
  239. package/lib/v2/heu/job/list.js +2 -2
  240. package/lib/v2/hex-rays/index.js +47 -0
  241. package/lib/v2/hex-rays/maintainer.js +3 -0
  242. package/lib/v2/hex-rays/radar.js +13 -0
  243. package/lib/v2/hex-rays/router.js +3 -0
  244. package/lib/v2/hkepc/index.js +198 -0
  245. package/lib/v2/hkepc/maintainer.js +3 -0
  246. package/lib/v2/hkepc/radar.js +19 -0
  247. package/lib/v2/hkepc/router.js +3 -0
  248. package/lib/v2/hkepc/templates/description.art +1 -0
  249. package/lib/v2/hkepc/templates/image.art +1 -0
  250. package/lib/v2/houxu/index.js +85 -0
  251. package/lib/v2/houxu/maintainer.js +4 -0
  252. package/lib/v2/houxu/radar.js +19 -0
  253. package/lib/v2/houxu/router.js +3 -0
  254. package/lib/v2/houxu/templates/description.art +9 -0
  255. package/lib/v2/informs/index.js +74 -0
  256. package/lib/v2/informs/maintainer.js +3 -0
  257. package/lib/v2/informs/radar.js +109 -0
  258. package/lib/v2/informs/router.js +3 -0
  259. package/lib/v2/informs/templates/content.art +3 -0
  260. package/lib/v2/ithome/zt.js +9 -1
  261. package/lib/v2/iwara/index.js +42 -0
  262. package/lib/v2/iwara/maintainer.js +3 -0
  263. package/lib/v2/iwara/radar.js +19 -0
  264. package/lib/v2/iwara/router.js +3 -0
  265. package/lib/v2/jandan/index.js +6 -1
  266. package/lib/v2/lanqiao/author.js +63 -0
  267. package/lib/v2/lanqiao/courses.js +45 -0
  268. package/lib/v2/lanqiao/maintainer.js +5 -0
  269. package/lib/v2/lanqiao/questions.js +52 -0
  270. package/lib/v2/lanqiao/radar.js +25 -0
  271. package/lib/v2/lanqiao/router.js +5 -0
  272. package/lib/v2/lanqiao/templates/courseDesc.art +1 -0
  273. package/lib/v2/lanqiao/utils.js +12 -0
  274. package/lib/v2/latepost/index.js +62 -0
  275. package/lib/v2/latepost/maintainer.js +3 -0
  276. package/lib/v2/latepost/radar.js +13 -0
  277. package/lib/v2/latepost/router.js +3 -0
  278. package/lib/v2/lativ/index.js +42 -0
  279. package/lib/v2/lativ/maintainer.js +3 -0
  280. package/lib/v2/lativ/radar.js +13 -0
  281. package/lib/v2/lativ/router.js +3 -0
  282. package/lib/v2/lativ/templates/detail.art +9 -0
  283. package/lib/v2/leiphone/index.js +1 -1
  284. package/lib/v2/leiphone/radar.js +1 -1
  285. package/lib/v2/leiphone/router.js +1 -1
  286. package/lib/v2/logonews/index.js +76 -0
  287. package/lib/v2/logonews/maintainer.js +8 -0
  288. package/lib/v2/logonews/radar.js +43 -0
  289. package/lib/v2/logonews/router.js +5 -0
  290. package/lib/v2/logonews/templates/description.art +4 -0
  291. package/lib/v2/mvm/index.js +6 -6
  292. package/lib/v2/netease/maintainer.js +1 -0
  293. package/lib/v2/netease/radar.js +10 -2
  294. package/lib/v2/netease/router.js +1 -0
  295. package/lib/v2/netease/today.js +55 -0
  296. package/lib/v2/nifd/maintainer.js +3 -0
  297. package/lib/v2/nifd/radar.js +117 -0
  298. package/lib/v2/nifd/research.js +52 -0
  299. package/lib/v2/nifd/router.js +3 -0
  300. package/lib/v2/nikkei-asia/index.js +40 -0
  301. package/lib/v2/nikkei-asia/maintainer.js +3 -0
  302. package/lib/v2/nikkei-asia/radar.js +13 -0
  303. package/lib/v2/nikkei-asia/router.js +3 -0
  304. package/lib/v2/nikkei-cn/index.js +77 -0
  305. package/lib/v2/nikkei-cn/maintainer.js +3 -0
  306. package/lib/v2/nikkei-cn/radar.js +21 -0
  307. package/lib/v2/nikkei-cn/router.js +3 -0
  308. package/lib/v2/nippon/index.js +31 -0
  309. package/lib/v2/nippon/maintainer.js +3 -0
  310. package/lib/v2/nippon/radar.js +13 -0
  311. package/lib/v2/nippon/router.js +3 -0
  312. package/lib/{routes → v2}/odaily/activity.js +7 -6
  313. package/lib/v2/odaily/maintainer.js +6 -0
  314. package/lib/{routes → v2}/odaily/newsflash.js +4 -3
  315. package/lib/{routes → v2}/odaily/post.js +16 -10
  316. package/lib/v2/odaily/radar.js +60 -0
  317. package/lib/v2/odaily/router.js +6 -0
  318. package/lib/{routes → v2}/odaily/user.js +8 -7
  319. package/lib/v2/odaily/utils.js +3 -0
  320. package/lib/v2/people/index.js +83 -0
  321. package/lib/v2/people/maintainer.js +3 -0
  322. package/lib/v2/people/radar.js +9 -1
  323. package/lib/v2/people/router.js +3 -0
  324. package/lib/{routes → v2}/people/xjpjh.js +0 -0
  325. package/lib/v2/producthunt/maintainer.js +3 -0
  326. package/lib/v2/producthunt/radar.js +13 -0
  327. package/lib/v2/producthunt/router.js +3 -0
  328. package/lib/v2/producthunt/templates/descImg.art +5 -0
  329. package/lib/v2/producthunt/today.js +41 -0
  330. package/lib/v2/qidiantu/index.js +87 -0
  331. package/lib/v2/qidiantu/maintainer.js +4 -0
  332. package/lib/v2/qidiantu/radar.js +19 -0
  333. package/lib/v2/qidiantu/router.js +3 -0
  334. package/lib/v2/qq/ac/comic.js +43 -0
  335. package/lib/v2/qq/ac/rank.js +20 -0
  336. package/lib/v2/qq/ac/templates/description.art +9 -0
  337. package/lib/v2/qq/ac/utils.js +71 -0
  338. package/lib/v2/qq/maintainer.js +2 -0
  339. package/lib/v2/qq/radar.js +14 -0
  340. package/lib/v2/qq/router.js +2 -0
  341. package/lib/v2/radio-canada/latest.js +43 -0
  342. package/lib/v2/radio-canada/maintainer.js +3 -0
  343. package/lib/v2/radio-canada/radar.js +13 -0
  344. package/lib/v2/radio-canada/router.js +3 -0
  345. package/lib/v2/shmeea/index.js +44 -0
  346. package/lib/v2/shmeea/maintainer.js +3 -0
  347. package/lib/v2/shmeea/radar.js +13 -0
  348. package/lib/v2/shmeea/router.js +3 -0
  349. package/lib/v2/spotify/artist.js +41 -0
  350. package/lib/v2/spotify/maintainer.js +7 -0
  351. package/lib/v2/spotify/playlist.js +31 -0
  352. package/lib/v2/spotify/radar.js +37 -0
  353. package/lib/v2/spotify/router.js +7 -0
  354. package/lib/v2/spotify/saved.js +30 -0
  355. package/lib/v2/spotify/top.js +24 -0
  356. package/lib/v2/spotify/utils.js +62 -0
  357. package/lib/v2/ssm/maintainer.js +3 -0
  358. package/lib/v2/ssm/news.js +38 -0
  359. package/lib/v2/ssm/radar.js +13 -0
  360. package/lib/v2/ssm/router.js +3 -0
  361. package/lib/v2/ssm/templates/news.art +1 -0
  362. package/lib/v2/storm/index.js +57 -0
  363. package/lib/v2/storm/maintainer.js +3 -0
  364. package/lib/v2/storm/radar.js +13 -0
  365. package/lib/v2/storm/router.js +3 -0
  366. package/lib/v2/swissinfo/index.js +1 -0
  367. package/lib/v2/taobao/maintainer.js +3 -0
  368. package/lib/v2/taobao/radar.js +117 -0
  369. package/lib/v2/taobao/router.js +3 -0
  370. package/lib/v2/taobao/templates/zhongchou.art +4 -0
  371. package/lib/{routes → v2}/taobao/zhongchou.js +6 -7
  372. package/lib/{routes → v2}/telegram/blog.js +3 -3
  373. package/lib/{routes → v2}/telegram/channel.js +2 -1
  374. package/lib/v2/telegram/maintainer.js +5 -0
  375. package/lib/v2/telegram/radar.js +35 -0
  376. package/lib/v2/telegram/router.js +5 -0
  377. package/lib/{routes → v2}/telegram/stickerpack.js +0 -0
  378. package/lib/v2/topys/index.js +66 -0
  379. package/lib/v2/topys/maintainer.js +3 -0
  380. package/lib/v2/topys/radar.js +13 -0
  381. package/lib/v2/topys/router.js +3 -0
  382. package/lib/v2/ucas/index.js +59 -0
  383. package/lib/v2/ucas/maintainer.js +3 -0
  384. package/lib/v2/ucas/rader.js +47 -0
  385. package/lib/v2/ucas/router.js +3 -0
  386. package/lib/v2/ustb/maintainer.js +24 -0
  387. package/lib/v2/ustb/radar.js +13 -0
  388. package/lib/v2/ustb/router.js +3 -0
  389. package/lib/v2/ustb/yjsy/news.js +464 -0
  390. package/lib/v2/wallstreetcn/live.js +40 -0
  391. package/lib/v2/wallstreetcn/maintainer.js +5 -0
  392. package/lib/v2/wallstreetcn/news.js +61 -0
  393. package/lib/v2/wallstreetcn/radar.js +19 -0
  394. package/lib/v2/wallstreetcn/router.js +5 -0
  395. package/lib/v2/wechat/feeddd.js +13 -5
  396. package/lib/v2/wechat/maintainer.js +1 -1
  397. package/lib/{routes/people/cpc/24h.js → v2/whoscall/index.js} +17 -14
  398. package/lib/v2/whoscall/maintainer.js +5 -0
  399. package/lib/v2/whoscall/radar.js +25 -0
  400. package/lib/v2/whoscall/router.js +3 -0
  401. package/lib/v2/xaut/index.js +72 -0
  402. package/lib/v2/xaut/jwc.js +65 -0
  403. package/lib/v2/xaut/maintainer.js +5 -0
  404. package/lib/v2/xaut/radar.js +23 -0
  405. package/lib/v2/xaut/router.js +5 -0
  406. package/lib/v2/xaut/rsc.js +67 -0
  407. package/lib/v2/zaker/index.js +65 -0
  408. package/lib/v2/zaker/maintainer.js +3 -0
  409. package/lib/v2/zaker/radar.js +19 -0
  410. package/lib/v2/zaker/router.js +3 -0
  411. package/lib/{routes → v2}/zaobao/index.js +0 -0
  412. package/lib/{routes → v2}/zaobao/interactive.js +0 -0
  413. package/lib/v2/zaobao/maintainer.js +6 -0
  414. package/lib/v2/zaobao/radar.js +28 -0
  415. package/lib/{routes → v2}/zaobao/realtime.js +3 -1
  416. package/lib/v2/zaobao/router.js +6 -0
  417. package/lib/v2/zaobao/templates/zaobao.art +17 -0
  418. package/lib/{routes → v2}/zaobao/util.js +55 -18
  419. package/lib/{routes → v2}/zaobao/znews.js +0 -3
  420. package/lib/v2/zjgtjy/index.js +46 -0
  421. package/lib/v2/zjgtjy/maintainer.js +3 -0
  422. package/lib/v2/zjgtjy/radar.js +31 -0
  423. package/lib/v2/zjgtjy/router.js +3 -0
  424. package/package.json +1 -1
  425. package/lib/routes/changba/user.js +0 -71
  426. package/lib/routes/douban/explore.js +0 -33
  427. package/lib/routes/ft/myft.js +0 -46
  428. package/lib/routes/hex-rays/index.js +0 -28
  429. package/lib/routes/hkepc/index.js +0 -164
  430. package/lib/routes/houxu/events.js +0 -27
  431. package/lib/routes/houxu/live.js +0 -39
  432. package/lib/routes/houxu/lives.js +0 -58
  433. package/lib/routes/latepost/index.js +0 -84
  434. package/lib/routes/people/env.js +0 -73
  435. package/lib/routes/people/opinion.js +0 -69
  436. package/lib/routes/producthunt/today.js +0 -24
  437. package/lib/routes/topys/article.js +0 -55
  438. package/lib/routes/universities/cqwu/news.js +0 -39
  439. package/lib/routes/wallstreetcn/live.js +0 -44
  440. package/lib/routes/wallstreetcn/news.js +0 -33
  441. package/lib/routes/zaker/focusread.js +0 -65
  442. package/lib/routes/zaker/source.js +0 -66
package/README.md CHANGED
@@ -37,7 +37,7 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
37
37
 
38
38
  ### Sponsors
39
39
 
40
- [Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
40
+ [Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://wineso.me/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
41
41
 
42
42
  [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)
43
43
 
package/lib/config.js CHANGED
@@ -63,6 +63,11 @@ const calculateValue = () => {
63
63
  disqus: {
64
64
  api_key: envs.DISQUS_API_KEY,
65
65
  },
66
+ spotify: {
67
+ clientId: envs.SPOTIFY_CLIENT_ID,
68
+ clientSecret: envs.SPOTIFY_CLIENT_SECRET,
69
+ refreshToken: envs.SPOTIFY_REFRESHTOKEN,
70
+ },
66
71
  twitter: {
67
72
  consumer_key: envs.TWITTER_CONSUMER_KEY,
68
73
  consumer_secret: envs.TWITTER_CONSUMER_SECRET,
@@ -211,6 +216,9 @@ const calculateValue = () => {
211
216
  wenku8: {
212
217
  cookie: envs.WENKU8_COOKIE,
213
218
  },
219
+ google: {
220
+ fontsApiKey: envs.GOOGLE_FONTS_API_KEY,
221
+ },
214
222
  };
215
223
  };
216
224
  calculateValue();
@@ -112,7 +112,7 @@ module.exports = async (ctx, next) => {
112
112
  $ele.removeAttr(e);
113
113
  });
114
114
  });
115
- item.description = entities.decodeXML($('body').html() + '') + (config.suffix || '');
115
+ item.description = $('body').html() + '' + (config.suffix || '');
116
116
  }
117
117
  return item;
118
118
  };
@@ -208,7 +208,9 @@ module.exports = async (ctx, next) => {
208
208
  mercury_parser = mercury_parser || require('@postlight/mercury-parser');
209
209
 
210
210
  const res = await got(link);
211
- const $ = cheerio.load(res.data);
211
+ const $ = cheerio.load(res.data, {
212
+ xmlMode: true,
213
+ });
212
214
  const result = await mercury_parser.parse(link, {
213
215
  html: $.html(),
214
216
  });
@@ -235,8 +237,8 @@ module.exports = async (ctx, next) => {
235
237
  // opencc
236
238
  if (ctx.query.opencc) {
237
239
  ctx.state.data.item.forEach((item) => {
238
- item.title = simplecc(item.title, ctx.query.opencc);
239
- item.description = simplecc(item.description, ctx.query.opencc);
240
+ item.title = simplecc(item.title ?? item.link, ctx.query.opencc);
241
+ item.description = simplecc(item.description ?? item.title ?? item.link, ctx.query.opencc);
240
242
  });
241
243
  }
242
244
 
@@ -243,77 +243,6 @@ module.exports = {
243
243
  },
244
244
  ],
245
245
  },
246
- 'github.com': {
247
- _name: 'GitHub',
248
- '.': [
249
- {
250
- title: '用户仓库',
251
- docs: 'https://docs.rsshub.app/programming.html#github',
252
- source: '/:user',
253
- target: '/github/repos/:user',
254
- },
255
- {
256
- title: '用户 Followers',
257
- docs: 'https://docs.rsshub.app/programming.html#github',
258
- source: '/:user',
259
- target: '/github/user/followers/:user',
260
- },
261
- {
262
- title: 'Trending',
263
- docs: 'https://docs.rsshub.app/programming.html#github',
264
- source: '/trending',
265
- target: '/github/trending/:since',
266
- },
267
- {
268
- title: 'Trending',
269
- docs: 'https://docs.rsshub.app/programming.html#github',
270
- source: '/topics',
271
- target: '/github/topics/:name/:qs?',
272
- },
273
- {
274
- title: '仓库 Issue',
275
- docs: 'https://docs.rsshub.app/programming.html#github',
276
- source: ['/:user/:repo/issues', '/:user/:repo/issues/:id', '/:user/:repo'],
277
- target: '/github/issue/:user/:repo',
278
- },
279
- {
280
- title: '仓库 Pull Requests',
281
- docs: 'https://docs.rsshub.app/programming.html#github',
282
- source: ['/:user/:repo/pulls', '/:user/:repo/pulls/:id', '/:user/:repo'],
283
- target: '/github/pull/:user/:repo',
284
- },
285
- {
286
- title: '仓库 Stars',
287
- docs: 'https://docs.rsshub.app/programming.html#github',
288
- source: ['/:user/:repo/stargazers', '/:user/:repo'],
289
- target: '/github/stars/:user/:repo',
290
- },
291
- {
292
- title: '仓库 Branches',
293
- docs: 'https://docs.rsshub.app/programming.html#github',
294
- source: ['/:user/:repo/branches', '/:user/:repo'],
295
- target: '/github/branches/:user/:repo',
296
- },
297
- {
298
- title: '文件 Commits',
299
- docs: 'https://docs.rsshub.app/programming.html#github',
300
- source: '/:user/:repo/blob/:branch/*filepath',
301
- target: '/github/file/:user/:repo/:branch/:filepath',
302
- },
303
- {
304
- title: '用户 Starred Repositories',
305
- docs: 'https://docs.rsshub.app/programming.html#github',
306
- source: '/:user',
307
- target: '/github/starred_repos/:user',
308
- },
309
- {
310
- title: '仓库 Contributors',
311
- docs: 'https://docs.rsshub.app/programming.html#github',
312
- source: ['/:user/:repo/graphs/contributors', '/:user/:repo'],
313
- target: '/github/contributors/:user/:repo',
314
- },
315
- ],
316
- },
317
246
  'zhihu.com': {
318
247
  _name: '知乎',
319
248
  www: [
@@ -786,17 +715,6 @@ module.exports = {
786
715
  },
787
716
  ],
788
717
  },
789
- 'docker.com': {
790
- _name: 'Docker',
791
- hub: [
792
- {
793
- title: '镜像有新 Build',
794
- docs: 'https://docs.rsshub.app/program-update.html#docker-hub',
795
- source: ['/r/:owner/:image', '/r/:owner/:image/tags', '/_/:image'],
796
- target: (params) => `/dockerhub/build/${params.owner ? params.owner : 'library'}/${params.image}`,
797
- },
798
- ],
799
- },
800
718
  'nga.cn': {
801
719
  _name: 'NGA',
802
720
  bbs: [
@@ -1386,36 +1304,6 @@ module.exports = {
1386
1304
  },
1387
1305
  ],
1388
1306
  },
1389
- 'google.com': {
1390
- _name: '谷歌',
1391
- chrome: [
1392
- {
1393
- title: '插件更新',
1394
- source: '/webstore/detail/:name/:id',
1395
- docs: 'https://docs.rsshub.app/program-update.html#chrome-wang-shang-ying-yong-dian',
1396
- target: '/chrome/webstore/extensions/:id',
1397
- },
1398
- ],
1399
- photos: [
1400
- {
1401
- title: '相册',
1402
- docs: 'https://docs.rsshub.app/picture.html#google-xiang-ce',
1403
- source: '/share/*',
1404
- target: (params, url, document) => {
1405
- const id = document && document.querySelector('html').innerHTML.match(/photos.app.goo.gl\/(.*?)"/)[1];
1406
- return id ? `/google/album/${id}` : '';
1407
- },
1408
- },
1409
- ],
1410
- sites: [
1411
- {
1412
- title: 'Sites',
1413
- docs: 'https://docs.rsshub.app/blog.html#google-sites',
1414
- source: ['/site/:id/*', '/site/:id'],
1415
- target: '/google/sites/:id',
1416
- },
1417
- ],
1418
- },
1419
1307
  'javlibrary.com': {
1420
1308
  _name: 'javlibrary',
1421
1309
  www: [
@@ -1540,16 +1428,6 @@ module.exports = {
1540
1428
  },
1541
1429
  ],
1542
1430
  },
1543
- 'beijing.gov.cn': {
1544
- wjw: [
1545
- {
1546
- title: '北京卫生健康委员会',
1547
- docs: 'https://docs.rsshub.app/government.html#bei-jing-shi-wei-sheng-jian-kang-wei-yuan-hui',
1548
- source: '/xwzx_20031/:caty',
1549
- target: '/gov/beijing/mhc/:caty',
1550
- },
1551
- ],
1552
- },
1553
1431
  'ynu.edu.cn': {
1554
1432
  _name: '云南大学',
1555
1433
  home: [
@@ -1993,28 +1871,6 @@ module.exports = {
1993
1871
  },
1994
1872
  ],
1995
1873
  },
1996
- 't.me': {
1997
- _name: 'Telegram',
1998
- '.': [
1999
- {
2000
- title: '频道',
2001
- docs: 'https://docs.rsshub.app/social-media.html#telegram',
2002
- source: '/:username',
2003
- target: (params, url, document) => {
2004
- const isChannel = document && document.querySelector('.tgme_action_button_label');
2005
- if (isChannel) {
2006
- return '/telegram/channel/:username';
2007
- }
2008
- },
2009
- },
2010
- {
2011
- title: '频道',
2012
- docs: 'https://docs.rsshub.app/social-media.html#telegram',
2013
- source: '/s/:username',
2014
- target: '/telegram/channel/:username',
2015
- },
2016
- ],
2017
- },
2018
1874
  'zhuixinfan.com': {
2019
1875
  _name: '追新番日剧站',
2020
1876
  '.': [
@@ -2448,38 +2304,6 @@ module.exports = {
2448
2304
  },
2449
2305
  ],
2450
2306
  },
2451
- 'douban.com': {
2452
- _name: '豆瓣',
2453
- www: [
2454
- {
2455
- title: '用户的广播',
2456
- docs: 'https://docs.rsshub.app/social-media.html#dou-ban',
2457
- source: '/people/:user/',
2458
- target: (params, url, document) => {
2459
- const uid = document && document.querySelector('html').innerHTML.match(/"id":"([0-9]+)"/)[1];
2460
- return uid ? `/douban/people/${uid}/status` : '';
2461
- },
2462
- },
2463
- {
2464
- title: '小组-最新',
2465
- docs: 'https://docs.rsshub.app/social-media.html#dou-ban',
2466
- source: '/group/:groupid',
2467
- target: '/douban/group/:groupid',
2468
- },
2469
- {
2470
- title: '小组-最热',
2471
- docs: 'https://docs.rsshub.app/social-media.html#dou-ban',
2472
- source: '/group/:groupid',
2473
- target: '/douban/group/:groupid/essence',
2474
- },
2475
- {
2476
- title: '小组-精华',
2477
- docs: 'https://docs.rsshub.app/social-media.html#dou-ban',
2478
- source: '/group/:groupid',
2479
- target: '/douban/group/:groupid/elite',
2480
- },
2481
- ],
2482
- },
2483
2307
  'okjike.com': {
2484
2308
  _name: '即刻',
2485
2309
  m: [
@@ -2708,17 +2532,6 @@ module.exports = {
2708
2532
  },
2709
2533
  ],
2710
2534
  },
2711
- 'eventernote.com': {
2712
- _name: 'Eventernote',
2713
- www: [
2714
- {
2715
- title: '声优活动及演唱会',
2716
- docs: 'https://docs.rsshub.app/anime.html#eventernote',
2717
- source: '/actors/:name/:id/events',
2718
- target: '/eventernote/actors/:name/:id',
2719
- },
2720
- ],
2721
- },
2722
2535
  'instagram.com': {
2723
2536
  _name: 'Instagram',
2724
2537
  www: [
@@ -2799,31 +2612,6 @@ module.exports = {
2799
2612
  },
2800
2613
  ],
2801
2614
  },
2802
- 'cqwu.net': {
2803
- _name: '重庆文理学院',
2804
- www: [
2805
- {
2806
- title: '通知',
2807
- docs: 'https://docs.rsshub.app/university.html#chong-qing-wen-li-xue-yuan',
2808
- source: '/:type',
2809
- target: (params) => {
2810
- if (params.type === 'channel_7721.html') {
2811
- return '/cqwu/news/notify';
2812
- }
2813
- },
2814
- },
2815
- {
2816
- title: '学术活动',
2817
- docs: 'https://docs.rsshub.app/university.html#chong-qing-wen-li-xue-yuan',
2818
- source: '/:type',
2819
- target: (params) => {
2820
- if (params.type === 'channel_7722.html') {
2821
- return '/cqwu/news/academiceve';
2822
- }
2823
- },
2824
- },
2825
- ],
2826
- },
2827
2615
  'trakt.tv': {
2828
2616
  _name: 'Trakt.tv',
2829
2617
  '.': [