rsshub 1.0.0-master.c034cfb → 1.0.0-master.c058d6a

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 (1517) hide show
  1. package/README.md +9 -7
  2. package/lib/config.js +31 -13
  3. package/lib/maintainer.js +7 -2
  4. package/lib/middleware/access-control.js +5 -5
  5. package/lib/middleware/cache/index.js +4 -3
  6. package/lib/middleware/cache/redis.js +3 -3
  7. package/lib/middleware/onerror.js +9 -3
  8. package/lib/middleware/parameter.js +66 -11
  9. package/lib/middleware/template.js +79 -85
  10. package/lib/radar-rules.js +0 -340
  11. package/lib/router.js +29 -861
  12. package/lib/routes/199it/category.js +1 -1
  13. package/lib/routes/199it/tag.js +1 -1
  14. package/lib/routes/199it/utils.js +1 -1
  15. package/lib/routes/ddrk/index.js +1 -1
  16. package/lib/routes/ddrk/list.js +1 -1
  17. package/lib/routes/index.js +6 -13
  18. package/lib/routes/universities/ynnu/edu/news.js +3 -3
  19. package/lib/routes/zimuku/index.js +1 -1
  20. package/lib/utils/common-utils.js +2 -6
  21. package/lib/utils/got.js +5 -0
  22. package/lib/utils/rand-user-agent.js +2 -1
  23. package/lib/utils/render.js +2 -0
  24. package/lib/utils/request-wrapper.js +7 -2
  25. package/lib/v2/1point3acres/maintainer.js +2 -2
  26. package/lib/v2/2048/index.js +18 -13
  27. package/lib/v2/95mm/utils.js +3 -2
  28. package/lib/v2/9to5/utils.js +1 -1
  29. package/lib/v2/abc/index.js +162 -0
  30. package/lib/v2/abc/radar.js +13 -0
  31. package/lib/v2/abc/router.js +3 -0
  32. package/lib/v2/abc/templates/description.art +21 -0
  33. package/lib/v2/aeon/utils.js +1 -1
  34. package/lib/v2/agirls/maintainer.js +0 -1
  35. package/lib/v2/agirls/radar.js +0 -6
  36. package/lib/v2/agirls/router.js +0 -1
  37. package/lib/v2/aliyun/notice.js +1 -1
  38. package/lib/v2/aljazeera/index.js +1 -1
  39. package/lib/v2/amazon/maintainer.js +1 -1
  40. package/lib/v2/apkpure/versions.js +1 -1
  41. package/lib/v2/apnews/topics.js +2 -1
  42. package/lib/v2/apple/apps.js +88 -17
  43. package/lib/v2/apple/maintainer.js +1 -1
  44. package/lib/v2/apple/radar.js +3 -3
  45. package/lib/v2/apple/router.js +1 -1
  46. package/lib/v2/appstore/maintainer.js +0 -1
  47. package/lib/v2/appstore/radar.js +0 -11
  48. package/lib/v2/appstore/router.js +0 -1
  49. package/lib/v2/arcteryx/maintainer.js +3 -3
  50. package/lib/v2/artstation/maintainer.js +3 -0
  51. package/lib/v2/artstation/radar.js +13 -0
  52. package/lib/v2/artstation/router.js +3 -0
  53. package/lib/v2/artstation/templates/description.art +17 -0
  54. package/lib/v2/artstation/user.js +98 -0
  55. package/lib/v2/asiantolick/index.js +73 -27
  56. package/lib/v2/asiantolick/maintainer.js +5 -3
  57. package/lib/v2/asiantolick/radar.js +34 -12
  58. package/lib/v2/asiantolick/router.js +2 -2
  59. package/lib/v2/asiantolick/templates/description.art +9 -3
  60. package/lib/v2/baidu/maintainer.js +1 -0
  61. package/lib/v2/baidu/radar.js +12 -1
  62. package/lib/v2/baidu/router.js +1 -0
  63. package/lib/v2/baidu/search.js +54 -0
  64. package/lib/v2/baidu/templates/description.art +6 -0
  65. package/lib/v2/bangumi/maintainer.js +2 -0
  66. package/lib/v2/bangumi/radar.js +12 -0
  67. package/lib/v2/bangumi/router.js +2 -0
  68. package/lib/v2/bangumi/tv/other/followrank.js +42 -0
  69. package/lib/v2/bangumi/tv/user/wish.js +38 -0
  70. package/lib/v2/bellroy/maintainer.js +1 -1
  71. package/lib/v2/bilibili/cache.js +16 -13
  72. package/lib/v2/bilibili/fav.js +2 -0
  73. package/lib/v2/bilibili/hotSearch.js +2 -2
  74. package/lib/v2/bilibili/liveSearch.js +2 -2
  75. package/lib/v2/bilibili/maintainer.js +1 -5
  76. package/lib/v2/bilibili/platform.js +43 -0
  77. package/lib/v2/bilibili/radar.js +8 -6
  78. package/lib/v2/bilibili/router.js +1 -4
  79. package/lib/v2/bilibili/userFav.js +2 -0
  80. package/lib/v2/bilibili/utils.js +37 -3
  81. package/lib/v2/bilibili/video-all.js +4 -3
  82. package/lib/v2/bilibili/video.js +3 -2
  83. package/lib/v2/bing/daily-wallpaper.js +25 -0
  84. package/lib/v2/bing/maintainer.js +4 -0
  85. package/lib/v2/bing/radar.js +22 -0
  86. package/lib/v2/bing/router.js +4 -0
  87. package/lib/v2/bing/search.js +28 -0
  88. package/lib/v2/bnu/dwxgb.js +17 -22
  89. package/lib/v2/booru/maintainer.js +3 -0
  90. package/lib/v2/booru/mmda.js +47 -0
  91. package/lib/v2/booru/radar.js +12 -0
  92. package/lib/v2/booru/router.js +3 -0
  93. package/lib/v2/bossdesign/index.js +41 -0
  94. package/lib/v2/bossdesign/radar.js +13 -0
  95. package/lib/v2/brave/latest.js +4 -2
  96. package/lib/v2/bsky/maintainer.js +1 -0
  97. package/lib/v2/bsky/posts.js +42 -0
  98. package/lib/v2/bsky/radar.js +6 -0
  99. package/lib/v2/bsky/router.js +1 -0
  100. package/lib/v2/bsky/templates/post.art +15 -0
  101. package/lib/v2/bsky/utils.js +52 -0
  102. package/lib/v2/buaa/maintainer.js +4 -0
  103. package/lib/v2/buaa/news/index.js +46 -0
  104. package/lib/v2/buaa/radar.js +21 -0
  105. package/lib/v2/buaa/router.js +4 -0
  106. package/lib/v2/buaa/sme.js +59 -0
  107. package/lib/v2/bytes/maintainer.js +0 -1
  108. package/lib/v2/caixin/blog.js +68 -45
  109. package/lib/v2/caixin/router.js +1 -1
  110. package/lib/v2/caixinglobal/latest.js +64 -0
  111. package/lib/v2/caixinglobal/maintainer.js +3 -0
  112. package/lib/v2/caixinglobal/radar.js +13 -0
  113. package/lib/v2/caixinglobal/router.js +3 -0
  114. package/lib/v2/cbc/topics.js +3 -1
  115. package/lib/v2/cctv/maintainer.js +0 -1
  116. package/lib/v2/cctv/radar.js +0 -6
  117. package/lib/v2/cctv/router.js +0 -1
  118. package/lib/v2/cfachina/analygarden.js +60 -0
  119. package/lib/v2/cfachina/maintainer.js +3 -0
  120. package/lib/v2/cfachina/radar.js +13 -0
  121. package/lib/v2/cfachina/router.js +3 -0
  122. package/lib/v2/china/finance/finance.js +61 -0
  123. package/lib/v2/china/maintainer.js +1 -0
  124. package/lib/v2/china/news/military/news.js +5 -6
  125. package/lib/v2/china/radar.js +9 -0
  126. package/lib/v2/china/router.js +1 -0
  127. package/lib/v2/chinafactcheck/index.js +20 -21
  128. package/lib/v2/chinafactcheck/utils.js +16 -16
  129. package/lib/v2/chinaisa/index.js +83 -0
  130. package/lib/v2/chinaisa/maintainer.js +3 -0
  131. package/lib/v2/chinaisa/radar.js +18 -0
  132. package/lib/v2/chinaisa/router.js +3 -0
  133. package/lib/v2/cma/channel.js +87 -0
  134. package/lib/v2/cma/maintainer.js +3 -0
  135. package/lib/v2/cma/radar.js +18 -0
  136. package/lib/v2/cma/router.js +3 -0
  137. package/lib/v2/cma/templates/description.art +13 -0
  138. package/lib/v2/cmpxchg8b/articles.js +43 -0
  139. package/lib/v2/cmpxchg8b/maintainer.js +3 -0
  140. package/lib/v2/cmpxchg8b/radar.js +13 -0
  141. package/lib/v2/cmpxchg8b/router.js +3 -0
  142. package/lib/v2/cna/index.js +1 -0
  143. package/lib/v2/cna/maintainer.js +1 -0
  144. package/lib/v2/cna/radar.js +6 -0
  145. package/lib/v2/cna/router.js +1 -0
  146. package/lib/v2/cna/web/index.js +62 -0
  147. package/lib/v2/cnbeta/type.js +15 -9
  148. package/lib/v2/cnbeta/utils.js +3 -0
  149. package/lib/v2/cnljxh/index.js +71 -0
  150. package/lib/v2/cnljxh/maintainer.js +7 -0
  151. package/lib/v2/cnljxh/radar.js +194 -0
  152. package/lib/v2/cnljxh/router.js +3 -0
  153. package/lib/v2/consumer/maintainer.js +1 -0
  154. package/lib/v2/consumer/radar.js +6 -0
  155. package/lib/v2/consumer/router.js +1 -0
  156. package/lib/v2/consumer/shopping-guide.js +66 -0
  157. package/lib/v2/cqwu/index.js +11 -8
  158. package/lib/v2/cqwu/radar.js +2 -2
  159. package/lib/v2/creative-comic/book.js +40 -34
  160. package/lib/v2/creative-comic/utils.js +1 -2
  161. package/lib/v2/cste/radar.js +1 -1
  162. package/lib/v2/curius/templates/description.art +1 -1
  163. package/lib/v2/cw/utils.js +3 -3
  164. package/lib/v2/cyzone/maintainer.js +1 -1
  165. package/lib/v2/dahecube/index.js +1 -1
  166. package/lib/v2/dahecube/radar.js +40 -4
  167. package/lib/v2/dcfever/utils.js +8 -1
  168. package/lib/v2/deadline/maintainer.js +0 -1
  169. package/lib/v2/deeplearning/maintainer.js +3 -0
  170. package/lib/v2/deeplearning/radar.js +13 -0
  171. package/lib/v2/deeplearning/router.js +3 -0
  172. package/lib/v2/deeplearning/thebatch.js +36 -0
  173. package/lib/v2/diandong/maintainer.js +0 -1
  174. package/lib/v2/diandong/radar.js +0 -6
  175. package/lib/v2/diandong/router.js +0 -1
  176. package/lib/v2/dlsite/ci-en/article.js +1 -1
  177. package/lib/v2/dongqiudi/special.js +13 -21
  178. package/lib/v2/dongqiudi/utils.js +26 -2
  179. package/lib/v2/douban/maintainer.js +4 -2
  180. package/lib/v2/douban/other/discussion.js +58 -0
  181. package/lib/v2/douban/other/doulist.js +9 -7
  182. package/lib/v2/douban/other/list.js +28 -19
  183. package/lib/v2/douban/other/recommended.js +70 -0
  184. package/lib/v2/douban/people/status.js +1 -1
  185. package/lib/v2/douban/radar.js +8 -0
  186. package/lib/v2/douban/router.js +3 -1
  187. package/lib/v2/douyin/live.js +1 -1
  188. package/lib/v2/dut/defaults.js +4 -0
  189. package/lib/v2/dut/index.js +21 -9
  190. package/lib/v2/dut/maintainer.js +8 -7
  191. package/lib/v2/dut/radar.js +37 -29
  192. package/lib/v2/dut/shortcuts.js +5 -0
  193. package/lib/v2/dx2025/radar.js +0 -6
  194. package/lib/v2/eastday/maintainer.js +0 -1
  195. package/lib/v2/eastday/radar.js +0 -6
  196. package/lib/v2/eastday/router.js +0 -1
  197. package/lib/v2/economist/maintainer.js +0 -2
  198. package/lib/v2/economist/radar.js +0 -8
  199. package/lib/v2/economist/router.js +0 -2
  200. package/lib/v2/egsea/flash.js +30 -0
  201. package/lib/v2/egsea/maintainer.js +3 -0
  202. package/lib/v2/egsea/radar.js +13 -0
  203. package/lib/v2/egsea/router.js +3 -0
  204. package/lib/v2/ehentai/ehapi.js +3 -1
  205. package/lib/v2/epicgames/index.js +18 -11
  206. package/lib/v2/epicgames/templates/description.art +1 -0
  207. package/lib/v2/farmatters/index.js +85 -0
  208. package/lib/v2/farmatters/maintainer.js +7 -0
  209. package/lib/v2/farmatters/radar.js +36 -0
  210. package/lib/v2/farmatters/router.js +6 -0
  211. package/lib/v2/farmatters/templates/description.art +9 -0
  212. package/lib/v2/firefox/addons.js +35 -0
  213. package/lib/v2/firefox/breaches.js +38 -0
  214. package/lib/v2/firefox/maintainer.js +2 -0
  215. package/lib/v2/firefox/radar.js +17 -0
  216. package/lib/v2/firefox/release.js +30 -0
  217. package/lib/v2/firefox/router.js +3 -1
  218. package/lib/v2/fisher-spb/news.js +1 -2
  219. package/lib/v2/foresightnews/maintainer.js +0 -1
  220. package/lib/v2/fortnite/news.js +1 -1
  221. package/lib/v2/fosshub/radar.js +1 -1
  222. package/lib/v2/ft/maintainer.js +0 -1
  223. package/lib/v2/ft/radar.js +0 -13
  224. package/lib/v2/ft/router.js +0 -1
  225. package/lib/v2/fuliba/latest.js +25 -0
  226. package/lib/v2/fuliba/maintainer.js +3 -0
  227. package/lib/v2/fuliba/radar.js +15 -0
  228. package/lib/v2/fuliba/router.js +3 -0
  229. package/lib/v2/fxiaoke/crm.js +63 -0
  230. package/lib/v2/fxiaoke/maintainer.js +3 -0
  231. package/lib/v2/fxiaoke/radar.js +37 -0
  232. package/lib/v2/fxiaoke/router.js +3 -0
  233. package/lib/v2/gamme/category.js +2 -2
  234. package/lib/v2/gamme/tag.js +3 -3
  235. package/lib/v2/gcores/category.js +1 -0
  236. package/lib/v2/gcores/radio.js +1 -0
  237. package/lib/v2/gdsrx/index.js +72 -0
  238. package/lib/v2/gdsrx/maintainer.js +3 -0
  239. package/lib/v2/gdsrx/radar.js +61 -0
  240. package/lib/v2/gdsrx/router.js +3 -0
  241. package/lib/v2/getitfree/index.js +42 -34
  242. package/lib/v2/getitfree/maintainer.js +3 -1
  243. package/lib/v2/getitfree/radar.js +19 -2
  244. package/lib/v2/getitfree/router.js +10 -2
  245. package/lib/v2/getitfree/util.js +326 -0
  246. package/lib/v2/github/radar.js +12 -12
  247. package/lib/v2/github/topic.js +26 -10
  248. package/lib/v2/gocn/jobs.js +14 -9
  249. package/lib/v2/gocn/maintainer.js +3 -1
  250. package/lib/v2/gocn/news.js +31 -0
  251. package/lib/v2/gocn/radar.js +8 -2
  252. package/lib/v2/gocn/router.js +3 -1
  253. package/lib/v2/gocn/topics.js +15 -7
  254. package/lib/v2/gocn/utils.js +38 -0
  255. package/lib/v2/gogoanimehd/radar.js +1 -1
  256. package/lib/v2/gogoanimehd/recent-releases.js +1 -1
  257. package/lib/v2/google/alerts.js +33 -0
  258. package/lib/v2/google/maintainer.js +2 -0
  259. package/lib/v2/google/radar.js +12 -8
  260. package/lib/v2/google/router.js +2 -2
  261. package/lib/v2/google/search.js +62 -0
  262. package/lib/v2/google/templates/description.art +6 -0
  263. package/lib/v2/gov/caac/cjwt.js +56 -0
  264. package/lib/v2/gov/caac/templates/description.art +25 -0
  265. package/lib/v2/gov/chinamine-safety/util.js +77 -0
  266. package/lib/v2/gov/chinamine-safety/xw.js +37 -0
  267. package/lib/v2/gov/chinamine-safety/zfxxgk.js +36 -0
  268. package/lib/v2/gov/forestry/gjlckjdjt.js +96 -0
  269. package/lib/v2/gov/forestry/templates/description.art +15 -0
  270. package/lib/v2/gov/jgjcndrc/index.js +59 -0
  271. package/lib/v2/gov/maintainer.js +23 -3
  272. package/lib/v2/gov/mem/sgcc.js +64 -0
  273. package/lib/v2/gov/moa/zdscxx.js +104 -0
  274. package/lib/v2/gov/mof/bond.js +51 -0
  275. package/lib/v2/gov/moj/lfyjzj.js +53 -0
  276. package/lib/v2/gov/mot/index.js +66 -0
  277. package/lib/v2/gov/ndrc/fggz.js +62 -0
  278. package/lib/v2/gov/ndrc/xwdt.js +54 -0
  279. package/lib/v2/gov/nea/ghs.js +58 -0
  280. package/lib/v2/gov/nifdc/index.js +40 -33
  281. package/lib/v2/gov/npc/index.js +47 -0
  282. package/lib/v2/gov/radar.js +1304 -4
  283. package/lib/v2/gov/router.js +23 -2
  284. package/lib/v2/gov/safe/business.js +8 -0
  285. package/lib/v2/gov/safe/complaint.js +8 -0
  286. package/lib/v2/gov/safe/templates/message.art +25 -0
  287. package/lib/v2/gov/safe/util.js +87 -0
  288. package/lib/v2/gov/samr/templates/description.art +26 -0
  289. package/lib/v2/gov/samr/xgzlyhd.js +100 -0
  290. package/lib/v2/gov/zhejiang/gwy.js +84 -0
  291. package/lib/v2/gov/zhengce/index.js +99 -0
  292. package/lib/v2/greasyfork/maintainer.js +1 -0
  293. package/lib/v2/greasyfork/router.js +1 -0
  294. package/lib/v2/greasyfork/scripts.js +25 -20
  295. package/lib/v2/grubstreet/maintainer.js +3 -0
  296. package/lib/v2/grubstreet/radar.js +13 -0
  297. package/lib/v2/grubstreet/utils.js +84 -0
  298. package/lib/v2/guangdiu/maintainer.js +1 -0
  299. package/lib/v2/guangdiu/radar.js +6 -0
  300. package/lib/v2/guangdiu/router.js +1 -0
  301. package/lib/v2/guangdiu/search.js +40 -0
  302. package/lib/v2/guanhai/maintainer.js +0 -1
  303. package/lib/v2/harvard/health/blog.js +52 -0
  304. package/lib/v2/harvard/maintainer.js +3 -0
  305. package/lib/v2/harvard/radar.js +13 -0
  306. package/lib/v2/harvard/router.js +3 -0
  307. package/lib/v2/hebtv/maintainer.js +3 -0
  308. package/lib/v2/hebtv/nong-bo-shi-zai-xing-dong.js +109 -0
  309. package/lib/v2/hebtv/radar.js +13 -0
  310. package/lib/v2/hebtv/router.js +3 -0
  311. package/lib/v2/hebtv/templates/description.art +24 -0
  312. package/lib/v2/hellobtc/maintainer.js +0 -1
  313. package/lib/v2/hellobtc/radar.js +0 -6
  314. package/lib/v2/hellobtc/router.js +0 -1
  315. package/lib/v2/hostmonit/cloudflareyes.js +91 -0
  316. package/lib/v2/hostmonit/maintainer.js +3 -0
  317. package/lib/v2/hostmonit/radar.js +17 -0
  318. package/lib/v2/hostmonit/router.js +8 -0
  319. package/lib/v2/hostmonit/templates/description.art +28 -0
  320. package/lib/v2/hostmonit/templates/title.art +1 -0
  321. package/lib/v2/hpoi/all.js +3 -0
  322. package/lib/v2/hpoi/bannerItem.js +26 -0
  323. package/lib/v2/hpoi/character.js +3 -0
  324. package/lib/v2/hpoi/maintainer.js +8 -0
  325. package/lib/v2/hpoi/radar.js +37 -0
  326. package/lib/v2/hpoi/router.js +8 -0
  327. package/lib/v2/hpoi/user.js +43 -0
  328. package/lib/v2/hpoi/utils.js +49 -0
  329. package/lib/v2/hpoi/work.js +3 -0
  330. package/lib/v2/huxiu/briefColumn.js +13 -25
  331. package/lib/v2/huxiu/channel.js +28 -0
  332. package/lib/v2/huxiu/club.js +30 -0
  333. package/lib/v2/huxiu/collection.js +14 -26
  334. package/lib/v2/huxiu/maintainer.js +8 -5
  335. package/lib/v2/huxiu/member.js +27 -0
  336. package/lib/v2/huxiu/moment.js +11 -25
  337. package/lib/v2/huxiu/radar.js +24 -16
  338. package/lib/v2/huxiu/router.js +7 -4
  339. package/lib/v2/huxiu/search.js +16 -21
  340. package/lib/v2/huxiu/tag.js +13 -25
  341. package/lib/v2/huxiu/templates/description.art +46 -0
  342. package/lib/v2/huxiu/util.js +460 -0
  343. package/lib/v2/ianspriggs/index.js +90 -0
  344. package/lib/v2/ianspriggs/radar.js +17 -0
  345. package/lib/v2/ianspriggs/router.js +3 -0
  346. package/lib/v2/ianspriggs/templates/description.art +13 -0
  347. package/lib/v2/ifi-audio/maintainer.js +1 -1
  348. package/lib/v2/imiker/jinghua.js +87 -0
  349. package/lib/v2/imiker/maintainer.js +3 -0
  350. package/lib/v2/imiker/radar.js +13 -0
  351. package/lib/v2/imiker/router.js +3 -0
  352. package/lib/v2/imiker/templates/description.art +32 -0
  353. package/lib/v2/inoreader/maintainer.js +1 -1
  354. package/lib/v2/instagram/common-utils.js +7 -4
  355. package/lib/v2/instagram/radar.js +2 -2
  356. package/lib/v2/instagram/templates/images.art +9 -2
  357. package/lib/v2/instagram/templates/video.art +4 -1
  358. package/lib/v2/instagram/web-api/index.js +30 -9
  359. package/lib/v2/instagram/web-api/utils.js +149 -25
  360. package/lib/v2/iqilu/maintainer.js +3 -0
  361. package/lib/v2/iqilu/program.js +98 -0
  362. package/lib/v2/iqilu/radar.js +107 -0
  363. package/lib/v2/iqilu/router.js +3 -0
  364. package/lib/v2/iqilu/templates/description.art +24 -0
  365. package/lib/v2/iqiyi/video.js +1 -1
  366. package/lib/v2/javbus/index.js +6 -0
  367. package/lib/v2/javlibrary/maintainer.js +1 -0
  368. package/lib/v2/javlibrary/maker.js +10 -0
  369. package/lib/v2/javlibrary/router.js +1 -0
  370. package/lib/v2/javlibrary/utils.js +1 -0
  371. package/lib/v2/jianshu/maintainer.js +5 -0
  372. package/lib/v2/jianshu/radar.js +25 -0
  373. package/lib/v2/jianshu/router.js +5 -0
  374. package/lib/v2/jianshu/utils.js +58 -0
  375. package/lib/v2/jiemian/lists.js +93 -0
  376. package/lib/v2/jiemian/maintainer.js +5 -2
  377. package/lib/v2/jiemian/radar.js +620 -8
  378. package/lib/v2/jiemian/router.js +7 -2
  379. package/lib/v2/jiemian/templates/description.art +39 -0
  380. package/lib/v2/juejin/maintainer.js +0 -2
  381. package/lib/v2/juejin/radar.js +0 -12
  382. package/lib/v2/juejin/router.js +0 -2
  383. package/lib/v2/kamen-rider-official/news.js +1 -1
  384. package/lib/v2/kemono/index.js +28 -4
  385. package/lib/v2/kemono/radar.js +1 -1
  386. package/lib/v2/kepu/live.js +89 -0
  387. package/lib/v2/kepu/maintainer.js +3 -0
  388. package/lib/v2/kepu/radar.js +13 -0
  389. package/lib/v2/kepu/router.js +3 -0
  390. package/lib/v2/kepu/templates/description.art +33 -0
  391. package/lib/v2/leetcode/articles.js +14 -10
  392. package/lib/v2/leetcode/dailyquestion-solution-cn.js +6 -3
  393. package/lib/v2/leetcode/dailyquestion-solution-en.js +7 -4
  394. package/lib/v2/leetcode/maintainer.js +1 -1
  395. package/lib/v2/leetcode/radar.js +0 -20
  396. package/lib/v2/lifeweek/channel.js +25 -0
  397. package/lib/v2/lifeweek/maintainer.js +4 -0
  398. package/lib/v2/lifeweek/radar.js +19 -0
  399. package/lib/v2/lifeweek/router.js +4 -0
  400. package/lib/v2/lifeweek/tag.js +24 -0
  401. package/lib/v2/lifeweek/utils.js +18 -0
  402. package/lib/v2/lightnovel/lightNovel.js +62 -0
  403. package/lib/v2/lightnovel/maintainer.js +3 -0
  404. package/lib/v2/lightnovel/radar.js +13 -0
  405. package/lib/v2/lightnovel/router.js +3 -0
  406. package/lib/v2/line/radar.js +1 -1
  407. package/lib/v2/liquipedia/cs_matches.js +52 -0
  408. package/lib/v2/liquipedia/dota2_matches.js +47 -0
  409. package/lib/v2/liquipedia/maintainer.js +4 -0
  410. package/lib/v2/liquipedia/radar.js +19 -0
  411. package/lib/v2/liquipedia/router.js +4 -0
  412. package/lib/v2/logclub/index.js +134 -0
  413. package/lib/v2/logclub/maintainer.js +9 -0
  414. package/lib/v2/logclub/radar.js +139 -0
  415. package/lib/v2/logclub/report.js +98 -0
  416. package/lib/v2/logclub/router.js +5 -0
  417. package/lib/v2/logclub/templates/description.art +33 -0
  418. package/lib/v2/magazinelib/maintainer.js +1 -1
  419. package/lib/v2/medieval-china/maintainer.js +3 -0
  420. package/lib/v2/medieval-china/post.js +44 -0
  421. package/lib/v2/medieval-china/radar.js +13 -0
  422. package/lib/v2/medieval-china/router.js +3 -0
  423. package/lib/v2/metacritic/index.js +121 -0
  424. package/lib/v2/metacritic/maintainer.js +5 -0
  425. package/lib/v2/metacritic/radar.js +43 -0
  426. package/lib/v2/metacritic/router.js +3 -0
  427. package/lib/v2/metacritic/templates/description.art +19 -0
  428. package/lib/v2/metacritic/util.js +42 -0
  429. package/lib/v2/mihoyo/radar.js +1 -1
  430. package/lib/v2/missav/maintainer.js +3 -0
  431. package/lib/v2/missav/new.js +36 -0
  432. package/lib/v2/missav/radar.js +13 -0
  433. package/lib/v2/missav/router.js +3 -0
  434. package/lib/v2/missav/templates/preview.art +3 -0
  435. package/lib/v2/mittrchina/index.js +104 -0
  436. package/lib/v2/mittrchina/maintainer.js +3 -0
  437. package/lib/v2/mittrchina/radar.js +31 -0
  438. package/lib/v2/mittrchina/router.js +3 -0
  439. package/lib/v2/mittrchina/templates/movie.art +5 -0
  440. package/lib/v2/modb/maintainer.js +3 -0
  441. package/lib/v2/modb/radar.js +13 -0
  442. package/lib/v2/modb/router.js +3 -0
  443. package/lib/v2/modb/topic.js +59 -0
  444. package/lib/v2/mymusicsheet/maintainer.js +3 -0
  445. package/lib/v2/mymusicsheet/radar.js +13 -0
  446. package/lib/v2/mymusicsheet/router.js +3 -0
  447. package/lib/v2/mymusicsheet/templates/description.art +41 -0
  448. package/lib/v2/mymusicsheet/usersheets.js +120 -0
  449. package/lib/v2/nature/cover.js +32 -42
  450. package/lib/v2/nature/highlight.js +2 -2
  451. package/lib/v2/nature/news-and-comment.js +2 -2
  452. package/lib/v2/nature/news.js +2 -2
  453. package/lib/v2/nature/research.js +2 -2
  454. package/lib/v2/nature/siteindex.js +5 -5
  455. package/lib/v2/nature/utils.js +124 -5
  456. package/lib/v2/nbd/index.js +4 -1
  457. package/lib/v2/nbd/maintainer.js +1 -1
  458. package/lib/v2/nbd/radar.js +3 -3
  459. package/lib/v2/nbd/router.js +1 -1
  460. package/lib/v2/ncc-cma/cmdp.js +81 -0
  461. package/lib/v2/ncc-cma/maintainer.js +3 -0
  462. package/lib/v2/ncc-cma/radar.js +229 -0
  463. package/lib/v2/ncc-cma/router.js +3 -0
  464. package/lib/v2/ncc-cma/templates/description.art +9 -0
  465. package/lib/v2/ncu/jwc.js +33 -0
  466. package/lib/v2/ncu/maintainer.js +3 -0
  467. package/lib/v2/ncu/radar.js +13 -0
  468. package/lib/v2/ncu/router.js +3 -0
  469. package/lib/v2/netflav/index.js +39 -0
  470. package/lib/v2/netflav/radar.js +13 -0
  471. package/lib/v2/netflav/router.js +3 -0
  472. package/lib/v2/netflav/templates/description.art +8 -0
  473. package/lib/v2/nhk/news.js +1 -1
  474. package/lib/v2/niaogebiji/maintainer.js +0 -1
  475. package/lib/v2/nmtv/radar.js +1 -1
  476. package/lib/v2/nodejs/blog.js +1 -1
  477. package/lib/v2/npr/radar.js +2 -2
  478. package/lib/v2/nytimes/radar.js +0 -6
  479. package/lib/v2/nytimes/router.js +0 -1
  480. package/lib/v2/oo-software/radar.js +1 -1
  481. package/lib/v2/oschina/news.js +1 -0
  482. package/lib/v2/otobanana/cast.js +29 -0
  483. package/lib/v2/otobanana/livestream.js +29 -0
  484. package/lib/v2/otobanana/maintainer.js +5 -0
  485. package/lib/v2/otobanana/radar.js +25 -0
  486. package/lib/v2/otobanana/router.js +5 -0
  487. package/lib/v2/otobanana/templates/description.art +11 -0
  488. package/lib/v2/otobanana/timeline.js +29 -0
  489. package/lib/v2/otobanana/utils.js +67 -0
  490. package/lib/v2/ouc/it-tx.js +44 -0
  491. package/lib/v2/ouc/it.js +2 -2
  492. package/lib/v2/ouc/maintainer.js +2 -1
  493. package/lib/v2/ouc/radar.js +6 -0
  494. package/lib/v2/ouc/router.js +1 -0
  495. package/lib/v2/papers/index.js +76 -0
  496. package/lib/v2/papers/radar.js +17 -0
  497. package/lib/v2/papers/router.js +3 -0
  498. package/lib/v2/papers/templates/description.art +15 -0
  499. package/lib/v2/patagonia/maintainer.js +1 -1
  500. package/lib/v2/paulgraham/article.js +62 -0
  501. package/lib/v2/paulgraham/maintainer.js +3 -0
  502. package/lib/v2/paulgraham/radar.js +13 -0
  503. package/lib/v2/paulgraham/router.js +5 -0
  504. package/lib/v2/people/index.js +15 -24
  505. package/lib/v2/people/router.js +1 -2
  506. package/lib/v2/phoronix/index.js +177 -48
  507. package/lib/v2/phoronix/maintainer.js +1 -1
  508. package/lib/v2/phoronix/radar.js +3 -3
  509. package/lib/v2/phoronix/router.js +1 -1
  510. package/lib/v2/picnob/maintainer.js +1 -1
  511. package/lib/v2/picnob/templates/desc.art +3 -3
  512. package/lib/v2/picnob/user.js +74 -37
  513. package/lib/v2/picnob/utils.js +24 -0
  514. package/lib/v2/pixiv/ranking.js +1 -0
  515. package/lib/v2/pixiv/user.js +2 -1
  516. package/lib/v2/pixiv/utils.js +2 -2
  517. package/lib/v2/pkmer/maintainer.js +3 -0
  518. package/lib/v2/pkmer/radar.js +13 -0
  519. package/lib/v2/pkmer/recent.js +36 -0
  520. package/lib/v2/pkmer/router.js +3 -0
  521. package/lib/v2/pku/cls/announcement.js +42 -0
  522. package/lib/v2/pku/maintainer.js +1 -0
  523. package/lib/v2/pku/radar.js +6 -0
  524. package/lib/v2/pku/router.js +1 -0
  525. package/lib/v2/pnas/index.js +1 -1
  526. package/lib/v2/qbitai/category.js +27 -0
  527. package/lib/v2/qbitai/maintainer.js +4 -0
  528. package/lib/v2/qbitai/radar.js +19 -0
  529. package/lib/v2/qbitai/router.js +4 -0
  530. package/lib/v2/qbitai/tag.js +27 -0
  531. package/lib/v2/qq/maintainer.js +0 -1
  532. package/lib/v2/qq/radar.js +0 -8
  533. package/lib/v2/qq/router.js +0 -1
  534. package/lib/v2/qqorw/maintainer.js +1 -1
  535. package/lib/v2/questmobile/maintainer.js +3 -0
  536. package/lib/v2/questmobile/radar.js +18 -0
  537. package/lib/v2/questmobile/report.js +127 -0
  538. package/lib/v2/questmobile/router.js +3 -0
  539. package/lib/v2/questmobile/templates/description.art +17 -0
  540. package/lib/v2/qweather/3days.js +47 -20
  541. package/lib/v2/qweather/maintainer.js +1 -1
  542. package/lib/v2/qweather/templates/3days.art +2 -0
  543. package/lib/v2/reactnewsletter/maintainer.js +0 -1
  544. package/lib/v2/readhub/daily.js +43 -0
  545. package/lib/v2/readhub/index.js +42 -86
  546. package/lib/v2/readhub/maintainer.js +2 -1
  547. package/lib/v2/readhub/radar.js +12 -2
  548. package/lib/v2/readhub/router.js +2 -4
  549. package/lib/v2/readhub/templates/description.art +40 -0
  550. package/lib/v2/readhub/util.js +69 -0
  551. package/lib/v2/reuters/common.js +74 -54
  552. package/lib/v2/reuters/maintainer.js +0 -2
  553. package/lib/v2/reuters/router.js +0 -2
  554. package/lib/v2/rfi/maintainer.js +1 -1
  555. package/lib/v2/rfi/news.js +35 -22
  556. package/lib/v2/rfi/radar.js +5 -5
  557. package/lib/v2/rfi/router.js +1 -1
  558. package/lib/v2/routledge/book-series.js +78 -0
  559. package/lib/v2/routledge/maintainer.js +3 -0
  560. package/lib/v2/routledge/radar.js +13 -0
  561. package/lib/v2/routledge/router.js +3 -0
  562. package/lib/v2/routledge/templates/description.art +7 -0
  563. package/lib/v2/rsshub/maintainer.js +0 -1
  564. package/lib/v2/rsshub/radar.js +0 -6
  565. package/lib/v2/rsshub/router.js +0 -1
  566. package/lib/v2/runtrail/maintainer.js +0 -1
  567. package/lib/v2/scau/maintainer.js +1 -0
  568. package/lib/v2/scau/radar.js +8 -0
  569. package/lib/v2/scau/router.js +1 -0
  570. package/lib/v2/scau/yjs.js +2 -2
  571. package/lib/v2/scau/yjsy.js +27 -0
  572. package/lib/v2/science/utils.js +4 -4
  573. package/lib/v2/scmp/index.js +61 -85
  574. package/lib/v2/scmp/utils.js +60 -0
  575. package/lib/v2/segmentfault/blogs.js +6 -23
  576. package/lib/v2/segmentfault/channel.js +18 -30
  577. package/lib/v2/segmentfault/user.js +6 -32
  578. package/lib/v2/segmentfault/utils.js +32 -0
  579. package/lib/v2/sehuatang/index.js +10 -12
  580. package/lib/v2/sehuatang/user.js +11 -12
  581. package/lib/v2/shiep/config.js +10 -10
  582. package/lib/v2/shiep/index.js +4 -4
  583. package/lib/v2/shiep/radar.js +6 -6
  584. package/lib/v2/shmeea/index.js +35 -26
  585. package/lib/v2/shmeea/maintainer.js +1 -1
  586. package/lib/v2/shmeea/radar.js +8 -5
  587. package/lib/v2/shmeea/router.js +1 -1
  588. package/lib/v2/showstart/artist.js +15 -0
  589. package/lib/v2/showstart/brand.js +15 -0
  590. package/lib/v2/showstart/const.js +4 -0
  591. package/lib/v2/showstart/event.js +18 -0
  592. package/lib/v2/showstart/maintainer.js +6 -0
  593. package/lib/v2/showstart/radar.js +40 -0
  594. package/lib/v2/showstart/router.js +6 -0
  595. package/lib/v2/showstart/search.js +51 -0
  596. package/lib/v2/showstart/service.js +166 -0
  597. package/lib/v2/showstart/utils.js +92 -0
  598. package/lib/v2/snowpeak/maintainer.js +1 -1
  599. package/lib/v2/sogou/maintainer.js +4 -0
  600. package/lib/v2/sogou/radar.js +16 -0
  601. package/lib/v2/sogou/router.js +4 -0
  602. package/lib/v2/sogou/search.js +54 -0
  603. package/lib/v2/sogou/templates/description.art +6 -0
  604. package/lib/v2/sohu/mp.js +48 -35
  605. package/lib/v2/sohu/templates/video.art +7 -0
  606. package/lib/v2/sony/maintainer.js +1 -1
  607. package/lib/v2/sse/disclosure.js +4 -3
  608. package/lib/v2/sspu/jwc.js +44 -0
  609. package/lib/v2/sspu/maintainer.js +4 -0
  610. package/lib/v2/sspu/pe.js +65 -0
  611. package/lib/v2/sspu/radar.js +21 -0
  612. package/lib/v2/sspu/router.js +4 -0
  613. package/lib/v2/stratechery/radar.js +1 -1
  614. package/lib/v2/sysu/ygafz.js +1 -1
  615. package/lib/v2/tableau/maintainer.js +3 -0
  616. package/lib/v2/tableau/radar.js +11 -0
  617. package/lib/v2/tableau/router.js +3 -0
  618. package/lib/v2/tableau/viz-of-the-day.js +26 -0
  619. package/lib/v2/techcrunch/maintainer.js +1 -1
  620. package/lib/v2/techpowerup/maintainer.js +0 -1
  621. package/lib/v2/telegram/maintainer.js +3 -3
  622. package/lib/v2/tencent/maintainer.js +0 -1
  623. package/lib/v2/tencent/radar.js +0 -40
  624. package/lib/v2/tencent/router.js +0 -1
  625. package/lib/v2/tesla/cx.js +119 -0
  626. package/lib/v2/tesla/maintainer.js +1 -0
  627. package/lib/v2/tesla/radar.js +13 -1
  628. package/lib/v2/tesla/router.js +1 -0
  629. package/lib/v2/tesla/templates/description.art +140 -0
  630. package/lib/v2/test/index.js +46 -0
  631. package/lib/v2/tfc-taiwan/maintainer.js +0 -1
  632. package/lib/v2/theatlantic/maintainer.js +1 -1
  633. package/lib/v2/theblockbeats/index.js +53 -0
  634. package/lib/v2/theblockbeats/radar.js +19 -0
  635. package/lib/v2/theblockbeats/router.js +3 -0
  636. package/lib/v2/thenewslens/radar.js +0 -6
  637. package/lib/v2/thepaper/featured.js +1 -1
  638. package/lib/v2/thepaper/radar.js +2 -2
  639. package/lib/v2/thepaper/utils.js +18 -12
  640. package/lib/v2/thoughtco/index.js +95 -0
  641. package/lib/v2/thoughtco/maintainer.js +3 -0
  642. package/lib/v2/thoughtco/radar.js +155 -0
  643. package/lib/v2/thoughtco/router.js +3 -0
  644. package/lib/v2/thoughtco/templates/description.art +16 -0
  645. package/lib/v2/threads/index.js +20 -150
  646. package/lib/v2/threads/utils.js +147 -0
  647. package/lib/v2/tophub/list.js +40 -0
  648. package/lib/v2/tophub/maintainer.js +1 -0
  649. package/lib/v2/tophub/radar.js +6 -0
  650. package/lib/v2/tophub/router.js +1 -0
  651. package/lib/v2/tophub/templates/rank.art +22 -0
  652. package/lib/v2/twitch/live.js +88 -0
  653. package/lib/v2/twitch/maintainer.js +5 -0
  654. package/lib/v2/twitch/radar.js +37 -0
  655. package/lib/v2/twitch/router.js +5 -0
  656. package/lib/v2/twitch/schedule.js +75 -0
  657. package/lib/v2/twitch/video.js +64 -0
  658. package/lib/v2/twitter/keyword.js +1 -3
  659. package/lib/v2/twitter/media.js +1 -5
  660. package/lib/v2/twitter/user.js +1 -3
  661. package/lib/v2/twitter/utils.js +5 -3
  662. package/lib/v2/twitter/web-api/constants.js +80 -68
  663. package/lib/v2/twitter/web-api/twitter-api.js +96 -103
  664. package/lib/v2/twreporter/maintainer.js +0 -2
  665. package/lib/v2/twreporter/radar.js +0 -12
  666. package/lib/v2/twreporter/router.js +0 -2
  667. package/lib/v2/uchicago/current.js +2 -2
  668. package/lib/v2/udn/breaking-news.js +6 -2
  669. package/lib/v2/uniqlo/maintainer.js +3 -0
  670. package/lib/v2/uniqlo/new.js +62 -0
  671. package/lib/v2/uniqlo/radar.js +12 -0
  672. package/lib/v2/uniqlo/router.js +3 -0
  673. package/lib/v2/v1tx/maintainer.js +0 -1
  674. package/lib/v2/wechat/maintainer.js +1 -1
  675. package/lib/v2/weekendhk/maintainer.js +0 -1
  676. package/lib/v2/weibo/maintainer.js +1 -1
  677. package/lib/v2/weibo/oasis/user.js +4 -3
  678. package/lib/v2/weibo/radar.js +1 -1
  679. package/lib/v2/weibo/router.js +1 -1
  680. package/lib/v2/weibo/search/hot.js +118 -7
  681. package/lib/v2/weibo/search/template/digest.art +17 -0
  682. package/lib/v2/whu/hyxt.js +50 -0
  683. package/lib/v2/whu/maintainer.js +2 -1
  684. package/lib/v2/whu/news.js +48 -80
  685. package/lib/v2/whu/radar.js +252 -4
  686. package/lib/v2/whu/router.js +2 -1
  687. package/lib/v2/whu/templates/description.art +39 -0
  688. package/lib/v2/whu/util.js +148 -0
  689. package/lib/v2/worldjournal/index.js +1 -1
  690. package/lib/v2/woshipm/maintainer.js +0 -2
  691. package/lib/v2/woshipm/radar.js +0 -12
  692. package/lib/v2/woshipm/router.js +0 -2
  693. package/lib/v2/x-mol/maintainer.js +4 -0
  694. package/lib/v2/x-mol/news.js +63 -0
  695. package/lib/v2/x-mol/paper.js +73 -0
  696. package/lib/v2/x-mol/radar.js +25 -0
  697. package/lib/v2/x-mol/router.js +4 -0
  698. package/lib/v2/x-mol/templates/description.art +6 -0
  699. package/lib/v2/x-mol/utils.js +3 -0
  700. package/lib/v2/xiaohongshu/user.js +33 -9
  701. package/lib/v2/xiaohongshu/util.js +29 -23
  702. package/lib/v2/xmnn/docs.js +0 -0
  703. package/lib/v2/xmnn/maintainer.js +1 -0
  704. package/lib/v2/xmnn/news.js +65 -0
  705. package/lib/v2/xmnn/radar.js +67 -1
  706. package/lib/v2/xmnn/router.js +1 -0
  707. package/lib/v2/xsijishe/maintainer.js +1 -0
  708. package/lib/v2/xsijishe/radar.js +12 -0
  709. package/lib/v2/xsijishe/rank.js +60 -0
  710. package/lib/v2/xsijishe/router.js +1 -0
  711. package/lib/v2/yahoo/maintainer.js +2 -0
  712. package/lib/v2/yahoo/news/tw/index.js +24 -0
  713. package/lib/v2/yahoo/news/tw/provider-helper.js +22 -0
  714. package/lib/v2/yahoo/news/tw/provider.js +24 -0
  715. package/lib/v2/yahoo/news/tw/utils.js +129 -0
  716. package/lib/v2/yahoo/radar.js +29 -1
  717. package/lib/v2/yahoo/router.js +4 -1
  718. package/lib/v2/yahoo/templates/youtube.art +1 -0
  719. package/lib/v2/yomujp/level.js +101 -0
  720. package/lib/v2/yomujp/maintainer.js +3 -0
  721. package/lib/v2/yomujp/radar.js +13 -0
  722. package/lib/v2/yomujp/router.js +3 -0
  723. package/lib/v2/yuque/book.js +6 -1
  724. package/lib/v2/yuque/utils.js +17 -0
  725. package/lib/v2/zagg/maintainer.js +1 -1
  726. package/lib/v2/zcool/discover.js +3 -0
  727. package/lib/v2/zcool/maintainer.js +1 -1
  728. package/lib/v2/zhihu/maintainer.js +2 -0
  729. package/lib/v2/zhihu/radar.js +18 -0
  730. package/lib/v2/zhihu/router.js +2 -0
  731. package/lib/v2/zhihu/xhu/activities.js +112 -0
  732. package/lib/v2/zhihu/xhu/answers.js +31 -0
  733. package/lib/v2/zhubai/radar.js +2 -1
  734. package/lib/v2/zhubai/templates/description.art +41 -13
  735. package/lib/v2/zhubai/top20.js +31 -22
  736. package/lib/v2/zimuxia/index.js +64 -0
  737. package/lib/v2/zimuxia/maintainer.js +4 -0
  738. package/lib/v2/zimuxia/portfolio.js +52 -0
  739. package/lib/v2/zimuxia/radar.js +19 -0
  740. package/lib/v2/zimuxia/router.js +4 -0
  741. package/lib/v2/zjuvag/blog.js +33 -0
  742. package/lib/v2/zjuvag/maintainer.js +3 -0
  743. package/lib/v2/zjuvag/radar.js +11 -0
  744. package/lib/v2/zjuvag/router.js +3 -0
  745. package/lib/views/error.art +1 -1
  746. package/lib/views/rss.art +1 -1
  747. package/lib/views/rss3-ums.js +62 -0
  748. package/lib/views/welcome.art +1 -1
  749. package/package.json +77 -70
  750. package/lib/routes/1draw/index.js +0 -44
  751. package/lib/routes/3ycy/home.js +0 -58
  752. package/lib/routes/51voa/channel.js +0 -158
  753. package/lib/routes/8btc/author.js +0 -49
  754. package/lib/routes/8btc/news/flash.js +0 -41
  755. package/lib/routes/91ddcc/stage.js +0 -48
  756. package/lib/routes/91ddcc/user.js +0 -45
  757. package/lib/routes/93/index.js +0 -50
  758. package/lib/routes/abc/documentId.js +0 -7272
  759. package/lib/routes/abc/id.js +0 -7272
  760. package/lib/routes/abc/index.js +0 -74
  761. package/lib/routes/aliyun-kernel/index.js +0 -60
  762. package/lib/routes/allnow/column.js +0 -7
  763. package/lib/routes/allnow/index.js +0 -5
  764. package/lib/routes/allnow/tag.js +0 -7
  765. package/lib/routes/allnow/user.js +0 -7
  766. package/lib/routes/allnow/utils.js +0 -67
  767. package/lib/routes/alter-cn/news.js +0 -44
  768. package/lib/routes/amazon/ku.js +0 -57
  769. package/lib/routes/andyt/index.js +0 -36
  770. package/lib/routes/animen/news.js +0 -84
  771. package/lib/routes/anitama/channel.js +0 -64
  772. package/lib/routes/anki/changes.js +0 -39
  773. package/lib/routes/aom/journal.js +0 -107
  774. package/lib/routes/aptonic/action.js +0 -38
  775. package/lib/routes/asahi/area.js +0 -57
  776. package/lib/routes/atfd/index.js +0 -46
  777. package/lib/routes/babehub/index.js +0 -30
  778. package/lib/routes/babehub/search.js +0 -15
  779. package/lib/routes/babehub/utils.js +0 -71
  780. package/lib/routes/baidu/daily.js +0 -55
  781. package/lib/routes/baidu/doodles.js +0 -27
  782. package/lib/routes/bell-labs/events-news.js +0 -70
  783. package/lib/routes/bihu/activaties.js +0 -76
  784. package/lib/routes/bing/index.js +0 -26
  785. package/lib/routes/biobio/index.js +0 -40
  786. package/lib/routes/biobio/others.js +0 -45
  787. package/lib/routes/bioon/latest.js +0 -51
  788. package/lib/routes/bishijie/kuaixun.js +0 -21
  789. package/lib/routes/bjnews/epaper.js +0 -80
  790. package/lib/routes/blogs/diygod/animal-crossing.js +0 -39
  791. package/lib/routes/blogs/diygod/gk.js +0 -33
  792. package/lib/routes/blogs/jianning.js +0 -45
  793. package/lib/routes/blogs/paulgraham.js +0 -46
  794. package/lib/routes/bof/home.js +0 -42
  795. package/lib/routes/bookscomtw/newbooks.js +0 -37
  796. package/lib/routes/booksource/index.js +0 -22
  797. package/lib/routes/boston/index.js +0 -73
  798. package/lib/routes/buaq/index.js +0 -31
  799. package/lib/routes/cfd/gbp_div.js +0 -28
  800. package/lib/routes/cgtn/pick.js +0 -45
  801. package/lib/routes/cgtn/top.js +0 -45
  802. package/lib/routes/changku/index.js +0 -39
  803. package/lib/routes/chinadialogue/column.js +0 -58
  804. package/lib/routes/chinadialogue/topics.js +0 -55
  805. package/lib/routes/chinalaborwatch/reports.js +0 -53
  806. package/lib/routes/chinatimes/index.js +0 -115
  807. package/lib/routes/chuiniu/column.js +0 -89
  808. package/lib/routes/chuiniu/column_list.js +0 -36
  809. package/lib/routes/ciweimao/chapter.js +0 -34
  810. package/lib/routes/cktest/app.js +0 -34
  811. package/lib/routes/cktest/policy.js +0 -43
  812. package/lib/routes/cmes/news.js +0 -64
  813. package/lib/routes/codeceo/category.js +0 -51
  814. package/lib/routes/codeceo/home.js +0 -49
  815. package/lib/routes/commonapp/blog.js +0 -42
  816. package/lib/routes/coronavirus/caixin.js +0 -34
  817. package/lib/routes/coronavirus/dxy-data.js +0 -86
  818. package/lib/routes/coronavirus/dxy.js +0 -27
  819. package/lib/routes/coronavirus/mogov-2019ncov.js +0 -49
  820. package/lib/routes/coronavirus/nhc.js +0 -30
  821. package/lib/routes/coronavirus/scmp.js +0 -32
  822. package/lib/routes/coronavirus/sg-moh.js +0 -40
  823. package/lib/routes/coronavirus/yahoo-japan.js +0 -77
  824. package/lib/routes/cpta/notice.js +0 -41
  825. package/lib/routes/craigslist/search.js +0 -51
  826. package/lib/routes/cria/news.js +0 -57
  827. package/lib/routes/curseforge/files.js +0 -36
  828. package/lib/routes/curseforge/generalfiles.js +0 -42
  829. package/lib/routes/cve/search.js +0 -26
  830. package/lib/routes/d1bz/novel.js +0 -72
  831. package/lib/routes/d2/daily.js +0 -49
  832. package/lib/routes/dayone/blog.js +0 -56
  833. package/lib/routes/deeplearningai/thebatch.js +0 -29
  834. package/lib/routes/dengekionline/new.js +0 -133
  835. package/lib/routes/dhl/shipment-tracking.js +0 -56
  836. package/lib/routes/dianping/user.js +0 -98
  837. package/lib/routes/digic-pictures/index.js +0 -72
  838. package/lib/routes/dilbert/strip.js +0 -54
  839. package/lib/routes/dilidili/fanju.js +0 -78
  840. package/lib/routes/dockone/weekly.js +0 -60
  841. package/lib/routes/donews/index.js +0 -59
  842. package/lib/routes/donews/utils.js +0 -19
  843. package/lib/routes/dsb/area.js +0 -33
  844. package/lib/routes/dxy/vaccine.js +0 -109
  845. package/lib/routes/dysfz/index.js +0 -20
  846. package/lib/routes/egsea/flash.js +0 -40
  847. package/lib/routes/eleme/open-be/announce.js +0 -21
  848. package/lib/routes/elife/index.js +0 -67
  849. package/lib/routes/elitebabes/index.js +0 -30
  850. package/lib/routes/elitebabes/search.js +0 -15
  851. package/lib/routes/elitebabes/utils.js +0 -88
  852. package/lib/routes/elitebabes/videos.js +0 -26
  853. package/lib/routes/esquirehk/tag.js +0 -71
  854. package/lib/routes/facebook/page.js +0 -128
  855. package/lib/routes/feed-the-beast/modpack.js +0 -31
  856. package/lib/routes/feixuew/index.js +0 -63
  857. package/lib/routes/fir/update.js +0 -31
  858. package/lib/routes/firefox/addons.js +0 -33
  859. package/lib/routes/firefox/release.js +0 -30
  860. package/lib/routes/fitchratings/site.js +0 -33
  861. package/lib/routes/fjnews/fznews.js +0 -55
  862. package/lib/routes/fjnews/jjnews.js +0 -43
  863. package/lib/routes/fontstory/tw.js +0 -48
  864. package/lib/routes/fulinian/index.js +0 -50
  865. package/lib/routes/gab/explore.js +0 -31
  866. package/lib/routes/galgame/hhgal.js +0 -70
  867. package/lib/routes/galgame/sayhuahuo.js +0 -22
  868. package/lib/routes/galgame/zdfx.js +0 -30
  869. package/lib/routes/gamegrape/index.js +0 -73
  870. package/lib/routes/gaoqingla/latest.js +0 -37
  871. package/lib/routes/gbcc/trust.js +0 -28
  872. package/lib/routes/geektime/news.js +0 -54
  873. package/lib/routes/getitfree/category.js +0 -59
  874. package/lib/routes/getitfree/search.js +0 -25
  875. package/lib/routes/getitfree/utils.js +0 -47
  876. package/lib/routes/girlimg/album.js +0 -57
  877. package/lib/routes/gitchat/newest.js +0 -23
  878. package/lib/routes/gitea/blog.js +0 -70
  879. package/lib/routes/gov/moa/sjzxfb.js +0 -20
  880. package/lib/routes/gov/ndrc/xwdt.js +0 -54
  881. package/lib/routes/gracg/user.js +0 -65
  882. package/lib/routes/gradcafe/result.js +0 -37
  883. package/lib/routes/growincity/news.js +0 -49
  884. package/lib/routes/grubstreet/utils.js +0 -78
  885. package/lib/routes/guiltfree/onsale.js +0 -48
  886. package/lib/routes/gvm/index.js +0 -94
  887. package/lib/routes/haimaoba/comics.js +0 -57
  888. package/lib/routes/hentai-cosplays/hentai-cosplays.js +0 -11
  889. package/lib/routes/hkcd/pdf.js +0 -30
  890. package/lib/routes/hkcnews/news.js +0 -63
  891. package/lib/routes/hkgolden/index.js +0 -110
  892. package/lib/routes/hopper/index.js +0 -82
  893. package/lib/routes/hpoi/index.js +0 -47
  894. package/lib/routes/hpoi/user.js +0 -37
  895. package/lib/routes/huawei/xinsheng/index.js +0 -61
  896. package/lib/routes/hugo/releases.js +0 -53
  897. package/lib/routes/iea/index.js +0 -53
  898. package/lib/routes/iie/blog.js +0 -47
  899. package/lib/routes/imaijia/category.js +0 -63
  900. package/lib/routes/imuseum/index.js +0 -49
  901. package/lib/routes/instapaper/person.js +0 -28
  902. package/lib/routes/itjuzi/invest.js +0 -32
  903. package/lib/routes/itjuzi/merge.js +0 -32
  904. package/lib/routes/itslide/new.js +0 -40
  905. package/lib/routes/iyiou/index.js +0 -41
  906. package/lib/routes/iyouport/index.js +0 -35
  907. package/lib/routes/iyouport/utils.js +0 -22
  908. package/lib/routes/jdlingyu/index.js +0 -45
  909. package/lib/routes/jianshu/trending.js +0 -28
  910. package/lib/routes/jianshu/utils.js +0 -66
  911. package/lib/routes/jiazhen108/index.js +0 -47
  912. package/lib/routes/jijitang/article.js +0 -19
  913. package/lib/routes/jijitang/publication.js +0 -18
  914. package/lib/routes/jingdong/zhongchou.js +0 -78
  915. package/lib/routes/jinritoutiao/keyword.js +0 -27
  916. package/lib/routes/jskou/index.js +0 -21
  917. package/lib/routes/juesheng/index.js +0 -49
  918. package/lib/routes/justrun/index.js +0 -44
  919. package/lib/routes/kaggle/competitions.js +0 -51
  920. package/lib/routes/kaggle/discussion.js +0 -72
  921. package/lib/routes/kaggle/user.js +0 -19
  922. package/lib/routes/kirara/news.js +0 -30
  923. package/lib/routes/konami/pesmobile.js +0 -31
  924. package/lib/routes/krankenkassen/index.js +0 -54
  925. package/lib/routes/ku/index.js +0 -31
  926. package/lib/routes/kzfeed/topic.js +0 -122
  927. package/lib/routes/leboncoin/ad.js +0 -136
  928. package/lib/routes/leetcode/check-cn.js +0 -98
  929. package/lib/routes/leetcode/check-us.js +0 -32
  930. package/lib/routes/leetcode/utils.js +0 -54
  931. package/lib/routes/liequtv/room.js +0 -36
  932. package/lib/routes/lingyi/index.js +0 -64
  933. package/lib/routes/linkedkeeper/index.js +0 -37
  934. package/lib/routes/liquipedia/dota2_matches.js +0 -50
  935. package/lib/routes/liwushuo/index.js +0 -28
  936. package/lib/routes/loveheaven/update.js +0 -45
  937. package/lib/routes/lowendtalk/discussion.js +0 -43
  938. package/lib/routes/macau-bolsas/index.js +0 -47
  939. package/lib/routes/macked/app.js +0 -25
  940. package/lib/routes/macwk/soft.js +0 -32
  941. package/lib/routes/makeuseof/index.js +0 -59
  942. package/lib/routes/manhuadui/manhua.js +0 -36
  943. package/lib/routes/manong-weekly/issues.js +0 -33
  944. package/lib/routes/matataki/site/posts/author.js +0 -17
  945. package/lib/routes/matataki/site/posts/favorite.js +0 -42
  946. package/lib/routes/matataki/site/posts/scoreranking.js +0 -15
  947. package/lib/routes/matataki/site/posts/tag.js +0 -16
  948. package/lib/routes/matataki/site/posts/timeranking.js +0 -15
  949. package/lib/routes/matataki/site/posts/token.js +0 -18
  950. package/lib/routes/matataki/utils/matataki-utils.js +0 -125
  951. package/lib/routes/maxnews/dota2.js +0 -45
  952. package/lib/routes/meituan/tech/home.js +0 -45
  953. package/lib/routes/mercari/index.js +0 -67
  954. package/lib/routes/metred/fuli.js +0 -42
  955. package/lib/routes/mi/board.js +0 -36
  956. package/lib/routes/mind42/index.js +0 -7
  957. package/lib/routes/mind42/search.js +0 -5
  958. package/lib/routes/mind42/tag.js +0 -5
  959. package/lib/routes/mind42/utils.js +0 -47
  960. package/lib/routes/mingjian/index.js +0 -46
  961. package/lib/routes/miniapp/article.js +0 -57
  962. package/lib/routes/miniapp/store/newest.js +0 -36
  963. package/lib/routes/mitbbs/index.js +0 -54
  964. package/lib/routes/mitre/publications.js +0 -27
  965. package/lib/routes/mittrchina/index.js +0 -45
  966. package/lib/routes/mlhang/latest.js +0 -23
  967. package/lib/routes/mlog-club/projects.js +0 -33
  968. package/lib/routes/mlog-club/topics.js +0 -37
  969. package/lib/routes/mobdata/report.js +0 -30
  970. package/lib/routes/moxingnet/index.js +0 -61
  971. package/lib/routes/mp4ba/index.js +0 -133
  972. package/lib/routes/mqube/latest.js +0 -21
  973. package/lib/routes/mqube/tag.js +0 -23
  974. package/lib/routes/mqube/top.js +0 -21
  975. package/lib/routes/mqube/user.js +0 -25
  976. package/lib/routes/mzitu/category.js +0 -26
  977. package/lib/routes/mzitu/home.js +0 -32
  978. package/lib/routes/mzitu/post.js +0 -41
  979. package/lib/routes/mzitu/tag.js +0 -25
  980. package/lib/routes/mzitu/tags.js +0 -23
  981. package/lib/routes/mzitu/util.js +0 -51
  982. package/lib/routes/namoc/announcement.js +0 -64
  983. package/lib/routes/namoc/exhibition.js +0 -67
  984. package/lib/routes/namoc/media.js +0 -67
  985. package/lib/routes/namoc/news.js +0 -67
  986. package/lib/routes/namoc/specials.js +0 -42
  987. package/lib/routes/nba/app_news.js +0 -40
  988. package/lib/routes/network360/jobs.js +0 -24
  989. package/lib/routes/newsmth/account.js +0 -39
  990. package/lib/routes/newsmth/section.js +0 -99
  991. package/lib/routes/nfmovies/index.js +0 -58
  992. package/lib/routes/ningmeng/song.js +0 -77
  993. package/lib/routes/northhouse/index.js +0 -54
  994. package/lib/routes/novel/axdzs.js +0 -67
  995. package/lib/routes/novel/booksky.js +0 -44
  996. package/lib/routes/novel/dcrsw.js +0 -58
  997. package/lib/routes/novel/ptwxz.js +0 -76
  998. package/lib/routes/novel/wenxuemi.js +0 -63
  999. package/lib/routes/novel/zhaishuyuan.js +0 -84
  1000. package/lib/routes/npc/index.js +0 -42
  1001. package/lib/routes/obsidian/announcements.js +0 -22
  1002. package/lib/routes/or/index.js +0 -54
  1003. package/lib/routes/ow/patch.js +0 -23
  1004. package/lib/routes/partnershiponai/resources.js +0 -49
  1005. package/lib/routes/pgyer/app.js +0 -91
  1006. package/lib/routes/piaohua/hot.js +0 -37
  1007. package/lib/routes/pintu360/index.js +0 -54
  1008. package/lib/routes/plainlaw/archives.js +0 -42
  1009. package/lib/routes/pmcaff/user.js +0 -56
  1010. package/lib/routes/pocket/trending.js +0 -31
  1011. package/lib/routes/polar/blog.js +0 -47
  1012. package/lib/routes/popiask/questions.js +0 -41
  1013. package/lib/routes/popiask/tapechat_questions.js +0 -43
  1014. package/lib/routes/popyard/index.js +0 -93
  1015. package/lib/routes/processon/popular.js +0 -51
  1016. package/lib/routes/putonghua/hangzhou.js +0 -45
  1017. package/lib/routes/qlwb/city.js +0 -54
  1018. package/lib/routes/qlwb/news.js +0 -37
  1019. package/lib/routes/qtfyfl/category.js +0 -91
  1020. package/lib/routes/questmobile/report.js +0 -121
  1021. package/lib/routes/rs05/rs05.js +0 -35
  1022. package/lib/routes/s-hentai/index.js +0 -64
  1023. package/lib/routes/sagawa/index.js +0 -67
  1024. package/lib/routes/sankakucomplex/post.js +0 -50
  1025. package/lib/routes/sans/summit_archive.js +0 -24
  1026. package/lib/routes/sbs/chinese.js +0 -70
  1027. package/lib/routes/scala-blog/scala-blog.js +0 -29
  1028. package/lib/routes/sckjt/news.js +0 -35
  1029. package/lib/routes/scoresaber/user.js +0 -44
  1030. package/lib/routes/sf/sffq-announce.js +0 -22
  1031. package/lib/routes/shengwugu/index.js +0 -41
  1032. package/lib/routes/shinybbs/index.js +0 -60
  1033. package/lib/routes/shinybbs/latest.js +0 -57
  1034. package/lib/routes/shinybbs/p.js +0 -38
  1035. package/lib/routes/showroom/room.js +0 -31
  1036. package/lib/routes/shuax/project.js +0 -37
  1037. package/lib/routes/shuhui/comics.js +0 -95
  1038. package/lib/routes/sixthtone/news.js +0 -52
  1039. package/lib/routes/socialbeta/hunt.js +0 -29
  1040. package/lib/routes/soomal/topics.js +0 -130
  1041. package/lib/routes/stork/keyword.js +0 -58
  1042. package/lib/routes/tahui/rptlist.js +0 -48
  1043. package/lib/routes/tam/forecast.js +0 -53
  1044. package/lib/routes/tanwu/products.js +0 -27
  1045. package/lib/routes/tencent/bigdata/index.js +0 -53
  1046. package/lib/routes/tencent/bugly/changelog.js +0 -49
  1047. package/lib/routes/tencent/egame/room.js +0 -52
  1048. package/lib/routes/tencent/gameinstitute/community.js +0 -60
  1049. package/lib/routes/tencent/guyu/channel.js +0 -64
  1050. package/lib/routes/tencent/video/playlist.js +0 -46
  1051. package/lib/routes/tencent/wechat/miniprogram/plugins.js +0 -54
  1052. package/lib/routes/thrillist/index.js +0 -67
  1053. package/lib/routes/tianya/comments.js +0 -41
  1054. package/lib/routes/tianya/index.js +0 -32
  1055. package/lib/routes/tianya/user.js +0 -34
  1056. package/lib/routes/tssstatus/index.js +0 -35
  1057. package/lib/routes/tuicool/mags.js +0 -41
  1058. package/lib/routes/uisdc/news.js +0 -34
  1059. package/lib/routes/uisdc/talk.js +0 -58
  1060. package/lib/routes/uisdc/topic.js +0 -55
  1061. package/lib/routes/uisdc/zt.js +0 -65
  1062. package/lib/routes/uniqlo/stylingbook.js +0 -24
  1063. package/lib/routes/universities/buaa/news/index.js +0 -66
  1064. package/lib/routes/universities/buaa/utils.js +0 -57
  1065. package/lib/routes/universities/harvard/health/blog.js +0 -51
  1066. package/lib/routes/vgtime/keyword.js +0 -46
  1067. package/lib/routes/vgtime/news.js +0 -52
  1068. package/lib/routes/vgtime/release.js +0 -20
  1069. package/lib/routes/voa/day-photos.js +0 -54
  1070. package/lib/routes/vuevideo/user.js +0 -60
  1071. package/lib/routes/wanwansub/index.js +0 -57
  1072. package/lib/routes/wanwansub/info.js +0 -44
  1073. package/lib/routes/weforum/report.js +0 -56
  1074. package/lib/routes/weseepro/circle.js +0 -38
  1075. package/lib/routes/weseepro/newest-direct.js +0 -69
  1076. package/lib/routes/weseepro/newest.js +0 -69
  1077. package/lib/routes/westore/new.js +0 -40
  1078. package/lib/routes/whalegogo/home.js +0 -43
  1079. package/lib/routes/whalegogo/portal.js +0 -57
  1080. package/lib/routes/wikihow/category.js +0 -34
  1081. package/lib/routes/wikihow/index.js +0 -32
  1082. package/lib/routes/wineyun/index.js +0 -36
  1083. package/lib/routes/wired/tag.js +0 -31
  1084. package/lib/routes/wolley/host.js +0 -39
  1085. package/lib/routes/wolley/index.js +0 -47
  1086. package/lib/routes/wolley/user.js +0 -38
  1087. package/lib/routes/wukong/user.js +0 -93
  1088. package/lib/routes/x-mol/news.js +0 -48
  1089. package/lib/routes/x-mol/paper.js +0 -78
  1090. package/lib/routes/x-mol/utils.js +0 -16
  1091. package/lib/routes/xici/index.js +0 -33
  1092. package/lib/routes/xinquji/internal.js +0 -15
  1093. package/lib/routes/xinquji/today.js +0 -15
  1094. package/lib/routes/xposed/module.js +0 -36
  1095. package/lib/routes/yahoo-jp-tv/index.js +0 -21
  1096. package/lib/routes/yicas/blog.js +0 -52
  1097. package/lib/routes/yidoutang/index.js +0 -33
  1098. package/lib/routes/zcfy/hot.js +0 -34
  1099. package/lib/routes/zcfy/index.js +0 -34
  1100. package/lib/routes/zfrontier/board_postlist.js +0 -36
  1101. package/lib/routes/zfrontier/postlist.js +0 -33
  1102. package/lib/routes/zhanqi/room.js +0 -37
  1103. package/lib/routes/zhilian/index.js +0 -78
  1104. package/lib/routes/zhutix/latest.js +0 -41
  1105. package/lib/routes/zimuxia/index.js +0 -56
  1106. package/lib/routes/zimuxia/portfolio.js +0 -39
  1107. package/lib/routes/zimuzu/resource.js +0 -19
  1108. package/lib/routes/zimuzu/top.js +0 -27
  1109. package/lib/routes/ziroom/room.js +0 -55
  1110. package/lib/routes/zzz/index.js +0 -59
  1111. package/lib/v2/2047/index.js +0 -55
  1112. package/lib/v2/2047/maintainer.js +0 -3
  1113. package/lib/v2/2047/radar.js +0 -13
  1114. package/lib/v2/2047/router.js +0 -3
  1115. package/lib/v2/35photo/actual.js +0 -7
  1116. package/lib/v2/35photo/author.js +0 -9
  1117. package/lib/v2/35photo/genre.js +0 -10
  1118. package/lib/v2/35photo/interesting.js +0 -7
  1119. package/lib/v2/35photo/maintainer.js +0 -8
  1120. package/lib/v2/35photo/map.js +0 -7
  1121. package/lib/v2/35photo/new.js +0 -7
  1122. package/lib/v2/35photo/radar.js +0 -43
  1123. package/lib/v2/35photo/router.js +0 -8
  1124. package/lib/v2/35photo/utils.js +0 -57
  1125. package/lib/v2/agirls/topic.js +0 -44
  1126. package/lib/v2/aliyundrive/files.js +0 -59
  1127. package/lib/v2/aliyundrive/maintainer.js +0 -3
  1128. package/lib/v2/aliyundrive/radar.js +0 -13
  1129. package/lib/v2/aliyundrive/router.js +0 -3
  1130. package/lib/v2/allrecode/index.js +0 -65
  1131. package/lib/v2/allrecode/maintainer.js +0 -5
  1132. package/lib/v2/allrecode/news.js +0 -35
  1133. package/lib/v2/allrecode/radar.js +0 -25
  1134. package/lib/v2/allrecode/router.js +0 -4
  1135. package/lib/v2/appledaily/index.js +0 -65
  1136. package/lib/v2/appledaily/maintainer.js +0 -3
  1137. package/lib/v2/appledaily/radar.js +0 -157
  1138. package/lib/v2/appledaily/router.js +0 -3
  1139. package/lib/v2/appstore/gofans.js +0 -34
  1140. package/lib/v2/ash-maurya/index.js +0 -54
  1141. package/lib/v2/ash-maurya/maintainer.js +0 -3
  1142. package/lib/v2/ash-maurya/radar.js +0 -13
  1143. package/lib/v2/ash-maurya/router.js +0 -3
  1144. package/lib/v2/audiobar/latest.js +0 -53
  1145. package/lib/v2/audiobar/maintainer.js +0 -3
  1146. package/lib/v2/audiobar/radar.js +0 -13
  1147. package/lib/v2/audiobar/router.js +0 -3
  1148. package/lib/v2/baijing/index.js +0 -54
  1149. package/lib/v2/baijing/maintainer.js +0 -3
  1150. package/lib/v2/baijing/radar.js +0 -22
  1151. package/lib/v2/baijing/router.js +0 -3
  1152. package/lib/v2/bilibili/blackboard.js +0 -31
  1153. package/lib/v2/bilibili/channel.js +0 -31
  1154. package/lib/v2/bilibili/online.js +0 -25
  1155. package/lib/v2/bilibili/topic.js +0 -50
  1156. package/lib/v2/blockbeats/index.js +0 -43
  1157. package/lib/v2/blockbeats/radar.js +0 -19
  1158. package/lib/v2/blockbeats/router.js +0 -3
  1159. package/lib/v2/cctv/special.js +0 -110
  1160. package/lib/v2/chinacef/experts.js +0 -38
  1161. package/lib/v2/chinacef/hot.js +0 -38
  1162. package/lib/v2/chinacef/index.js +0 -39
  1163. package/lib/v2/chinacef/maintainer.js +0 -5
  1164. package/lib/v2/chinacef/radar.js +0 -25
  1165. package/lib/v2/chinacef/router.js +0 -5
  1166. package/lib/v2/chinacef/templates/description.art +0 -1
  1167. package/lib/v2/chinacef/utils.js +0 -55
  1168. package/lib/v2/chinafactcheck/templates/description.art +0 -1
  1169. package/lib/v2/clash/maintainer.js +0 -3
  1170. package/lib/v2/clash/premium.js +0 -23
  1171. package/lib/v2/clash/radar.js +0 -13
  1172. package/lib/v2/clash/router.js +0 -3
  1173. package/lib/v2/cntheory/maintainer.js +0 -3
  1174. package/lib/v2/cntheory/paper.js +0 -89
  1175. package/lib/v2/cntheory/radar.js +0 -13
  1176. package/lib/v2/cntheory/router.js +0 -3
  1177. package/lib/v2/cntheory/templates/description.art +0 -2
  1178. package/lib/v2/csc/maintainer.js +0 -3
  1179. package/lib/v2/csc/notice.js +0 -99
  1180. package/lib/v2/csc/radar.js +0 -31
  1181. package/lib/v2/csc/router.js +0 -3
  1182. package/lib/v2/cscse/maintainer.js +0 -3
  1183. package/lib/v2/cscse/radar.js +0 -13
  1184. package/lib/v2/cscse/router.js +0 -3
  1185. package/lib/v2/cscse/tzgg.js +0 -54
  1186. package/lib/v2/dbmv/index.js +0 -64
  1187. package/lib/v2/dbmv/maintainer.js +0 -3
  1188. package/lib/v2/dbmv/radar.js +0 -13
  1189. package/lib/v2/diandong/ddh.js +0 -51
  1190. package/lib/v2/disinformationindex/blog.js +0 -48
  1191. package/lib/v2/disinformationindex/maintainer.js +0 -4
  1192. package/lib/v2/disinformationindex/radar.js +0 -19
  1193. package/lib/v2/disinformationindex/research.js +0 -45
  1194. package/lib/v2/disinformationindex/router.js +0 -4
  1195. package/lib/v2/disinformationindex/templates/description.art +0 -7
  1196. package/lib/v2/eastday/find.js +0 -49
  1197. package/lib/v2/economist/download.js +0 -30
  1198. package/lib/v2/economist/gre-vocabulary.js +0 -19
  1199. package/lib/v2/eet-china/maintainer.js +0 -4
  1200. package/lib/v2/eet-china/mp/index.js +0 -10
  1201. package/lib/v2/eet-china/mp/tags.js +0 -10
  1202. package/lib/v2/eet-china/mp/util.js +0 -67
  1203. package/lib/v2/eet-china/radar.js +0 -24
  1204. package/lib/v2/eet-china/router.js +0 -4
  1205. package/lib/v2/ems/apple.js +0 -42
  1206. package/lib/v2/ems/maintainer.js +0 -4
  1207. package/lib/v2/ems/news.js +0 -21
  1208. package/lib/v2/ems/radar.js +0 -19
  1209. package/lib/v2/ems/router.js +0 -4
  1210. package/lib/v2/ems/templates/apple.art +0 -6
  1211. package/lib/v2/ezone/index.js +0 -70
  1212. package/lib/v2/ezone/radar.js +0 -13
  1213. package/lib/v2/ezone/router.js +0 -3
  1214. package/lib/v2/filmdeepfocus/index.js +0 -58
  1215. package/lib/v2/filmdeepfocus/radar.js +0 -13
  1216. package/lib/v2/filmdeepfocus/router.js +0 -3
  1217. package/lib/v2/firefox/index.js +0 -74
  1218. package/lib/v2/ft/myft.js +0 -51
  1219. package/lib/v2/gaze/maintainer.js +0 -3
  1220. package/lib/v2/gaze/radar.js +0 -13
  1221. package/lib/v2/gaze/router.js +0 -3
  1222. package/lib/v2/gaze/templates/update.art +0 -4
  1223. package/lib/v2/gaze/update.js +0 -27
  1224. package/lib/v2/gocn/util.js +0 -17
  1225. package/lib/v2/good/index.js +0 -53
  1226. package/lib/v2/good/maintainer.js +0 -3
  1227. package/lib/v2/good/radar.js +0 -13
  1228. package/lib/v2/good/router.js +0 -3
  1229. package/lib/v2/google/sites.js +0 -75
  1230. package/lib/v2/google/sitesRecentChanges.js +0 -51
  1231. package/lib/v2/gov/zhengce/zuixin.js +0 -39
  1232. package/lib/v2/gq/maintainer.js +0 -3
  1233. package/lib/v2/gq/radar.js +0 -13
  1234. package/lib/v2/gq/router.js +0 -3
  1235. package/lib/v2/gq/templates/embed-article.art +0 -1
  1236. package/lib/v2/gq/templates/embed-product.art +0 -4
  1237. package/lib/v2/gq/templates/img.art +0 -6
  1238. package/lib/v2/gq/templates/tw.art +0 -3
  1239. package/lib/v2/gq/templates/videoObject.art +0 -6
  1240. package/lib/v2/gq/templates/youtube.art +0 -3
  1241. package/lib/v2/gq/tw/index.js +0 -165
  1242. package/lib/v2/guandian/index.js +0 -37
  1243. package/lib/v2/guandian/maintainer.js +0 -3
  1244. package/lib/v2/guandian/radar.js +0 -13
  1245. package/lib/v2/guandian/router.js +0 -3
  1246. package/lib/v2/guggenheim/exhibitions.js +0 -29
  1247. package/lib/v2/guggenheim/maintainer.js +0 -3
  1248. package/lib/v2/guggenheim/radar.js +0 -11
  1249. package/lib/v2/guggenheim/router.js +0 -3
  1250. package/lib/v2/gz-cmc/index.js +0 -137
  1251. package/lib/v2/gz-cmc/maintainer.js +0 -3
  1252. package/lib/v2/gz-cmc/radar.js +0 -12
  1253. package/lib/v2/gz-cmc/router.js +0 -3
  1254. package/lib/v2/gz-cmc/templates/description.art +0 -3
  1255. package/lib/v2/gzh360/_README +0 -1
  1256. package/lib/v2/gzh360/category.js +0 -8
  1257. package/lib/v2/gzh360/gzh.js +0 -18
  1258. package/lib/v2/gzh360/maintainer.js +0 -4
  1259. package/lib/v2/gzh360/radar.js +0 -19
  1260. package/lib/v2/gzh360/router.js +0 -4
  1261. package/lib/v2/gzh360/universal.js +0 -53
  1262. package/lib/v2/gzh360/utils.js +0 -62
  1263. package/lib/v2/hellobtc/topic.js +0 -43
  1264. package/lib/v2/hjedd/article.js +0 -27
  1265. package/lib/v2/hjedd/hot.js +0 -14
  1266. package/lib/v2/hjedd/latest.js +0 -14
  1267. package/lib/v2/hjedd/maintainer.js +0 -10
  1268. package/lib/v2/hjedd/news.js +0 -14
  1269. package/lib/v2/hjedd/notice.js +0 -14
  1270. package/lib/v2/hjedd/original.js +0 -14
  1271. package/lib/v2/hjedd/radar.js +0 -55
  1272. package/lib/v2/hjedd/router.js +0 -10
  1273. package/lib/v2/hjedd/templates/attachment.art +0 -7
  1274. package/lib/v2/hjedd/top.js +0 -14
  1275. package/lib/v2/hjedd/utils.js +0 -111
  1276. package/lib/v2/hket/index.js +0 -122
  1277. package/lib/v2/hket/radar.js +0 -45
  1278. package/lib/v2/hket/router.js +0 -3
  1279. package/lib/v2/hket/templates/description.art +0 -1
  1280. package/lib/v2/hket/templates/image.art +0 -1
  1281. package/lib/v2/hotchina/index.js +0 -55
  1282. package/lib/v2/hotchina/maintainer.js +0 -5
  1283. package/lib/v2/hotchina/radar.js +0 -25
  1284. package/lib/v2/hotchina/router.js +0 -3
  1285. package/lib/v2/huangz/index.js +0 -29
  1286. package/lib/v2/huangz/maintainer.js +0 -3
  1287. package/lib/v2/huangz/radar.js +0 -13
  1288. package/lib/v2/huangz/router.js +0 -3
  1289. package/lib/v2/huxiu/article.js +0 -33
  1290. package/lib/v2/huxiu/author.js +0 -36
  1291. package/lib/v2/huxiu/templates/brief.art +0 -22
  1292. package/lib/v2/huxiu/templates/img.art +0 -3
  1293. package/lib/v2/huxiu/templates/moment.art +0 -16
  1294. package/lib/v2/huxiu/templates/video.art +0 -7
  1295. package/lib/v2/huxiu/utils.js +0 -154
  1296. package/lib/v2/hyqss/index.js +0 -89
  1297. package/lib/v2/hyqss/maintainer.js +0 -4
  1298. package/lib/v2/hyqss/radar.js +0 -22
  1299. package/lib/v2/hyqss/router.js +0 -3
  1300. package/lib/v2/i-cable/category.js +0 -74
  1301. package/lib/v2/i-cable/maintainer.js +0 -3
  1302. package/lib/v2/i-cable/radar.js +0 -13
  1303. package/lib/v2/i-cable/router.js +0 -3
  1304. package/lib/v2/i-cable/templates/desc.art +0 -8
  1305. package/lib/v2/ibc/maintainer.js +0 -4
  1306. package/lib/v2/ibc/maitta.js +0 -32
  1307. package/lib/v2/ibc/radar.js +0 -19
  1308. package/lib/v2/ibc/radio.js +0 -73
  1309. package/lib/v2/ibc/router.js +0 -4
  1310. package/lib/v2/ibc/templates/description.art +0 -6
  1311. package/lib/v2/independent/maintainer.js +0 -3
  1312. package/lib/v2/independent/ps5-stock-uk.js +0 -27
  1313. package/lib/v2/independent/radar.js +0 -13
  1314. package/lib/v2/independent/router.js +0 -3
  1315. package/lib/v2/islander/maintainer.js +0 -4
  1316. package/lib/v2/islander/radar.js +0 -19
  1317. package/lib/v2/islander/router.js +0 -4
  1318. package/lib/v2/islander/search.js +0 -33
  1319. package/lib/v2/islander/top30event.js +0 -28
  1320. package/lib/v2/jiaoliudao/index.js +0 -35
  1321. package/lib/v2/jiaoliudao/radar.js +0 -13
  1322. package/lib/v2/jiemian/list.js +0 -60
  1323. package/lib/v2/juejin/news.js +0 -25
  1324. package/lib/v2/juejin/shares.js +0 -26
  1325. package/lib/v2/kakuyomu/episode.js +0 -54
  1326. package/lib/v2/kakuyomu/maintainer.js +0 -3
  1327. package/lib/v2/kakuyomu/radar.js +0 -13
  1328. package/lib/v2/kakuyomu/router.js +0 -1
  1329. package/lib/v2/knowmedia/index.js +0 -38
  1330. package/lib/v2/knowmedia/maintainer.js +0 -3
  1331. package/lib/v2/knowmedia/radar.js +0 -31
  1332. package/lib/v2/knowmedia/router.js +0 -3
  1333. package/lib/v2/knowmedia/templates/desc.art +0 -3
  1334. package/lib/v2/kuwaitlocal/index.js +0 -47
  1335. package/lib/v2/kuwaitlocal/maintainer.js +0 -4
  1336. package/lib/v2/kuwaitlocal/radar.js +0 -19
  1337. package/lib/v2/kuwaitlocal/router.js +0 -3
  1338. package/lib/v2/lativ/index.js +0 -42
  1339. package/lib/v2/lativ/maintainer.js +0 -3
  1340. package/lib/v2/lativ/radar.js +0 -13
  1341. package/lib/v2/lativ/router.js +0 -3
  1342. package/lib/v2/lativ/templates/detail.art +0 -9
  1343. package/lib/v2/layer3/maintainer.js +0 -3
  1344. package/lib/v2/layer3/quests.js +0 -37
  1345. package/lib/v2/layer3/radar.js +0 -13
  1346. package/lib/v2/layer3/router.js +0 -3
  1347. package/lib/v2/layer3/templates/description.art +0 -24
  1348. package/lib/v2/lever/index.js +0 -28
  1349. package/lib/v2/lever/maintainer.js +0 -3
  1350. package/lib/v2/lever/radar.js +0 -13
  1351. package/lib/v2/lever/router.js +0 -3
  1352. package/lib/v2/lianxh/index.js +0 -61
  1353. package/lib/v2/lianxh/radar.js +0 -13
  1354. package/lib/v2/lianxh/router.js +0 -3
  1355. package/lib/v2/mcachicago/exhibitions.js +0 -17
  1356. package/lib/v2/mcachicago/maintainer.js +0 -3
  1357. package/lib/v2/mcachicago/radar.js +0 -11
  1358. package/lib/v2/mcachicago/router.js +0 -3
  1359. package/lib/v2/mclaren/index.js +0 -96
  1360. package/lib/v2/mclaren/maintainer.js +0 -3
  1361. package/lib/v2/mclaren/radar.js +0 -29
  1362. package/lib/v2/mclaren/router.js +0 -3
  1363. package/lib/v2/mclaren/templates/desc.art +0 -6
  1364. package/lib/v2/meituclub/latest.js +0 -41
  1365. package/lib/v2/meituclub/maintainer.js +0 -3
  1366. package/lib/v2/meituclub/radar.js +0 -13
  1367. package/lib/v2/meituclub/router.js +0 -3
  1368. package/lib/v2/meituclub/templates/description.art +0 -1
  1369. package/lib/v2/miris/blog.js +0 -19
  1370. package/lib/v2/miris/maintainer.js +0 -3
  1371. package/lib/v2/miris/radar.js +0 -11
  1372. package/lib/v2/miris/router.js +0 -3
  1373. package/lib/v2/mobilism/forums.js +0 -75
  1374. package/lib/v2/mobilism/maintainer.js +0 -4
  1375. package/lib/v2/mobilism/portal.js +0 -54
  1376. package/lib/v2/mobilism/radar.js +0 -23
  1377. package/lib/v2/mobilism/router.js +0 -4
  1378. package/lib/v2/mtime/maintainer.js +0 -3
  1379. package/lib/v2/mtime/news.js +0 -52
  1380. package/lib/v2/mtime/radar.js +0 -13
  1381. package/lib/v2/mtime/router.js +0 -3
  1382. package/lib/v2/nbd/article.js +0 -50
  1383. package/lib/v2/nmbxd1/forum.js +0 -58
  1384. package/lib/v2/nmbxd1/maintainer.js +0 -3
  1385. package/lib/v2/nmbxd1/radar.js +0 -13
  1386. package/lib/v2/nmbxd1/router.js +0 -3
  1387. package/lib/v2/nmbxd1/templates/description.art +0 -65
  1388. package/lib/v2/nytimes/author.js +0 -43
  1389. package/lib/v2/pmthinking/index.js +0 -61
  1390. package/lib/v2/pmthinking/maintainer.js +0 -3
  1391. package/lib/v2/pmthinking/radar.js +0 -13
  1392. package/lib/v2/pmthinking/router.js +0 -3
  1393. package/lib/v2/pmthinking/templates/description.art +0 -4
  1394. package/lib/v2/polkadot/home.js +0 -34
  1395. package/lib/v2/polkadot/maintainer.js +0 -3
  1396. package/lib/v2/polkadot/radar.js +0 -13
  1397. package/lib/v2/polkadot/router.js +0 -3
  1398. package/lib/v2/polkaworld/home.js +0 -24
  1399. package/lib/v2/polkaworld/maintainer.js +0 -3
  1400. package/lib/v2/polkaworld/radar.js +0 -13
  1401. package/lib/v2/polkaworld/router.js +0 -3
  1402. package/lib/v2/prestige-av/maintainer.js +0 -3
  1403. package/lib/v2/prestige-av/radar.js +0 -18
  1404. package/lib/v2/prestige-av/router.js +0 -3
  1405. package/lib/v2/prestige-av/series.js +0 -42
  1406. package/lib/v2/qdaily/index.js +0 -87
  1407. package/lib/v2/qdaily/maintainer.js +0 -3
  1408. package/lib/v2/qdaily/radar.js +0 -25
  1409. package/lib/v2/qdaily/router.js +0 -3
  1410. package/lib/v2/qdaily/templates/article.art +0 -5
  1411. package/lib/v2/qianp/maintainer.js +0 -3
  1412. package/lib/v2/qianp/news.js +0 -48
  1413. package/lib/v2/qianp/radar.js +0 -13
  1414. package/lib/v2/qianp/router.js +0 -3
  1415. package/lib/v2/qidiantu/index.js +0 -87
  1416. package/lib/v2/qidiantu/maintainer.js +0 -4
  1417. package/lib/v2/qidiantu/radar.js +0 -19
  1418. package/lib/v2/qidiantu/router.js +0 -3
  1419. package/lib/v2/qq/live.js +0 -36
  1420. package/lib/v2/radiofrance/geopolitique.js +0 -33
  1421. package/lib/v2/radiofrance/maintainer.js +0 -3
  1422. package/lib/v2/radiofrance/radar.js +0 -13
  1423. package/lib/v2/radiofrance/router.js +0 -3
  1424. package/lib/v2/radiofrance/templates/article.art +0 -6
  1425. package/lib/v2/reuters/migration_prompt.js +0 -3
  1426. package/lib/v2/rsshub/sponsors.js +0 -47
  1427. package/lib/v2/secnews/index.js +0 -27
  1428. package/lib/v2/secnews/maintainer.js +0 -3
  1429. package/lib/v2/secnews/radar.js +0 -13
  1430. package/lib/v2/secnews/router.js +0 -3
  1431. package/lib/v2/shuiguopai/index.js +0 -80
  1432. package/lib/v2/shuiguopai/maintainer.js +0 -3
  1433. package/lib/v2/shuiguopai/radar.js +0 -13
  1434. package/lib/v2/shuiguopai/router.js +0 -3
  1435. package/lib/v2/shuiguopai/templates/description.art +0 -8
  1436. package/lib/v2/taiwannews/hot.js +0 -52
  1437. package/lib/v2/taiwannews/maintainer.js +0 -3
  1438. package/lib/v2/taiwannews/radar.js +0 -13
  1439. package/lib/v2/taiwannews/router.js +0 -3
  1440. package/lib/v2/tencent/cloud/column.js +0 -51
  1441. package/lib/v2/twitter/web-api/twitter-got.js +0 -113
  1442. package/lib/v2/twreporter/category.js +0 -40
  1443. package/lib/v2/twreporter/photography.js +0 -46
  1444. package/lib/v2/verse/articles.js +0 -42
  1445. package/lib/v2/verse/maintainer.js +0 -3
  1446. package/lib/v2/verse/radar.js +0 -13
  1447. package/lib/v2/verse/router.js +0 -3
  1448. package/lib/v2/vlive/index.js +0 -71
  1449. package/lib/v2/vlive/maintainer.js +0 -3
  1450. package/lib/v2/vlive/radar.js +0 -13
  1451. package/lib/v2/vlive/router.js +0 -3
  1452. package/lib/v2/vlive/templates/post.art +0 -8
  1453. package/lib/v2/vlive/templates/video.art +0 -3
  1454. package/lib/v2/vmware/flings.js +0 -59
  1455. package/lib/v2/vmware/maintainer.js +0 -3
  1456. package/lib/v2/vmware/radar.js +0 -13
  1457. package/lib/v2/vmware/router.js +0 -3
  1458. package/lib/v2/wangqiutiyu/anchor.js +0 -42
  1459. package/lib/v2/wangqiutiyu/maintainer.js +0 -3
  1460. package/lib/v2/wangqiutiyu/radar.js +0 -13
  1461. package/lib/v2/wangqiutiyu/router.js +0 -3
  1462. package/lib/v2/watchout/index.js +0 -51
  1463. package/lib/v2/watchout/maintainer.js +0 -3
  1464. package/lib/v2/watchout/radar.js +0 -13
  1465. package/lib/v2/watchout/router.js +0 -3
  1466. package/lib/v2/whoscall/index.js +0 -55
  1467. package/lib/v2/whoscall/maintainer.js +0 -5
  1468. package/lib/v2/whoscall/radar.js +0 -25
  1469. package/lib/v2/whoscall/router.js +0 -3
  1470. package/lib/v2/woshipm/bookmarks.js +0 -34
  1471. package/lib/v2/woshipm/latest.js +0 -27
  1472. package/lib/v2/wp-china/maintainer.js +0 -3
  1473. package/lib/v2/wp-china/news.js +0 -56
  1474. package/lib/v2/wp-china/radar.js +0 -13
  1475. package/lib/v2/wp-china/router.js +0 -3
  1476. package/lib/v2/wxkol/maintainer.js +0 -3
  1477. package/lib/v2/wxkol/radar.js +0 -13
  1478. package/lib/v2/wxkol/router.js +0 -3
  1479. package/lib/v2/wxkol/show.js +0 -81
  1480. package/lib/v2/xwlb/index.js +0 -40
  1481. package/lib/v2/xwlb/maintainer.js +0 -4
  1482. package/lib/v2/xwlb/radar.js +0 -13
  1483. package/lib/v2/xwlb/router.js +0 -4
  1484. package/lib/v2/yaohuo/index.js +0 -30
  1485. package/lib/v2/yaohuo/maintainer.js +0 -3
  1486. package/lib/v2/yaohuo/radar.js +0 -13
  1487. package/lib/v2/yaohuo/router.js +0 -3
  1488. package/lib/v2/yunspe/maintainer.js +0 -3
  1489. package/lib/v2/yunspe/newsflash.js +0 -42
  1490. package/lib/v2/yunspe/radar.js +0 -13
  1491. package/lib/v2/yunspe/router.js +0 -3
  1492. package/lib/v2/zooTeam/blog.js +0 -32
  1493. package/lib/v2/zooTeam/maintainer.js +0 -4
  1494. package/lib/v2/zooTeam/radar.js +0 -21
  1495. package/lib/v2/zooTeam/router.js +0 -4
  1496. package/lib/v2/zooTeam/weekly.js +0 -34
  1497. package/lib/v2/zuzhirenshi/index.js +0 -87
  1498. package/lib/v2/zuzhirenshi/maintainer.js +0 -3
  1499. package/lib/v2/zuzhirenshi/radar.js +0 -13
  1500. package/lib/v2/zuzhirenshi/router.js +0 -3
  1501. /package/lib/v2/{ezone → abc}/maintainer.js +0 -0
  1502. /package/lib/v2/{hket → bossdesign}/maintainer.js +0 -0
  1503. /package/lib/v2/{dbmv → bossdesign}/router.js +0 -0
  1504. /package/lib/{routes → v2}/gov/moa/moa.js +0 -0
  1505. /package/lib/{routes → v2}/grubstreet/index.js +0 -0
  1506. /package/lib/v2/{jiaoliudao → grubstreet}/router.js +0 -0
  1507. /package/lib/{routes → v2}/hpoi/info.js +0 -0
  1508. /package/lib/v2/{filmdeepfocus → ianspriggs}/maintainer.js +0 -0
  1509. /package/lib/{routes → v2}/jianshu/collection.js +0 -0
  1510. /package/lib/{routes → v2}/jianshu/home.js +0 -0
  1511. /package/lib/{routes → v2}/jianshu/user.js +0 -0
  1512. /package/lib/{routes → v2}/metacritic/release.js +0 -0
  1513. /package/lib/v2/{jiaoliudao → netflav}/maintainer.js +0 -0
  1514. /package/lib/v2/{lianxh → papers}/maintainer.js +0 -0
  1515. /package/lib/{routes → v2}/sogou/doodles.js +0 -0
  1516. /package/lib/v2/{blockbeats → theblockbeats}/maintainer.js +0 -0
  1517. /package/lib/v2/yahoo/news/{index.js → us/index.js} +0 -0
