rsshub 1.0.0-master.c11bb88 → 1.0.0-master.c15aee0

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 (463) hide show
  1. package/lib/config.js +8 -0
  2. package/lib/middleware/parameter.js +3 -1
  3. package/lib/radar-rules.js +0 -305
  4. package/lib/router.js +56 -136
  5. package/lib/routes/copymanga/comic.js +7 -1
  6. package/lib/routes/coronavirus/dxy-data.js +1 -1
  7. package/lib/routes/coronavirus/dxy.js +2 -2
  8. package/lib/routes/dongqiudi/result.js +13 -25
  9. package/lib/routes/dsndsht23/index.js +1 -1
  10. package/lib/routes/eastday/sh.js +4 -12
  11. package/lib/routes/ehentai/ehapi.js +0 -1
  12. package/lib/routes/{flyertea → flyert}/creditcard.js +3 -2
  13. package/lib/routes/{flyertea → flyert}/preferential.js +2 -2
  14. package/lib/routes/{flyertea → flyert}/utils.js +5 -5
  15. package/lib/routes/mi/youpin/new.js +13 -31
  16. package/lib/routes/mirror/entries.js +80 -0
  17. package/lib/routes/ncm/djradio.js +59 -44
  18. package/lib/routes/ncm/templates/djradio-content.art +11 -0
  19. package/lib/routes/rsshub/routes.js +7 -6
  20. package/lib/routes/tencent/wechat/tgchannel.js +3 -0
  21. package/lib/routes/universities/sjtu/jwc.js +51 -53
  22. package/lib/routes/weibo/timeline.js +72 -124
  23. package/lib/routes/weibo/user.js +1 -0
  24. package/lib/routes/weibo/utils.js +6 -2
  25. package/lib/routes/who/news-room.js +2 -2
  26. package/lib/routes/zhihu/collection.js +26 -2
  27. package/lib/routes/zhihu/pin/utils.js +17 -7
  28. package/lib/routes/zhihu/posts.js +2 -1
  29. package/lib/routes/zhihu/topic.js +10 -2
  30. package/lib/routes/zhihu/zhuanlan.js +12 -1
  31. package/lib/v2/12306/index.js +108 -0
  32. package/lib/v2/12306/maintainer.js +4 -0
  33. package/lib/v2/12306/radar.js +28 -0
  34. package/lib/v2/12306/router.js +4 -0
  35. package/lib/v2/12306/templates/train.art +31 -0
  36. package/lib/{routes → v2}/12306/zxdt.js +0 -0
  37. package/lib/v2/abmedia/category.js +30 -0
  38. package/lib/v2/abmedia/index.js +26 -0
  39. package/lib/v2/abmedia/maintainer.js +3 -0
  40. package/lib/v2/abmedia/radar.js +19 -0
  41. package/lib/v2/abmedia/router.js +4 -0
  42. package/lib/v2/acm-ecnu/contest.js +44 -0
  43. package/lib/v2/acm-ecnu/maintainer.js +3 -0
  44. package/lib/v2/acm-ecnu/radar.js +19 -0
  45. package/lib/v2/acm-ecnu/router.js +3 -0
  46. package/lib/v2/acm-ecnu/templates/description.art +3 -0
  47. package/lib/v2/agirls/index.js +71 -0
  48. package/lib/v2/agirls/maintainer.js +5 -0
  49. package/lib/v2/agirls/radar.js +25 -0
  50. package/lib/v2/agirls/router.js +5 -0
  51. package/lib/v2/agirls/templates/description.art +1 -0
  52. package/lib/v2/agirls/topic.js +71 -0
  53. package/lib/v2/agirls/topic_list.js +44 -0
  54. package/lib/v2/app-center/maintainer.js +3 -0
  55. package/lib/v2/app-center/radar.js +13 -0
  56. package/lib/v2/app-center/release.js +120 -0
  57. package/lib/v2/app-center/router.js +3 -0
  58. package/lib/v2/app-center/templates/description.art +24 -0
  59. package/lib/v2/appledaily/index.js +69 -0
  60. package/lib/v2/appledaily/maintainer.js +3 -0
  61. package/lib/v2/appledaily/radar.js +157 -0
  62. package/lib/v2/appledaily/router.js +3 -0
  63. package/lib/v2/appledaily/templates/content.art +7 -0
  64. package/lib/v2/atcoder/contest.js +64 -0
  65. package/lib/v2/atcoder/maintainer.js +4 -0
  66. package/lib/v2/atcoder/post.js +38 -0
  67. package/lib/v2/atcoder/radar.js +22 -0
  68. package/lib/v2/atcoder/router.js +4 -0
  69. package/lib/v2/baozimh/index.js +55 -0
  70. package/lib/v2/baozimh/maintainer.js +3 -0
  71. package/lib/v2/baozimh/radar.js +13 -0
  72. package/lib/v2/baozimh/router.js +3 -0
  73. package/lib/v2/baozimh/templates/desc.art +3 -0
  74. package/lib/{routes → v2}/bioone/featured.js +9 -8
  75. package/lib/v2/bioone/journal.js +58 -0
  76. package/lib/v2/bioone/maintainer.js +4 -0
  77. package/lib/v2/bioone/radar.js +19 -0
  78. package/lib/v2/bioone/router.js +4 -0
  79. package/lib/v2/cahkms/index.js +69 -0
  80. package/lib/v2/cahkms/maintainer.js +3 -0
  81. package/lib/v2/cahkms/radar.js +13 -0
  82. package/lib/v2/cahkms/router.js +3 -0
  83. package/lib/v2/cahkms/templates/description.art +15 -0
  84. package/lib/v2/ccreports/index.js +41 -0
  85. package/lib/v2/ccreports/maintainer.js +3 -0
  86. package/lib/v2/ccreports/radar.js +13 -0
  87. package/lib/v2/ccreports/router.js +3 -0
  88. package/lib/v2/cdi/index.js +61 -0
  89. package/lib/v2/cdi/maintainer.js +3 -0
  90. package/lib/v2/cdi/radar.js +13 -0
  91. package/lib/v2/cdi/router.js +3 -0
  92. package/lib/v2/changba/maintainer.js +3 -0
  93. package/lib/v2/changba/radar.js +13 -0
  94. package/lib/v2/changba/router.js +3 -0
  95. package/lib/v2/changba/templates/work_description.art +2 -0
  96. package/lib/v2/changba/user.js +84 -0
  97. package/lib/v2/cntv/column.js +29 -0
  98. package/lib/v2/cntv/maintainer.js +3 -0
  99. package/lib/v2/cntv/radar.js +13 -0
  100. package/lib/v2/cntv/router.js +3 -0
  101. package/lib/v2/cntv/templates/column.art +4 -0
  102. package/lib/v2/codeforces/contests.js +37 -0
  103. package/lib/v2/codeforces/maintainer.js +3 -0
  104. package/lib/v2/codeforces/radar.js +13 -0
  105. package/lib/v2/codeforces/router.js +3 -0
  106. package/lib/v2/codeforces/templates/contest.art +11 -0
  107. package/lib/v2/consumer/index.js +55 -0
  108. package/lib/v2/consumer/maintainer.js +3 -0
  109. package/lib/v2/consumer/radar.js +13 -0
  110. package/lib/v2/consumer/router.js +3 -0
  111. package/lib/{routes → v2}/dockerhub/build.js +3 -1
  112. package/lib/v2/dockerhub/maintainer.js +4 -0
  113. package/lib/v2/dockerhub/radar.js +19 -0
  114. package/lib/v2/dockerhub/router.js +4 -0
  115. package/lib/v2/dockerhub/tag.js +33 -0
  116. package/lib/v2/dockerhub/utils.js +10 -0
  117. package/lib/{routes → v2}/douban/book/rank.js +0 -0
  118. package/lib/{routes → v2}/douban/channel/subject.js +0 -0
  119. package/lib/{routes → v2}/douban/channel/topic.js +0 -0
  120. package/lib/{routes → v2}/douban/commercialpress/latest.js +0 -0
  121. package/lib/{routes → v2}/douban/event/hot.js +0 -0
  122. package/lib/v2/douban/maintainer.js +27 -0
  123. package/lib/{routes/douban → v2/douban/other}/bookstore.js +0 -0
  124. package/lib/{routes/douban → v2/douban/other}/celebrity.js +0 -0
  125. package/lib/{routes/douban → v2/douban/other}/classification.js +0 -0
  126. package/lib/{routes/douban → v2/douban/other}/doulist.js +0 -0
  127. package/lib/v2/douban/other/explore.js +50 -0
  128. package/lib/{routes/douban → v2/douban/other}/explore_column.js +0 -0
  129. package/lib/{routes/douban → v2/douban/other}/group.js +1 -1
  130. package/lib/v2/douban/other/jobs.js +33 -0
  131. package/lib/{routes/douban → v2/douban/other}/later.js +0 -0
  132. package/lib/{routes/douban → v2/douban/other}/latest_book.js +0 -0
  133. package/lib/{routes/douban → v2/douban/other}/latest_music.js +0 -0
  134. package/lib/{routes/douban → v2/douban/other}/playing.js +0 -0
  135. package/lib/{routes/douban → v2/douban/other}/replied.js +0 -0
  136. package/lib/{routes/douban → v2/douban/other}/replies.js +0 -0
  137. package/lib/{routes/douban → v2/douban/other}/topic.js +0 -0
  138. package/lib/{routes/douban → v2/douban/other}/ustop.js +0 -0
  139. package/lib/{routes/douban → v2/douban/other}/weekly_best.js +0 -0
  140. package/lib/{routes → v2}/douban/people/status.js +0 -0
  141. package/lib/{routes → v2}/douban/people/wish.js +0 -0
  142. package/lib/v2/douban/radar.js +54 -0
  143. package/lib/v2/douban/router.js +27 -0
  144. package/lib/v2/douban/templates/explore.art +7 -0
  145. package/lib/v2/dushu/fuzhou/index.js +42 -0
  146. package/lib/v2/dushu/fuzhou/templates/message.art +9 -0
  147. package/lib/v2/dushu/maintainer.js +3 -0
  148. package/lib/v2/dushu/radar.js +24 -0
  149. package/lib/v2/dushu/router.js +3 -0
  150. package/lib/v2/e-hentai/index.js +115 -0
  151. package/lib/v2/e-hentai/maintainer.js +5 -0
  152. package/lib/v2/e-hentai/radar.js +25 -0
  153. package/lib/v2/e-hentai/router.js +3 -0
  154. package/lib/v2/e-hentai/templates/images.art +3 -0
  155. package/lib/v2/ecust-jxjy/maintainer.js +3 -0
  156. package/lib/v2/ecust-jxjy/news.js +47 -0
  157. package/lib/v2/ecust-jxjy/radar.js +13 -0
  158. package/lib/v2/ecust-jxjy/router.js +3 -0
  159. package/lib/v2/epicgames/router.js +1 -1
  160. package/lib/v2/epicgames/supportedList.js +1 -1
  161. package/lib/{routes → v2}/ezone/index.js +13 -5
  162. package/lib/v2/ezone/maintainer.js +3 -0
  163. package/lib/v2/ezone/radar.js +13 -0
  164. package/lib/v2/ezone/router.js +3 -0
  165. package/lib/v2/firefox/index.js +69 -0
  166. package/lib/v2/firefox/maintainer.js +3 -0
  167. package/lib/v2/firefox/radar.js +13 -0
  168. package/lib/v2/firefox/router.js +3 -0
  169. package/lib/v2/firefox/templates/description.art +5 -0
  170. package/lib/{routes → v2}/ft/channel.js +1 -0
  171. package/lib/v2/ft/maintainer.js +4 -0
  172. package/lib/v2/ft/myft.js +44 -0
  173. package/lib/v2/ft/radar.js +24 -0
  174. package/lib/v2/ft/router.js +4 -0
  175. package/lib/{routes → v2}/ft/utils.js +19 -19
  176. package/lib/{routes → v2}/gamer/hot.js +15 -4
  177. package/lib/v2/gamer/maintainer.js +3 -0
  178. package/lib/v2/gamer/radar.js +13 -0
  179. package/lib/v2/gamer/router.js +3 -0
  180. package/lib/{routes → v2}/github/branches.js +0 -0
  181. package/lib/v2/github/comments.js +1 -1
  182. package/lib/{routes → v2}/github/contributors.js +0 -0
  183. package/lib/{routes → v2}/github/file.js +0 -0
  184. package/lib/{routes → v2}/github/follower.js +0 -0
  185. package/lib/{routes → v2}/github/issue.js +0 -0
  186. package/lib/v2/github/maintainer.js +12 -0
  187. package/lib/{routes → v2}/github/pulls.js +0 -0
  188. package/lib/v2/github/radar.js +66 -0
  189. package/lib/{routes → v2}/github/repos.js +0 -0
  190. package/lib/v2/github/router.js +12 -0
  191. package/lib/{routes → v2}/github/search.js +0 -0
  192. package/lib/{routes → v2}/github/star.js +0 -0
  193. package/lib/{routes → v2}/github/starred_repos.js +0 -0
  194. package/lib/{routes → v2}/github/topic.js +0 -0
  195. package/lib/{routes → v2}/github/trending.js +3 -3
  196. package/lib/{routes → v2}/google/album.js +0 -0
  197. package/lib/{routes → v2}/google/citations.js +0 -0
  198. package/lib/{routes → v2}/google/doodles.js +0 -0
  199. package/lib/v2/google/fonts.js +43 -0
  200. package/lib/v2/google/maintainer.js +8 -0
  201. package/lib/{routes → v2}/google/news.js +0 -0
  202. package/lib/v2/google/radar.js +64 -0
  203. package/lib/v2/google/router.js +8 -0
  204. package/lib/{routes → v2}/google/scholar.js +0 -0
  205. package/lib/{routes → v2}/google/sites.js +0 -0
  206. package/lib/v2/google/templates/fonts.art +15 -0
  207. package/lib/v2/gov/beijing/kw/index.js +44 -0
  208. package/lib/v2/gov/huizhou/zwgk/index.js +58 -0
  209. package/lib/v2/gov/maintainer.js +3 -0
  210. package/lib/v2/gov/radar.js +331 -4
  211. package/lib/v2/gov/router.js +4 -0
  212. package/lib/v2/gov/shanghai/wsjkw/yqtb/index.js +33 -0
  213. package/lib/v2/gov/sichuan/deyang/govpulicinfo.js +115 -0
  214. package/lib/v2/gov/sichuan/deyang/templates/govPublicInfo.art +41 -0
  215. package/lib/v2/hackernews/index.js +9 -3
  216. package/lib/v2/hackernews/maintainer.js +1 -1
  217. package/lib/v2/hackernews/radar.js +1 -1
  218. package/lib/v2/hackernews/router.js +1 -1
  219. package/lib/v2/hex-rays/index.js +47 -0
  220. package/lib/v2/hex-rays/maintainer.js +3 -0
  221. package/lib/v2/hex-rays/radar.js +13 -0
  222. package/lib/v2/hex-rays/router.js +3 -0
  223. package/lib/v2/hizu/index.js +76 -0
  224. package/lib/v2/hizu/maintainer.js +3 -0
  225. package/lib/v2/hizu/radar.js +13 -0
  226. package/lib/v2/hizu/router.js +3 -0
  227. package/lib/v2/hkepc/index.js +198 -0
  228. package/lib/v2/hkepc/maintainer.js +3 -0
  229. package/lib/v2/hkepc/radar.js +19 -0
  230. package/lib/v2/hkepc/router.js +3 -0
  231. package/lib/v2/hkepc/templates/description.art +1 -0
  232. package/lib/v2/hkepc/templates/image.art +1 -0
  233. package/lib/v2/houxu/index.js +85 -0
  234. package/lib/v2/houxu/maintainer.js +4 -0
  235. package/lib/v2/houxu/radar.js +19 -0
  236. package/lib/v2/houxu/router.js +3 -0
  237. package/lib/v2/houxu/templates/description.art +9 -0
  238. package/lib/v2/informs/index.js +74 -0
  239. package/lib/v2/informs/maintainer.js +3 -0
  240. package/lib/v2/informs/radar.js +109 -0
  241. package/lib/v2/informs/router.js +3 -0
  242. package/lib/v2/informs/templates/content.art +3 -0
  243. package/lib/v2/iresearch/maintainer.js +3 -0
  244. package/lib/v2/iresearch/radar.js +13 -0
  245. package/lib/v2/iresearch/report.js +60 -0
  246. package/lib/v2/iresearch/router.js +3 -0
  247. package/lib/v2/iresearch/templates/report.art +5 -0
  248. package/lib/{routes → v2}/ithome/index.js +3 -0
  249. package/lib/v2/ithome/maintainer.js +3 -0
  250. package/lib/v2/ithome/radar.js +97 -1
  251. package/lib/{routes → v2}/ithome/ranking.js +0 -0
  252. package/lib/v2/ithome/router.js +3 -0
  253. package/lib/v2/ithome/tag.js +48 -0
  254. package/lib/v2/ithome/zt.js +9 -1
  255. package/lib/v2/jandan/index.js +6 -1
  256. package/lib/v2/javdb/utils.js +1 -1
  257. package/lib/v2/javlibrary/bestrated.js +9 -0
  258. package/lib/v2/javlibrary/bestreviews.js +9 -0
  259. package/lib/v2/javlibrary/genre.js +10 -0
  260. package/lib/v2/javlibrary/maintainer.js +11 -0
  261. package/lib/v2/javlibrary/mostwanted.js +9 -0
  262. package/lib/v2/javlibrary/newentries.js +8 -0
  263. package/lib/v2/javlibrary/newrelease.js +9 -0
  264. package/lib/v2/javlibrary/radar.js +79 -0
  265. package/lib/v2/javlibrary/router.js +19 -0
  266. package/lib/v2/javlibrary/star.js +10 -0
  267. package/lib/v2/javlibrary/templates/description.art +17 -0
  268. package/lib/v2/javlibrary/update.js +8 -0
  269. package/lib/v2/javlibrary/user.js +10 -0
  270. package/lib/v2/javlibrary/utils.js +98 -0
  271. package/lib/v2/lanqiao/author.js +0 -2
  272. package/lib/v2/lanqiao/courses.js +25 -8
  273. package/lib/v2/lanqiao/maintainer.js +1 -1
  274. package/lib/v2/lanqiao/questions.js +5 -5
  275. package/lib/v2/lanqiao/radar.js +4 -4
  276. package/lib/v2/lanqiao/router.js +1 -1
  277. package/lib/v2/latepost/index.js +62 -0
  278. package/lib/v2/latepost/maintainer.js +3 -0
  279. package/lib/v2/latepost/radar.js +13 -0
  280. package/lib/v2/latepost/router.js +3 -0
  281. package/lib/v2/leiphone/index.js +1 -1
  282. package/lib/v2/leiphone/radar.js +1 -1
  283. package/lib/v2/leiphone/router.js +1 -1
  284. package/lib/v2/lkong/forum.js +54 -0
  285. package/lib/v2/lkong/maintainer.js +4 -0
  286. package/lib/v2/lkong/query.js +82 -0
  287. package/lib/v2/lkong/radar.js +19 -0
  288. package/lib/v2/lkong/router.js +4 -0
  289. package/lib/v2/lkong/templates/content.art +18 -0
  290. package/lib/v2/lkong/templates/quote.art +23 -0
  291. package/lib/v2/lkong/thread.js +57 -0
  292. package/lib/v2/logonews/index.js +76 -0
  293. package/lib/v2/logonews/maintainer.js +8 -0
  294. package/lib/v2/logonews/radar.js +43 -0
  295. package/lib/v2/logonews/router.js +5 -0
  296. package/lib/v2/logonews/templates/description.art +4 -0
  297. package/lib/v2/mvm/index.js +6 -6
  298. package/lib/v2/nikkei-asia/index.js +40 -0
  299. package/lib/v2/nikkei-asia/maintainer.js +3 -0
  300. package/lib/v2/nikkei-asia/radar.js +13 -0
  301. package/lib/v2/nikkei-asia/router.js +3 -0
  302. package/lib/v2/nippon/index.js +31 -0
  303. package/lib/v2/nippon/maintainer.js +3 -0
  304. package/lib/v2/nippon/radar.js +13 -0
  305. package/lib/v2/nippon/router.js +3 -0
  306. package/lib/{routes → v2}/odaily/activity.js +7 -6
  307. package/lib/v2/odaily/maintainer.js +6 -0
  308. package/lib/{routes → v2}/odaily/newsflash.js +4 -3
  309. package/lib/{routes → v2}/odaily/post.js +16 -10
  310. package/lib/v2/odaily/radar.js +60 -0
  311. package/lib/v2/odaily/router.js +6 -0
  312. package/lib/{routes → v2}/odaily/user.js +8 -7
  313. package/lib/v2/odaily/utils.js +3 -0
  314. package/lib/v2/people/index.js +83 -0
  315. package/lib/v2/people/maintainer.js +3 -0
  316. package/lib/v2/people/radar.js +9 -1
  317. package/lib/v2/people/router.js +3 -0
  318. package/lib/{routes → v2}/people/xjpjh.js +0 -0
  319. package/lib/v2/polkaworld/home.js +24 -0
  320. package/lib/v2/polkaworld/maintainer.js +3 -0
  321. package/lib/v2/polkaworld/radar.js +13 -0
  322. package/lib/v2/polkaworld/router.js +3 -0
  323. package/lib/v2/producthunt/maintainer.js +3 -0
  324. package/lib/v2/producthunt/radar.js +13 -0
  325. package/lib/v2/producthunt/router.js +3 -0
  326. package/lib/v2/producthunt/templates/descImg.art +5 -0
  327. package/lib/v2/producthunt/today.js +41 -0
  328. package/lib/v2/qq/ac/comic.js +43 -0
  329. package/lib/v2/qq/ac/rank.js +20 -0
  330. package/lib/v2/qq/ac/templates/description.art +9 -0
  331. package/lib/v2/qq/ac/utils.js +71 -0
  332. package/lib/v2/qq/maintainer.js +2 -0
  333. package/lib/v2/qq/radar.js +14 -0
  334. package/lib/v2/qq/router.js +2 -0
  335. package/lib/v2/radio-canada/latest.js +43 -0
  336. package/lib/v2/radio-canada/maintainer.js +3 -0
  337. package/lib/v2/radio-canada/radar.js +13 -0
  338. package/lib/v2/radio-canada/router.js +3 -0
  339. package/lib/v2/spotify/artist.js +41 -0
  340. package/lib/v2/spotify/maintainer.js +7 -0
  341. package/lib/v2/spotify/playlist.js +31 -0
  342. package/lib/v2/spotify/radar.js +37 -0
  343. package/lib/v2/spotify/router.js +7 -0
  344. package/lib/v2/spotify/saved.js +30 -0
  345. package/lib/v2/spotify/top.js +24 -0
  346. package/lib/v2/spotify/utils.js +62 -0
  347. package/lib/v2/stcn/index.js +71 -0
  348. package/lib/v2/stcn/maintainer.js +6 -0
  349. package/lib/v2/stcn/radar.js +31 -0
  350. package/lib/v2/stcn/router.js +3 -0
  351. package/lib/v2/storm/index.js +57 -0
  352. package/lib/v2/storm/maintainer.js +3 -0
  353. package/lib/v2/storm/radar.js +13 -0
  354. package/lib/v2/storm/router.js +3 -0
  355. package/lib/v2/swpu/bgw.js +58 -0
  356. package/lib/v2/swpu/dean.js +58 -0
  357. package/lib/v2/swpu/dxy.js +61 -0
  358. package/lib/v2/swpu/maintainer.js +6 -0
  359. package/lib/v2/swpu/radar.js +31 -0
  360. package/lib/v2/swpu/router.js +6 -0
  361. package/lib/v2/swpu/scs.js +58 -0
  362. package/lib/v2/swpu/utils.js +22 -0
  363. package/lib/v2/taobao/maintainer.js +3 -0
  364. package/lib/v2/taobao/radar.js +117 -0
  365. package/lib/v2/taobao/router.js +3 -0
  366. package/lib/v2/taobao/templates/zhongchou.art +4 -0
  367. package/lib/{routes → v2}/taobao/zhongchou.js +6 -7
  368. package/lib/{routes → v2}/telegram/blog.js +3 -3
  369. package/lib/{routes → v2}/telegram/channel.js +15 -10
  370. package/lib/v2/telegram/maintainer.js +5 -0
  371. package/lib/v2/telegram/radar.js +35 -0
  372. package/lib/v2/telegram/router.js +5 -0
  373. package/lib/{routes → v2}/telegram/stickerpack.js +0 -0
  374. package/lib/v2/telegram/templates/video.art +5 -0
  375. package/lib/v2/topys/index.js +66 -0
  376. package/lib/v2/topys/maintainer.js +3 -0
  377. package/lib/v2/topys/radar.js +13 -0
  378. package/lib/v2/topys/router.js +3 -0
  379. package/lib/v2/ustb/maintainer.js +24 -0
  380. package/lib/v2/ustb/radar.js +13 -0
  381. package/lib/v2/ustb/router.js +3 -0
  382. package/lib/v2/ustb/yjsy/news.js +464 -0
  383. package/lib/v2/verfghbw/maintainer.js +3 -0
  384. package/lib/{routes → v2}/verfghbw/press.js +13 -5
  385. package/lib/v2/verfghbw/radar.js +13 -0
  386. package/lib/v2/verfghbw/router.js +3 -0
  387. package/lib/v2/wallhaven/index.js +55 -0
  388. package/lib/v2/wallhaven/maintainer.js +4 -0
  389. package/lib/v2/wallhaven/radar.js +53 -0
  390. package/lib/v2/wallhaven/router.js +4 -0
  391. package/lib/v2/wallstreetcn/live.js +16 -7
  392. package/lib/v2/wechat/feeddd.js +13 -5
  393. package/lib/v2/wechat/maintainer.js +1 -1
  394. package/lib/{routes/people/cpc/24h.js → v2/whoscall/index.js} +17 -14
  395. package/lib/v2/whoscall/maintainer.js +5 -0
  396. package/lib/v2/whoscall/radar.js +25 -0
  397. package/lib/v2/whoscall/router.js +3 -0
  398. package/lib/v2/wyzxwk/article.js +65 -0
  399. package/lib/v2/wyzxwk/maintainer.js +3 -0
  400. package/lib/v2/wyzxwk/radar.js +13 -0
  401. package/lib/v2/wyzxwk/router.js +3 -0
  402. package/lib/v2/youku/channel.js +56 -0
  403. package/lib/v2/youku/maintainer.js +3 -0
  404. package/lib/v2/youku/radar.js +13 -0
  405. package/lib/v2/youku/router.js +3 -0
  406. package/lib/v2/youku/templates/channel.art +5 -0
  407. package/lib/v2/youzhiyouxing/maintainer.js +3 -0
  408. package/lib/v2/youzhiyouxing/materials.js +46 -0
  409. package/lib/v2/youzhiyouxing/radar.js +73 -0
  410. package/lib/v2/youzhiyouxing/router.js +3 -0
  411. package/lib/{routes → v2}/yxdzqb/index.js +12 -8
  412. package/lib/v2/yxdzqb/maintainer.js +3 -0
  413. package/lib/v2/yxdzqb/radar.js +13 -0
  414. package/lib/v2/yxdzqb/router.js +3 -0
  415. package/lib/v2/yxdzqb/templates/description.art +2 -0
  416. package/lib/v2/zaker/index.js +65 -0
  417. package/lib/v2/zaker/maintainer.js +3 -0
  418. package/lib/v2/zaker/radar.js +19 -0
  419. package/lib/v2/zaker/router.js +3 -0
  420. package/lib/{routes → v2}/zaobao/index.js +2 -2
  421. package/lib/{routes → v2}/zaobao/interactive.js +0 -0
  422. package/lib/v2/zaobao/maintainer.js +6 -0
  423. package/lib/v2/zaobao/radar.js +28 -0
  424. package/lib/{routes → v2}/zaobao/realtime.js +4 -2
  425. package/lib/v2/zaobao/router.js +6 -0
  426. package/lib/v2/zaobao/templates/zaobao.art +17 -0
  427. package/lib/{routes → v2}/zaobao/util.js +55 -18
  428. package/lib/{routes → v2}/zaobao/znews.js +0 -3
  429. package/lib/v2/zhubai/index.js +29 -0
  430. package/lib/v2/zhubai/maintainer.js +3 -0
  431. package/lib/v2/zhubai/radar.js +12 -0
  432. package/lib/v2/zhubai/router.js +3 -0
  433. package/package.json +33 -30
  434. package/lib/routes/ccreports/index.js +0 -40
  435. package/lib/routes/changba/user.js +0 -71
  436. package/lib/routes/cntv/cntv.js +0 -24
  437. package/lib/routes/douban/explore.js +0 -33
  438. package/lib/routes/ft/myft.js +0 -46
  439. package/lib/routes/hex-rays/index.js +0 -28
  440. package/lib/routes/hkepc/index.js +0 -164
  441. package/lib/routes/houxu/events.js +0 -27
  442. package/lib/routes/houxu/live.js +0 -39
  443. package/lib/routes/houxu/lives.js +0 -58
  444. package/lib/routes/iresearch/report.js +0 -63
  445. package/lib/routes/javlibrary/bestreviews.js +0 -11
  446. package/lib/routes/javlibrary/stars.js +0 -9
  447. package/lib/routes/javlibrary/users.js +0 -22
  448. package/lib/routes/javlibrary/utils.js +0 -68
  449. package/lib/routes/javlibrary/videos.js +0 -9
  450. package/lib/routes/latepost/index.js +0 -84
  451. package/lib/routes/lkong/forum.js +0 -75
  452. package/lib/routes/lkong/thread.js +0 -56
  453. package/lib/routes/people/env.js +0 -73
  454. package/lib/routes/people/opinion.js +0 -69
  455. package/lib/routes/producthunt/today.js +0 -24
  456. package/lib/routes/stcn/data.js +0 -84
  457. package/lib/routes/stcn/kuaixun.js +0 -91
  458. package/lib/routes/stcn/news.js +0 -85
  459. package/lib/routes/topys/article.js +0 -55
  460. package/lib/routes/youku/channel.js +0 -56
  461. package/lib/routes/youzhiyouxing/materials.js +0 -29
  462. package/lib/routes/zaker/focusread.js +0 -65
  463. package/lib/routes/zaker/source.js +0 -66
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();
@@ -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
  });