@@ -0,0 +1,64 @@
1
+ const got = require('@/utils/got');
2
+ const { parseDate } = require('@/utils/parse-date');
3
+
4
+ // https://github.com/streamlink/streamlink/blob/master/src/streamlink/plugins/twitch.py#L286
5
+ const TWITCH_CLIENT_ID = 'kimne78kx3ncx6brgo4mv6wki5h1ko';
6
+
7
+ const FILTER_CURSOR_MAP = {
8
+ archive: 0,
9
+ highlights: 1,
10
+ all: 2,
11
+ };
12
+
13
+ module.exports = async (ctx) => {
14
+ const { login, filter = 'all' } = ctx.params;
15
+
16
+ const response = await got({
17
+ method: 'post',
18
+ url: 'https://gql.twitch.tv/gql',
19
+ headers: {
20
+ Referer: 'https://player.twitch.tv',
21
+ 'Client-ID': TWITCH_CLIENT_ID,
22
+ },
23
+ json: [
24
+ {
25
+ operationName: 'ChannelVideoShelvesQuery',
26
+ variables: {
27
+ channelLogin: login,
28
+ first: 5,
29
+ },
30
+ extensions: {
31
+ persistedQuery: {
32
+ version: 1,
33
+ sha256Hash: '7b31d8ae7274b79d169a504e3727baaaed0d5ede101f4a38fc44f34d76827903',
34
+ },
35
+ },
36
+ },
37
+ ],
38
+ });
39
+
40
+ const channelVideoShelvesQueryData = response.data[0].data;
41
+
42
+ if (!channelVideoShelvesQueryData.user.id) {
43
+ throw Error(`Username does not exist`);
44
+ }
45
+
46
+ const displayName = channelVideoShelvesQueryData.user.displayName;
47
+
48
+ const videoShelvesEdge = channelVideoShelvesQueryData.user.videoShelves.edges[FILTER_CURSOR_MAP[filter] || FILTER_CURSOR_MAP.all];
49
+
50
+ const out = videoShelvesEdge.node.items.map((item) => ({
51
+ title: item.title,
52
+ link: `https://www.twitch.tv/videos/${item.id}`,
53
+ author: displayName,
54
+ pubDate: parseDate(item.publishedAt),
55
+ description: `<img style="max-width: 100%;" src="${item.previewThumbnailURL}"><br/><img style="max-width: 100%;" src="${item.animatedPreviewURL}">`,
56
+ category: [item.game.displayName],
57
+ }));
58
+
59
+ ctx.state.data = {
60
+ title: `Twitch - ${displayName} - ${videoShelvesEdge.node.title}`,
61
+ link: `https://www.twitch.tv/${login}`,
62
+ item: out,
63
+ };
64
+ };
@@ -1,5 +1,3 @@
1
- const devApiImpl = require('./developer-api/search');
2
1
  const webApiImpl = require('./web-api/search');