@@ -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: [
@@ -1057,94 +975,6 @@ module.exports = {
1057
975
  ],
1058
976
  },
1059
977
 
1060
- 'ithome.com': {
1061
- _name: 'IT 之家',
1062
- '.': [
1063
- {
1064
- title: '24 小时阅读榜',
1065
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1066
- source: ['', '/*'],
1067
- target: '/ithome/ranking/24h',
1068
- },
1069
- {
1070
- title: '7 天最热',
1071
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1072
- source: ['', '/*'],
1073
- target: '/ithome/ranking/7days',
1074
- },
1075
- {
1076
- title: '月榜',
1077
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1078
- source: ['', '/*'],
1079
- target: '/ithome/ranking/monthly',
1080
- },
1081
- ],
1082
- it: [
1083
- {
1084
- title: 'IT 资讯',
1085
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1086
- source: '/',
1087
- target: '/ithome/it',
1088
- },
1089
- ],
1090
- soft: [
1091
- {
1092
- title: '软件之家',
1093
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1094
- source: '/',
1095
- target: '/ithome/soft',
1096
- },
1097
- ],
1098
- win10: [
1099
- {
1100
- title: 'win10 之家',
1101
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1102
- source: '/',
1103
- target: '/ithome/win10',
1104
- },
1105
- ],
1106
- iphone: [
1107
- {
1108
- title: 'iphone 之家',
1109
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1110
- source: '/',
1111
- target: '/ithome/iphone',
1112
- },
1113
- ],
1114
- ipad: [
1115
- {
1116
- title: 'ipad 之家',
1117
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1118
- source: '/',
1119
- target: '/ithome/ipad',
1120
- },
1121
- ],
1122
- android: [
1123
- {
1124
- title: 'android 之家',
1125
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1126
- source: '/',
1127
- target: '/ithome/android',
1128
- },
1129
- ],
1130
- digi: [
1131
- {
1132
- title: '数码之家',
1133
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1134
- source: '/',
1135
- target: '/ithome/digi',
1136
- },
1137
- ],
1138
- next: [
1139
- {
1140
- title: '智能时代',
1141
- docs: 'https://docs.rsshub.app/new-media.html#it-zhi-jia',
1142
- source: '/',
1143
- target: '/ithome/next',
1144
- },
1145
- ],
1146
- },
1147
-
1148
978
  'govopendata.com': {
1149
979
  _name: '新闻联播文字版',
1150
980
  cn: [
@@ -1416,77 +1246,6 @@ module.exports = {
1416
1246
  },
1417
1247
  ],
1418
1248
  },
1419
- 'javlibrary.com': {
1420
- _name: 'javlibrary',
1421
- www: [
1422
- {
1423
- title: '新话题',
1424
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1425
- source: '/cn',
1426
- target: '/javlibrary/videos/update',
1427
- },
1428
- {
1429
- title: '新发行',
1430
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1431
- source: '/cn',
1432
- target: '/javlibrary/videos/newrelease',
1433
- },
1434
- {
1435
- title: '新加入',
1436
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1437
- source: '/cn',
1438
- target: '/javlibrary/videos/newentries',
1439
- },
1440
- {
1441
- title: '最想要',
1442
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1443
- source: '/cn',
1444
- target: '/javlibrary/videos/mostwanted',
1445
- },
1446
- {
1447
- title: '高评价',
1448
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1449
- source: '/cn',
1450
- target: '/javlibrary/videos/bestrated',
1451
- },
1452
- {
1453
- title: '最佳评论',
1454
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1455
- source: '/cn',
1456
- target: '/javlibrary/bestreviews',
1457
- },
1458
- {
1459
- title: '影星',
1460
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1461
- source: '/cn/vl_star.php',
1462
- target: (params, url) => `/javlibrary/stars/${new URL(url).searchParams.get('s')}`,
1463
- },
1464
- {
1465
- title: '用户文章',
1466
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1467
- source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
1468
- target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userposts`,
1469
- },
1470
- {
1471
- title: '用户拥有',
1472
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1473
- source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
1474
- target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userowned`,
1475
- },
1476
- {
1477
- title: '用户看过',
1478
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1479
- source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
1480
- target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userwatched`,
1481
- },
1482
- {
1483
- title: '用户想要',
1484
- docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
1485
- source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
1486
- target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userwanted`,
1487
- },
1488
- ],
1489
- },
1490
1249
  'qidian.com': {
1491
1250
  _name: '起点',
1492
1251
  book: [
@@ -1540,16 +1299,6 @@ module.exports = {
1540
1299
  },
1541
1300
  ],
1542
1301
  },
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
1302
  'ynu.edu.cn': {
1554
1303
  _name: '云南大学',
1555
1304
  home: [
@@ -1993,28 +1742,6 @@ module.exports = {
1993
1742
  },
1994
1743
  ],
1995
1744
  },
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
1745
  'zhuixinfan.com': {
2019
1746
  _name: '追新番日剧站',
2020
1747
  '.': [
@@ -2448,38 +2175,6 @@ module.exports = {
2448
2175
  },
2449
2176
  ],
2450
2177
  },
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
2178
  'okjike.com': {
2484
2179
  _name: '即刻',
2485
2180
  m: [