3
- const apiFallback = require('./api_fallback_common');
4
2
 
5
- module.exports = (ctx) => apiFallback(ctx, devApiImpl, webApiImpl);
3
+ module.exports = async (ctx) => await webApiImpl(ctx);
@@ -1,7 +1,3 @@
1
- // const config = require('@/config').value;
2
- // const devApiImpl = require('./developer-api/user');
3
1
  const webApiImpl = require('./web-api/media');
4
2
 
5
- module.exports = async (ctx) => {
6
- await webApiImpl(ctx);
7
- };
3
+ module.exports = async (ctx) => await webApiImpl(ctx);
@@ -1,5 +1,3 @@
1
- const devApiImpl = require('./developer-api/user');
2
1
  const webApiImpl = require('./web-api/user');
3
- const apiFallback = require('./api_fallback_common');
4
2
 
5
- module.exports = (ctx) => apiFallback(ctx, devApiImpl, webApiImpl);
3
+ module.exports = (ctx) => webApiImpl(ctx);
@@ -240,7 +240,9 @@ const ProcessFeed = (ctx, { data = [] }, params = {}) => {
240
240
  quoteInTitle += `${author.name}: ${formatText(quoteData)}`;
241
241
 
242
242
  if (readable) {
243
- quote += `<br><small>Link: <a href='https://twitter.com/${author.screen_name}/status/${quoteData.id_str}' target='_blank' rel='noopener noreferrer'>https://twitter.com/${author.screen_name}/status/${quoteData.id_str}</a></small>`;
243
+ quote += `<br><small>Link: <a href='https://twitter.com/${author.screen_name}/status/${quoteData.id_str || quoteData.conversation_id_str}' target='_blank' rel='noopener noreferrer'>https://twitter.com/${
244
+ author.screen_name
245
+ }/status/${quoteData.id_str || quoteData.conversation_id_str}</a></small>`;
244
246
  }
245
247
  if (showTimestampInDescription) {
246
248
  quote += '<br><small>' + parseDate(quoteData.created_at);
@@ -370,7 +372,7 @@ const ProcessFeed = (ctx, { data = [] }, params = {}) => {
370
372
  author: authorName,
371
373
  description,
372
374
  pubDate: parseDate(item.created_at),
373
- link: `https://twitter.com/${item.user.screen_name}/status/${item.id_str}`,
375
+ link: `https://twitter.com/${item.user.screen_name}/status/${item.id_str || item.conversation_id_str}`,
374
376
 
375
377
  _extra:
376
378
  (isRetweet && {
@@ -383,7 +385,7 @@ const ProcessFeed = (ctx, { data = [] }, params = {}) => {
383
385
  (item.is_quote_status && {
384
386
  links: [
385
387
  {
386
- url: `https://twitter.com/${item.quoted_status?.user?.screen_name}/status/${item.quoted_status?.id_str}`,
388
+ url: `https://twitter.com/${item.quoted_status?.user?.screen_name}/status/${item.quoted_status?.id_str || item.quoted_status?.conversation_id_str}`,
387
389
  type: 'quote',
388
390
  },
389
391
  ],
@@ -1,77 +1,89 @@
1
- // https://github.com/zedeus/nitter/issues/919#issuecomment-1619067142
2
- // https://git.sr.ht/~cloutier/bird.makeup/tree/4b2495bf2908c648ae9250f353bfdacf2464b98d/item/src/BirdsiteLive.Twitter/Tools/TwitterAuthenticationInitializer.cs#L36
3
- const auth = 'Bearer AAAAAAAAAAAAAAAAAAAAAFQODgEAAAAAVHTp76lzh3rFzcHbmHVvQxYYpTw%3DckAlMINMjmCwxUcaXbAN4XqJVdgMJaHqNOFgPMK0zN1qLqLQCF';
4
- const tokens = [
5
- auth, // tweetdeck new
6
- // 'CjulERsDeqhhjSme66ECg:IQWdVyqFxghAtURHGeGiWAsmCAGmdW3WmbEx6Hck', // iPad, no mixed videos and photos support
7
- // valid, but endpoints differ:
8
- // 'IQKbtAYlXLripLGPWd0HUA:GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU', // iPhone
9
- // '3nVuSoBZnx6U4vzUxf5w:Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys', // Android
10
- // '3rJOl1ODzm9yZy63FACdg:5jPoQ5kQvMJFDYRNE8bQ4rHuds4xJqhvgNJM4awaE8', // Mac
11
- ];
1
+ const baseUrl = 'https://api.twitter.com';
2
+
3
+ const consumerKey = '3nVuSoBZnx6U4vzUxf5w';
4
+ const consumerSecret = 'Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys';
12
5
 
13
6
  const graphQLEndpointsPlain = [
14
- '/graphql/oUZZZ8Oddwxs8Cd3iW3UEA/UserByScreenName',
15
- '/graphql/Lxg1V9AiIzzXEiP2c8dRnw/UserByRestId',
16
- '/graphql/3XDB26fBve-MmjHaWTUZxA/TweetDetail',
17
- '/graphql/QqZBEqganhHwmU9QscmIug/UserTweets',
18
- '/graphql/wxoVeDnl0mP7VLhe6mTOdg/UserTweetsAndReplies',
19
- '/graphql/Az0-KW6F-FyYTc2OJmvUhg/UserMedia',
20
- '/graphql/kgZtsNyE46T3JaEf2nF9vw/Likes',
21
- // these endpoints are not available if authenticated as other clients
22
- // FYI, endpoints for Android: https://gist.github.com/ScamCast/2e40befbd1b61c4a80cda2745d4df1f4
7
+ '/graphql/u7wQyGi6oExe8_TRWGMq4Q/UserResultByScreenNameQuery',
8
+ '/graphql/oPppcargziU1uDQHAUmH-A/UserResultByIdQuery',
9
+ '/graphql/3JNH4e9dq1BifLxAa3UMWg/UserWithProfileTweetsQueryV2',
10
+ '/graphql/8IS8MaO-2EN6GZZZb8jF0g/UserWithProfileTweetsAndRepliesQueryV2',
11
+ '/graphql/PDfFf8hGeJvUCiTyWtw4wQ/MediaTimelineV2',
12
+ '/graphql/q94uRCEn65LZThakYcPT6g/TweetDetail',
13
+ '/graphql/sITyJdhRPpvpEjg4waUmTA/TweetResultByIdQuery',
14
+ '/graphql/gkjsKepM6gl_HmFWoWKfgg/SearchTimeline',
15
+ '/graphql/iTpgCtbdxrsJfyx0cFjHqg/ListByRestId',
16
+ '/graphql/-kmqNvm5Y-cVrfvBy6docg/ListBySlug',
17
+ '/graphql/P4NpVZDqUD_7MEM84L-8nw/ListMembers',
18
+ '/graphql/BbGLL1ZfMibdFNWlk7a0Pw/ListTimeline',
23
19
  ];
24
20
 
25
- const graphQLMap = Object.fromEntries(graphQLEndpointsPlain.map((endpoint) => [endpoint.split('/')[3], endpoint]));
21
+ const gqlMap = Object.fromEntries(graphQLEndpointsPlain.map((endpoint) => [endpoint.split('/')[3].replace(/V2$|Query$|QueryV2$/, ''), endpoint]));
22
+
23
+ const gqlFeatures = JSON.stringify({
24
+ android_graphql_skip_api_media_color_palette: false,
25
+ blue_business_profile_image_shape_enabled: false,
26
+ creator_subscriptions_subscription_count_enabled: false,
27
+ creator_subscriptions_tweet_preview_api_enabled: true,
28
+ freedom_of_speech_not_reach_fetch_enabled: false,
29
+ graphql_is_translatable_rweb_tweet_is_translatable_enabled: false,
30
+ hidden_profile_likes_enabled: false,
31
+ highlights_tweets_tab_ui_enabled: false,
32
+ interactive_text_enabled: false,
33
+ longform_notetweets_consumption_enabled: true,
34
+ longform_notetweets_inline_media_enabled: false,
35
+ longform_notetweets_richtext_consumption_enabled: true,
36
+ longform_notetweets_rich_text_read_enabled: false,
37
+ responsive_web_edit_tweet_api_enabled: false,
38
+ responsive_web_enhance_cards_enabled: false,
39
+ responsive_web_graphql_exclude_directive_enabled: true,
40
+ responsive_web_graphql_skip_user_profile_image_extensions_enabled: false,
41
+ responsive_web_graphql_timeline_navigation_enabled: false,
42
+ responsive_web_media_download_video_enabled: false,
43
+ responsive_web_text_conversations_enabled: false,
44
+ responsive_web_twitter_article_tweet_consumption_enabled: false,
45
+ responsive_web_twitter_blue_verified_badge_is_enabled: true,
46
+ rweb_lists_timeline_redesign_enabled: true,
47
+ spaces_2022_h2_clipping: true,
48
+ spaces_2022_h2_spaces_communities: true,
49
+ standardized_nudges_misinfo: false,
50
+ subscriptions_verification_info_enabled: true,
51
+ subscriptions_verification_info_reason_enabled: true,
52
+ subscriptions_verification_info_verified_since_enabled: true,
53
+ super_follow_badge_privacy_enabled: false,
54
+ super_follow_exclusive_tweet_notifications_enabled: false,
55
+ super_follow_tweet_api_enabled: false,
56
+ super_follow_user_api_enabled: false,
57
+ tweet_awards_web_tipping_enabled: false,
58
+ tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled: false,
59
+ tweetypie_unmention_optimization_enabled: false,
60
+ unified_cards_ad_metadata_container_dynamic_card_content_query_enabled: false,
61
+ verified_phone_label_enabled: false,
62
+ vibe_api_enabled: false,
63
+ view_counts_everywhere_api_enabled: false,
64
+ });
26
65
 
27
- // captured from Twitter web
28
- const featuresMap = {
29
- UserByScreenName: JSON.stringify({
30
- hidden_profile_likes_enabled: false,
31
- responsive_web_graphql_exclude_directive_enabled: true,
32
- verified_phone_label_enabled: false,
33
- subscriptions_verification_info_verified_since_enabled: true,
34
- highlights_tweets_tab_ui_enabled: true,
35
- creator_subscriptions_tweet_preview_api_enabled: true,
36
- responsive_web_graphql_skip_user_profile_image_extensions_enabled: false,
37
- responsive_web_graphql_timeline_navigation_enabled: true,
38
- }),
39
- UserByRestId: JSON.stringify({
40
- hidden_profile_likes_enabled: false,
41
- responsive_web_graphql_exclude_directive_enabled: true,
42
- verified_phone_label_enabled: false,
43
- highlights_tweets_tab_ui_enabled: true,
44
- creator_subscriptions_tweet_preview_api_enabled: true,
45
- responsive_web_graphql_skip_user_profile_image_extensions_enabled: false,
46
- responsive_web_graphql_timeline_navigation_enabled: true,
47
- }),
48
- UserTweets: JSON.stringify({
49
- rweb_lists_timeline_redesign_enabled: true,
50
- responsive_web_graphql_exclude_directive_enabled: true,
51
- verified_phone_label_enabled: false,
52
- creator_subscriptions_tweet_preview_api_enabled: true,
53
- responsive_web_graphql_timeline_navigation_enabled: true,
54
- responsive_web_graphql_skip_user_profile_image_extensions_enabled: false,
55
- tweetypie_unmention_optimization_enabled: true,
56
- responsive_web_edit_tweet_api_enabled: true,
57
- graphql_is_translatable_rweb_tweet_is_translatable_enabled: true,
58
- view_counts_everywhere_api_enabled: true,
59
- longform_notetweets_consumption_enabled: true,
60
- responsive_web_twitter_article_tweet_consumption_enabled: false,
61
- tweet_awards_web_tipping_enabled: false,
62
- freedom_of_speech_not_reach_fetch_enabled: true,
63
- standardized_nudges_misinfo: true,
64
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled: true,
65
- longform_notetweets_rich_text_read_enabled: true,
66
- longform_notetweets_inline_media_enabled: true,
67
- responsive_web_media_download_video_enabled: false,
68
- responsive_web_enhance_cards_enabled: false,
69
- }),
66
+ const timelineParams = {
67
+ include_can_media_tag: 1,
68
+ include_cards: 1,
69
+ include_entities: 1,
70
+ include_profile_interstitial_type: 0,
71
+ include_quote_count: 0,
72
+ include_reply_count: 0,
73
+ include_user_entities: 0,
74
+ include_ext_reply_count: 0,
75
+ include_ext_media_color: 0,
76
+ cards_platform: 'Web-13',
77
+ tweet_mode: 'extended',
78
+ send_error_codes: 1,
79
+ simple_quoted_tweet: 1,
70
80
  };
71
81
 
72
82
  module.exports = {
73
- auth,
74
- tokens,
75
- graphQLMap,
76
- featuresMap,
83
+ baseUrl,
84
+ consumerKey,
85
+ consumerSecret,
86
+ gqlMap,
87
+ gqlFeatures,
88
+ timelineParams,
77
89
  };
@@ -1,137 +1,124 @@
1
- const twitterGot = require('./twitter-got');
2
- const { graphQLMap, featuresMap, auth } = require('./constants');
1
+ const { baseUrl, gqlMap, gqlFeatures, consumerKey, consumerSecret } = require('./constants');
3
2
  const config = require('@/config').value;
4
- const got = require('@/utils/got');
5
3
  const logger = require('@/utils/logger');
4
+ const got = require('@/utils/got');
5
+ const OAuth = require('oauth-1.0a');
6
+ const CryptoJS = require('crypto-js');
7
+ const queryString = require('query-string');
6
8
 
7
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L727-L755
8
- const _params = {
9
- count: 20,
10
- include_profile_interstitial_type: 1,
11
- include_blocking: 1,
12
- include_blocked_by: 1,
13
- include_followed_by: 1,
14
- include_want_retweets: 1,
15
- include_mute_edge: 1,
16
- include_can_dm: 1,
17
- include_can_media_tag: 1,
18
- include_ext_has_nft_avatar: 1,
19
- skip_status: 1,
20
- cards_platform: 'Web-12',
21
- include_cards: 1,
22
- include_ext_alt_text: true,
23
- include_quote_count: true,
24
- include_reply_count: 1,
25
- tweet_mode: 'extended',
26
- include_entities: true,
27
- include_user_entities: true,
28
- include_ext_media_color: true,
29
- include_ext_media_availability: true,
30
- // include_ext_sensitive_media_warning: true, // IDK what it is, maybe disabling it will make NSFW lovers happy?
31
- send_error_codes: true,
32
- simple_quoted_tweet: true,
33
- include_tweet_replies: false,
34
- cursor: undefined,
35
- ext: 'mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,superFollowMetadata',
36
- };
9
+ let tokenIndex = 0;
37
10
 
38
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L756--L770
39
- const _variables = {
40
- count: 20,
41
- includePromotedContent: false,
42
- withSuperFollowsUserFields: true,
43
- withBirdwatchPivots: false,
44
- withDownvotePerspective: false,
45
- withReactionsMetadata: false,
46
- withReactionsPerspective: false,
47
- withSuperFollowsTweetFields: true,
48
- withClientEventToken: false,
49
- withBirdwatchNotes: false,
50
- withVoice: true,
51
- withV2Timeline: false,
52
- __fs_interactive_text: false,
53
- __fs_dont_mention_me_view_api_enabled: false,
54
- };
11
+ const twitterGot = async (url, params) => {
12
+ if (!config.twitter.oauthTokens?.length || !config.twitter.oauthTokenSecrets?.length || config.twitter.oauthTokens.length !== config.twitter.oauthTokenSecrets.length) {
13
+ throw Error('Invalid twitter oauth tokens');
14
+ }
15
+
16
+ const oauth = OAuth({
17
+ consumer: {
18
+ key: consumerKey,
19
+ secret: consumerSecret,
20
+ },
21
+ signature_method: 'HMAC-SHA1',
22
+ hash_function: (base_string, key) => CryptoJS.HmacSHA1(base_string, key).toString(CryptoJS.enc.Base64),
23
+ });
24
+
25
+ const token = {
26
+ key: config.twitter.oauthTokens[tokenIndex],
27
+ secret: config.twitter.oauthTokenSecrets[tokenIndex],
28
+ };
29
+ tokenIndex++;
30
+ if (tokenIndex >= config.twitter.oauthTokens.length) {
31
+ tokenIndex = 0;
32
+ }
33
+
34
+ const requestData = {
35
+ url: `${url}?${queryString.stringify(params)}`,
36
+ method: 'GET',
37
+ headers: {
38
+ connection: 'keep-alive',
39
+ 'content-type': 'application/json',
40
+ 'x-twitter-active-user': 'yes',
41
+ authority: 'api.twitter.com',
42
+ 'accept-encoding': 'gzip',
43
+ 'accept-language': 'en-US,en;q=0.9',
44
+ accept: '*/*',
45
+ DNT: '1',
46
+ },
47
+ };
48
+
49
+ const response = await got(requestData.url, {
50
+ headers: oauth.toHeader(oauth.authorize(requestData, token)),
51
+ });
55
52
 
56
- // const paginationLegacy = (endpoint, userId, params) =>
57
- // twitterGot('https://api.twitter.com' + endpoint, {
58
- // ..._params,
59
- // ...params,
60
- // userId,
61
- // });
53
+ return response.data;
54
+ };
62
55
 
63
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L1075-L1093
64
56
  const paginationTweets = async (endpoint, userId, variables, path) => {
65
- const { data } = await twitterGot('https://twitter.com/i/api' + endpoint, {
57
+ const { data } = await twitterGot(baseUrl + endpoint, {
66
58
  variables: JSON.stringify({
67
- ..._variables,
68
59
  ...variables,
69
- userId,
60
+ rest_id: userId,
70
61
  }),
71
- features: featuresMap.UserTweets,
62
+ features: gqlFeatures,
72
63
  });
73
64
 
74
65
  let instructions;
75
66
  if (!path) {
76
- instructions = data.user.result.timeline.timeline.instructions;
67
+ instructions = data.user_result.result.timeline_response.timeline.instructions;
77
68
  } else {
78
69
  instructions = data;
79
70
  path.forEach((p) => (instructions = instructions[p]));
80
71
  instructions = instructions.instructions;
81
72
  }
82
73
 
83
- return instructions.filter((i) => i.type === 'TimelineAddEntries')[0].entries;
74
+ return instructions.filter((i) => i.__typename === 'TimelineAddEntries' || i.type === 'TimelineAddEntries')[0].entries;
84
75
  };
85
76
 
86
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L807-L814
87
77
  const timelineTweets = (userId, params = {}) =>
88
- paginationTweets(graphQLMap.UserTweets, userId, {
78
+ paginationTweets(gqlMap.UserWithProfileTweets, userId, {
89
79
  ...params,
90
80
  withQuickPromoteEligibilityTweetFields: true,
91
81
  });
92
82
 
93
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L816-L823
94
83
  const timelineTweetsAndReplies = (userId, params = {}) =>
95
- paginationTweets(graphQLMap.UserTweetsAndReplies, userId, {
84
+ paginationTweets(gqlMap.UserWithProfileTweetsAndReplies, userId, {
96
85
  ...params,
97
- withCommunity: true,
86
+ count: 20,
98
87
  });
99
88
 
100
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L825-L831
101
- const timelineMedia = (userId, params = {}) => paginationTweets(graphQLMap.UserMedia, userId, params);
89
+ const timelineMedia = (userId, params = {}) => paginationTweets(gqlMap.MediaTimeline, userId, params);
102
90
 
103
- // this query requires login
104
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L833-L839
105
- const timelineLikes = (userId, params = {}) => paginationTweets(graphQLMap.Likes, userId, params);
91
+ // const timelineLikes = (userId, params = {}) => paginationTweets(gqlMap.Likes, userId, params);
106
92
 
107
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L858-L866
108
93
  const timelineKeywords = (keywords, params = {}) =>
109
- got('https://api.twitter.com/1.1/search/universal.json', {
110
- headers: {
111
- Authorization: auth,
112
- },
113
- searchParams: {
114
- ..._params,
94
+ paginationTweets(
95
+ gqlMap.SearchTimeline,
96
+ null,
97
+ {
115
98
  ...params,
116
- q: keywords,
117
- modules: 'status',
118
- result_type: 'recent',
99
+ rawQuery: keywords,
100
+ count: 20,
101
+ product: 'Latest',
102
+ withDownvotePerspective: false,
103
+ withReactionsMetadata: false,
104
+ withReactionsPerspective: false,
119
105
  },
120
- });
106
+ ['search_by_raw_query', 'search_timeline', 'timeline']
107
+ );
121
108
 
122
- // https://github.com/mikf/gallery-dl/blob/a53cfc845e12d9e98fefd07e43ebffaec488c18f/gallery_dl/extractor/twitter.py#L795-L805
123
109
  const tweetDetail = (userId, params) =>
124
110
  paginationTweets(
125
- graphQLMap.TweetDetail,
111
+ gqlMap.TweetDetail,
126
112
  userId,
127
113
  {
128
114
  ...params,
129
- with_rux_injections: false,
130
- withCommunity: true,
131
- withQuickPromoteEligibilityTweetFields: false,
115
+ includeHasBirdwatchNotes: false,
116
+ includePromotedContent: false,
132
117
  withBirdwatchNotes: false,
118
+ withVoice: false,
119
+ withV2Timeline: true,
133
120
  },
134
- ['threaded_conversation_with_injections']
121
+ ['threaded_conversation_with_injections_v2']
135
122
  );
136
123
 
137
124
  function gatherLegacyFromData(entries, filterNested = undefined, userId = undefined) {
@@ -151,7 +138,7 @@ function gatherLegacyFromData(entries, filterNested = undefined, userId = undefi
151
138
  filteredEntries.forEach((entry) => {
152
139
  if (entry.entryId) {
153
140
  const content = entry.content || entry.item;
154
- let tweet = content?.itemContent?.tweet_results?.result;
141
+ let tweet = content?.content?.tweetResult?.result || content?.itemContent?.tweet_results?.result;
155
142
  if (tweet && tweet.tweet) {
156
143
  tweet = tweet.tweet;
157
144
  }
@@ -161,11 +148,11 @@ function gatherLegacyFromData(entries, filterNested = undefined, userId = undefi
161
148
  if (!t?.legacy) {
162
149
  continue;
163
150
  }
164
- t.legacy.user = t.core.user_results.result.legacy;
151
+ t.legacy.user = t.core?.user_result?.result?.legacy || t.core?.user_results?.result?.legacy;
165
152
  const quote = t.quoted_status_result?.result;
166
153
  if (quote) {
167
154
  t.legacy.quoted_status = quote.legacy;
168
- t.legacy.quoted_status.user = quote.core.user_results.result.legacy;
155
+ t.legacy.quoted_status.user = quote.core.user_result?.result?.legacy || quote.core.user_results?.result?.legacy;
169
156
  }
170
157
  }
171
158
  const legacy = tweet.legacy;
@@ -187,7 +174,7 @@ const getUserTweetsByID = async (id, params = {}) => gatherLegacyFromData(await
187
174
  // TODO: show the whole conversation instead of just the reply tweet
188
175
  const getUserTweetsAndRepliesByID = async (id, params = {}) => gatherLegacyFromData(await timelineTweetsAndReplies(id, params), ['profile-conversation-'], id);
189
176
  const getUserMediaByID = async (id, params = {}) => gatherLegacyFromData(await timelineMedia(id, params));
190
- const getUserLikesByID = async (id, params = {}) => gatherLegacyFromData(await timelineLikes(id, params));
177
+ // const getUserLikesByID = async (id, params = {}) => gatherLegacyFromData(await timelineLikes(id, params));
191
178
  const getUserTweetByStatus = async (id, params = {}) => gatherLegacyFromData(await tweetDetail(id, params), ['homeConversation-', 'conversationthread-']);
192
179
 
193
180
  const excludeRetweet = function (tweets) {
@@ -202,14 +189,14 @@ const excludeRetweet = function (tweets) {
202
189
  };
203
190
 
204
191
  const userByScreenName = (screenName) =>
205
- twitterGot(`https://twitter.com/i/api${graphQLMap.UserByScreenName}`, {
192
+ twitterGot(`${baseUrl}${gqlMap.UserResultByScreenName}`, {
206
193
  variables: `{"screen_name":"${screenName}","withHighlightedLabel":true}`,
207
- features: featuresMap.UserByScreenName,
194
+ features: gqlFeatures,
208
195
  });
209
196
  const userByRestId = (restId) =>
210
- twitterGot(`https://twitter.com/i/api${graphQLMap.UserByRestId}`, {
197
+ twitterGot(`${baseUrl}${gqlMap.UserByRestId}`, {
211
198
  variables: `{"userId":"${restId}","withHighlightedLabel":true}`,
212
- features: featuresMap.UserByRestId,
199
+ features: gqlFeatures,
213
200
  });
214
201
  const userByAuto = (id) => {
215
202
  if (id.startsWith('+')) {
@@ -218,8 +205,14 @@ const userByAuto = (id) => {
218
205
  return userByScreenName(id);
219
206
  };
220
207
  const getUserData = (cache, id) => cache.tryGet(`twitter-userdata-${id}`, () => userByAuto(id));
221
- const getUserID = async (cache, id) => (await getUserData(cache, id)).data.user.result.rest_id;
222
- const getUser = async (cache, id) => (await getUserData(cache, id)).data.user.result.legacy;
208
+ const getUserID = async (cache, id) => {
209
+ const userData = await getUserData(cache, id);
210
+ return (userData.data?.user || userData.data?.user_result)?.result?.rest_id;
211
+ };
212
+ const getUser = async (cache, id) => {
213
+ const userData = await getUserData(cache, id);
214
+ return (userData.data?.user || userData.data?.user_result)?.result?.legacy;
215
+ };
223
216
 
224
217
  const cacheTryGet = async (cache, _id, params, func) => {
225
218
  const id = await getUserID(cache, _id);
@@ -272,17 +265,17 @@ const getUserTweets = async (cache, id, params = {}) => {
272
265
  };
273
266
  const getUserTweetsAndReplies = (cache, id, params = {}) => cacheTryGet(cache, id, params, getUserTweetsAndRepliesByID);
274
267
  const getUserMedia = (cache, id, params = {}) => cacheTryGet(cache, id, params, getUserMediaByID);
275
- const getUserLikes = (cache, id, params = {}) => cacheTryGet(cache, id, params, getUserLikesByID);
268
+ // const getUserLikes = (cache, id, params = {}) => cacheTryGet(cache, id, params, getUserLikesByID);
276
269
  const getUserTweet = (cache, id, params) => cacheTryGet(cache, id, params, getUserTweetByStatus);
277
270
 
278
- const getSearch = async (keywords, params = {}) => (await timelineKeywords(keywords, params)).data.modules.map((module) => module.status.data);
271
+ const getSearch = async (keywords, params = {}) => gatherLegacyFromData(await timelineKeywords(keywords, params));
279
272
 
280
273
  module.exports = {
281
274
  getUser,
282
275
  getUserTweets,
283
276
  getUserTweetsAndReplies,
284
277
  getUserMedia,
285
- getUserLikes,
278
+ // getUserLikes,
286
279
  excludeRetweet,
287
280
  getSearch,
288
281
  getUserTweet,
@@ -1,5 +1,3 @@
1
1
  module.exports = {
2
- '/category/:cid': ['emdoe'],
3
2
  '/newest': ['emdoe'],
4
- '/photography': ['emdoe'],
5
3
  };
@@ -8,18 +8,6 @@ module.exports = {
8
8
  source: ['/'],
9
9
  target: '/twreporter/newest',
10
10
  },
11
- {
12
- title: '摄影',
13
- docs: 'https://docs.rsshub.app/routes/new-media#bao-dao-zhe',
14
- source: ['/photography'],
15
- target: '/twreporter',
16
- },
17
- {
18
- title: '分类',
19
- docs: 'https://docs.rsshub.app/routes/new-media#bao-dao-zhe',
20
- source: ['/categories/:tid'],
21
- target: '/twreporter/category/:tid',
22
- },
23
11
  ],
24
12
  },
25
13
  };
@@ -1,5 +1,3 @@
1
1
  module.exports = (router) => {
2
- router.get('/category/:cid', require('./category'));
3
2
  router.get('/newest', require('./newest'));
4
- router.get('/photography', require('./photography'));
5
3
  };
@@ -14,7 +14,7 @@ module.exports = async (ctx) => {
14
14
  page.on('request', (request) => {
15
15
  request.resourceType() === 'document' ? request.continue() : request.abort();
16
16
  });
17
- logger.debug(`Requesting ${link}`);
17
+ logger.http(`Requesting ${link}`);
18
18
  await page.goto(link, {
19
19
  waitUntil: 'domcontentloaded',
20
20
  });
@@ -36,7 +36,7 @@ module.exports = async (ctx) => {
36
36
  page.on('request', (request) => {
37
37
  request.resourceType() === 'document' ? request.continue() : request.abort();
38
38
  });
39
- logger.debug(`Requesting ${item.link}`);
39
+ logger.http(`Requesting ${item.link}`);
40
40
  await page.goto(item.link, {
41
41
  waitUntil: 'domcontentloaded',
42
42
  referer: link,
@@ -30,7 +30,11 @@ module.exports = async (ctx) => {
30
30
  }
31
31
 
32
32
  const $ = cheerio.load(result.data);
33
- const metadata = $('script[type="application/ld+json"]').eq(0).text().trim().replaceAll(/[\b]/g, '');
33
+ const metadata = $('script[type="application/ld+json"]')
34
+ .eq(0)
35
+ .text()
36
+ .trim()
37
+ .replaceAll(/[\b\n\t]/g, '');
34
38
  const data = metadata.startsWith('[') ? JSON.parse(metadata)[0] : JSON.parse(metadata);
35
39
  // e.g. https://udn.com/news/story/7331/6576320
36
40
  const content = $('.article-content__editor');
@@ -55,7 +59,7 @@ module.exports = async (ctx) => {
55
59
  author: data.author.name,
56
60
  description,
57
61
  pubDate: timezone(parseDate(item.time.date, 'YYYY-MM-DD HH:mm'), +8),
58
- category: [data.articleSection, $("meta[name='subsection']").attr('content'), ...data.keywords.split(',')],
62
+ category: [data.articleSection, !vip ? $("meta[name='subsection']").attr('content') : $('.article-head li.breadcrumb__item:last > b').text(), ...data.keywords.split(',')],
59
63
  link,
60
64
  };
61
65
  });