@jackwener/opencli 1.6.9 → 1.6.10

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 (503) hide show
  1. package/README.md +115 -59
  2. package/README.zh-CN.md +121 -78
  3. package/dist/clis/_shared/common.d.ts +3 -0
  4. package/dist/clis/_shared/common.js +22 -0
  5. package/dist/clis/bilibili/hot.d.ts +1 -0
  6. package/dist/clis/bilibili/hot.js +35 -0
  7. package/dist/clis/bluesky/feeds.d.ts +1 -0
  8. package/dist/clis/bluesky/feeds.js +27 -0
  9. package/dist/clis/bluesky/followers.d.ts +1 -0
  10. package/dist/clis/bluesky/followers.js +27 -0
  11. package/dist/clis/bluesky/following.d.ts +1 -0
  12. package/dist/clis/bluesky/following.js +27 -0
  13. package/dist/clis/bluesky/profile.d.ts +1 -0
  14. package/dist/clis/bluesky/profile.js +29 -0
  15. package/dist/clis/bluesky/search.d.ts +1 -0
  16. package/dist/clis/bluesky/search.js +28 -0
  17. package/dist/clis/bluesky/starter-packs.d.ts +1 -0
  18. package/dist/clis/bluesky/starter-packs.js +28 -0
  19. package/dist/clis/bluesky/thread.d.ts +1 -0
  20. package/dist/clis/bluesky/thread.js +30 -0
  21. package/dist/clis/bluesky/trending.d.ts +1 -0
  22. package/dist/clis/bluesky/trending.js +19 -0
  23. package/dist/clis/bluesky/user.d.ts +1 -0
  24. package/dist/clis/bluesky/user.js +33 -0
  25. package/dist/clis/cnki/search.d.ts +1 -0
  26. package/dist/clis/cnki/search.js +60 -0
  27. package/dist/clis/cnki/search.test.d.ts +1 -0
  28. package/dist/clis/cnki/search.test.js +18 -0
  29. package/dist/clis/devto/tag.d.ts +1 -0
  30. package/dist/clis/devto/tag.js +32 -0
  31. package/dist/clis/devto/top.d.ts +1 -0
  32. package/dist/clis/devto/top.js +26 -0
  33. package/dist/clis/devto/user.d.ts +1 -0
  34. package/dist/clis/devto/user.js +31 -0
  35. package/dist/clis/dictionary/examples.d.ts +1 -0
  36. package/dist/clis/dictionary/examples.js +27 -0
  37. package/dist/clis/dictionary/search.d.ts +1 -0
  38. package/dist/clis/dictionary/search.js +29 -0
  39. package/dist/clis/dictionary/synonyms.d.ts +1 -0
  40. package/dist/clis/dictionary/synonyms.js +27 -0
  41. package/dist/clis/douban/subject.d.ts +1 -0
  42. package/dist/clis/douban/subject.js +118 -0
  43. package/dist/clis/douban/top250.d.ts +1 -0
  44. package/dist/clis/douban/top250.js +67 -0
  45. package/dist/clis/facebook/add-friend.d.ts +1 -0
  46. package/dist/clis/facebook/add-friend.js +43 -0
  47. package/dist/clis/facebook/events.d.ts +1 -0
  48. package/dist/clis/facebook/events.js +40 -0
  49. package/dist/clis/facebook/feed.d.ts +1 -0
  50. package/dist/clis/facebook/feed.js +59 -0
  51. package/dist/clis/facebook/friends.d.ts +1 -0
  52. package/dist/clis/facebook/friends.js +38 -0
  53. package/dist/clis/facebook/groups.d.ts +1 -0
  54. package/dist/clis/facebook/groups.js +46 -0
  55. package/dist/clis/facebook/join-group.d.ts +1 -0
  56. package/dist/clis/facebook/join-group.js +44 -0
  57. package/dist/clis/facebook/memories.d.ts +1 -0
  58. package/dist/clis/facebook/memories.js +35 -0
  59. package/dist/clis/facebook/notifications.d.ts +1 -0
  60. package/dist/clis/facebook/notifications.js +36 -0
  61. package/dist/clis/facebook/profile.d.ts +1 -0
  62. package/dist/clis/facebook/profile.js +37 -0
  63. package/dist/clis/facebook/search.d.ts +1 -0
  64. package/dist/clis/facebook/search.js +38 -0
  65. package/dist/clis/facebook/search.test.d.ts +1 -1
  66. package/dist/clis/facebook/search.test.js +6 -9
  67. package/dist/clis/gitee/index.d.ts +3 -0
  68. package/dist/clis/gitee/index.js +3 -0
  69. package/dist/clis/gitee/search.d.ts +1 -0
  70. package/dist/clis/gitee/search.js +136 -0
  71. package/dist/clis/gitee/trending.d.ts +1 -0
  72. package/dist/clis/gitee/trending.js +567 -0
  73. package/dist/clis/gitee/user.d.ts +1 -0
  74. package/dist/clis/gitee/user.js +199 -0
  75. package/dist/clis/gitee/user.test.d.ts +1 -0
  76. package/dist/clis/gitee/user.test.js +63 -0
  77. package/dist/clis/hackernews/ask.d.ts +1 -0
  78. package/dist/clis/hackernews/ask.js +29 -0
  79. package/dist/clis/hackernews/best.d.ts +1 -0
  80. package/dist/clis/hackernews/best.js +29 -0
  81. package/dist/clis/hackernews/jobs.d.ts +1 -0
  82. package/dist/clis/hackernews/jobs.js +27 -0
  83. package/dist/clis/hackernews/new.d.ts +1 -0
  84. package/dist/clis/hackernews/new.js +29 -0
  85. package/dist/clis/hackernews/search.d.ts +1 -0
  86. package/dist/clis/hackernews/search.js +36 -0
  87. package/dist/clis/hackernews/show.d.ts +1 -0
  88. package/dist/clis/hackernews/show.js +29 -0
  89. package/dist/clis/hackernews/top.d.ts +1 -0
  90. package/dist/clis/hackernews/top.js +29 -0
  91. package/dist/clis/hackernews/user.d.ts +1 -0
  92. package/dist/clis/hackernews/user.js +22 -0
  93. package/dist/clis/hupu/hot.d.ts +1 -0
  94. package/dist/clis/hupu/hot.js +40 -0
  95. package/dist/clis/instagram/comment.d.ts +1 -0
  96. package/dist/clis/instagram/comment.js +47 -0
  97. package/dist/clis/instagram/explore.d.ts +1 -0
  98. package/dist/clis/instagram/explore.js +41 -0
  99. package/dist/clis/instagram/follow.d.ts +1 -0
  100. package/dist/clis/instagram/follow.js +43 -0
  101. package/dist/clis/instagram/followers.d.ts +1 -0
  102. package/dist/clis/instagram/followers.js +45 -0
  103. package/dist/clis/instagram/following.d.ts +1 -0
  104. package/dist/clis/instagram/following.js +45 -0
  105. package/dist/clis/instagram/like.d.ts +1 -0
  106. package/dist/clis/instagram/like.js +45 -0
  107. package/dist/clis/instagram/profile.d.ts +1 -0
  108. package/dist/clis/instagram/profile.js +39 -0
  109. package/dist/clis/instagram/save.d.ts +1 -0
  110. package/dist/clis/instagram/save.js +45 -0
  111. package/dist/clis/instagram/saved.d.ts +1 -0
  112. package/dist/clis/instagram/saved.js +38 -0
  113. package/dist/clis/instagram/search.d.ts +1 -0
  114. package/dist/clis/instagram/search.js +38 -0
  115. package/dist/clis/instagram/unfollow.d.ts +1 -0
  116. package/dist/clis/instagram/unfollow.js +40 -0
  117. package/dist/clis/instagram/unlike.d.ts +1 -0
  118. package/dist/clis/instagram/unlike.js +45 -0
  119. package/dist/clis/instagram/unsave.d.ts +1 -0
  120. package/dist/clis/instagram/unsave.js +45 -0
  121. package/dist/clis/instagram/user.d.ts +1 -0
  122. package/dist/clis/instagram/user.js +48 -0
  123. package/dist/clis/jd/add-cart.d.ts +1 -0
  124. package/dist/clis/jd/add-cart.js +71 -0
  125. package/dist/clis/jd/cart.d.ts +1 -0
  126. package/dist/clis/jd/cart.js +79 -0
  127. package/dist/clis/jd/commands.test.d.ts +5 -0
  128. package/dist/clis/jd/commands.test.js +64 -0
  129. package/dist/clis/jd/detail.d.ts +1 -0
  130. package/dist/clis/jd/detail.js +62 -0
  131. package/dist/clis/jd/reviews.d.ts +1 -0
  132. package/dist/clis/jd/reviews.js +54 -0
  133. package/dist/clis/jd/search.d.ts +1 -0
  134. package/dist/clis/jd/search.js +65 -0
  135. package/dist/clis/jike/post.d.ts +1 -0
  136. package/dist/clis/jike/post.js +61 -0
  137. package/dist/clis/jike/topic.d.ts +1 -0
  138. package/dist/clis/jike/topic.js +51 -0
  139. package/dist/clis/jike/user.d.ts +1 -0
  140. package/dist/clis/jike/user.js +50 -0
  141. package/dist/clis/jimeng/generate.d.ts +1 -0
  142. package/dist/clis/jimeng/generate.js +83 -0
  143. package/dist/clis/jimeng/history.d.ts +1 -0
  144. package/dist/clis/jimeng/history.js +47 -0
  145. package/dist/clis/jimeng/new.d.ts +1 -0
  146. package/dist/clis/jimeng/new.js +43 -0
  147. package/dist/clis/jimeng/workspaces.d.ts +1 -0
  148. package/dist/clis/jimeng/workspaces.js +41 -0
  149. package/dist/clis/linux-do/categories.d.ts +1 -0
  150. package/dist/clis/linux-do/categories.js +65 -0
  151. package/dist/clis/linux-do/search.d.ts +1 -0
  152. package/dist/clis/linux-do/search.js +41 -0
  153. package/dist/clis/linux-do/tags.d.ts +1 -0
  154. package/dist/clis/linux-do/tags.js +39 -0
  155. package/dist/clis/linux-do/topic-content.test.js +5 -5
  156. package/dist/clis/linux-do/topic.d.ts +1 -0
  157. package/dist/clis/linux-do/topic.js +56 -0
  158. package/dist/clis/linux-do/user-posts.d.ts +1 -0
  159. package/dist/clis/linux-do/user-posts.js +61 -0
  160. package/dist/clis/linux-do/user-topics.d.ts +1 -0
  161. package/dist/clis/linux-do/user-topics.js +48 -0
  162. package/dist/clis/lobsters/active.d.ts +1 -0
  163. package/dist/clis/lobsters/active.js +26 -0
  164. package/dist/clis/lobsters/hot.d.ts +1 -0
  165. package/dist/clis/lobsters/hot.js +26 -0
  166. package/dist/clis/lobsters/newest.d.ts +1 -0
  167. package/dist/clis/lobsters/newest.js +26 -0
  168. package/dist/clis/lobsters/tag.d.ts +1 -0
  169. package/dist/clis/lobsters/tag.js +32 -0
  170. package/dist/clis/pixiv/detail.d.ts +1 -0
  171. package/dist/clis/pixiv/detail.js +58 -0
  172. package/dist/clis/pixiv/ranking.d.ts +1 -0
  173. package/dist/clis/pixiv/ranking.js +59 -0
  174. package/dist/clis/pixiv/user.d.ts +1 -0
  175. package/dist/clis/pixiv/user.js +52 -0
  176. package/dist/clis/reddit/frontpage.d.ts +1 -0
  177. package/dist/clis/reddit/frontpage.js +31 -0
  178. package/dist/clis/reddit/hot.d.ts +1 -0
  179. package/dist/clis/reddit/hot.js +45 -0
  180. package/dist/clis/reddit/popular.d.ts +1 -0
  181. package/dist/clis/reddit/popular.js +41 -0
  182. package/dist/clis/reddit/search.d.ts +1 -0
  183. package/dist/clis/reddit/search.js +65 -0
  184. package/dist/clis/reddit/subreddit.d.ts +1 -0
  185. package/dist/clis/reddit/subreddit.js +52 -0
  186. package/dist/clis/reddit/user-comments.d.ts +1 -0
  187. package/dist/clis/reddit/user-comments.js +44 -0
  188. package/dist/clis/reddit/user-posts.d.ts +1 -0
  189. package/dist/clis/reddit/user-posts.js +42 -0
  190. package/dist/clis/reddit/user.d.ts +1 -0
  191. package/dist/clis/reddit/user.js +37 -0
  192. package/dist/clis/stackoverflow/bounties.d.ts +1 -0
  193. package/dist/clis/stackoverflow/bounties.js +27 -0
  194. package/dist/clis/stackoverflow/hot.d.ts +1 -0
  195. package/dist/clis/stackoverflow/hot.js +24 -0
  196. package/dist/clis/stackoverflow/search.d.ts +1 -0
  197. package/dist/clis/stackoverflow/search.js +27 -0
  198. package/dist/clis/stackoverflow/unanswered.d.ts +1 -0
  199. package/dist/clis/stackoverflow/unanswered.js +26 -0
  200. package/dist/clis/steam/top-sellers.d.ts +1 -0
  201. package/dist/clis/steam/top-sellers.js +25 -0
  202. package/dist/clis/taobao/add-cart.d.ts +1 -0
  203. package/dist/clis/taobao/add-cart.js +149 -0
  204. package/dist/clis/taobao/cart.d.ts +1 -0
  205. package/dist/clis/taobao/cart.js +95 -0
  206. package/dist/clis/taobao/commands.test.d.ts +5 -0
  207. package/dist/clis/taobao/commands.test.js +64 -0
  208. package/dist/clis/taobao/detail.d.ts +1 -0
  209. package/dist/clis/taobao/detail.js +70 -0
  210. package/dist/clis/taobao/reviews.d.ts +1 -0
  211. package/dist/clis/taobao/reviews.js +76 -0
  212. package/dist/clis/taobao/search.d.ts +1 -0
  213. package/dist/clis/taobao/search.js +96 -0
  214. package/dist/clis/tiktok/comment.d.ts +1 -0
  215. package/dist/clis/tiktok/comment.js +57 -0
  216. package/dist/clis/tiktok/explore.d.ts +1 -0
  217. package/dist/clis/tiktok/explore.js +35 -0
  218. package/dist/clis/tiktok/follow.d.ts +1 -0
  219. package/dist/clis/tiktok/follow.js +39 -0
  220. package/dist/clis/tiktok/following.d.ts +1 -0
  221. package/dist/clis/tiktok/following.js +42 -0
  222. package/dist/clis/tiktok/friends.d.ts +1 -0
  223. package/dist/clis/tiktok/friends.js +43 -0
  224. package/dist/clis/tiktok/like.d.ts +1 -0
  225. package/dist/clis/tiktok/like.js +33 -0
  226. package/dist/clis/tiktok/live.d.ts +1 -0
  227. package/dist/clis/tiktok/live.js +47 -0
  228. package/dist/clis/tiktok/notifications.d.ts +1 -0
  229. package/dist/clis/tiktok/notifications.js +49 -0
  230. package/dist/clis/tiktok/profile.d.ts +1 -0
  231. package/dist/clis/tiktok/profile.js +54 -0
  232. package/dist/clis/tiktok/save.d.ts +1 -0
  233. package/dist/clis/tiktok/save.js +29 -0
  234. package/dist/clis/tiktok/search.d.ts +1 -0
  235. package/dist/clis/tiktok/search.js +39 -0
  236. package/dist/clis/tiktok/unfollow.d.ts +1 -0
  237. package/dist/clis/tiktok/unfollow.js +44 -0
  238. package/dist/clis/tiktok/unlike.d.ts +1 -0
  239. package/dist/clis/tiktok/unlike.js +33 -0
  240. package/dist/clis/tiktok/unsave.d.ts +1 -0
  241. package/dist/clis/tiktok/unsave.js +31 -0
  242. package/dist/clis/tiktok/user.d.ts +1 -0
  243. package/dist/clis/tiktok/user.js +41 -0
  244. package/dist/clis/v2ex/hot.d.ts +1 -0
  245. package/dist/clis/v2ex/hot.js +25 -0
  246. package/dist/clis/v2ex/latest.d.ts +1 -0
  247. package/dist/clis/v2ex/latest.js +25 -0
  248. package/dist/clis/v2ex/member.d.ts +1 -0
  249. package/dist/clis/v2ex/member.js +27 -0
  250. package/dist/clis/v2ex/node.d.ts +1 -0
  251. package/dist/clis/v2ex/node.js +38 -0
  252. package/dist/clis/v2ex/nodes.d.ts +1 -0
  253. package/dist/clis/v2ex/nodes.js +25 -0
  254. package/dist/clis/v2ex/replies.d.ts +1 -0
  255. package/dist/clis/v2ex/replies.js +26 -0
  256. package/dist/clis/v2ex/topic.d.ts +1 -0
  257. package/dist/clis/v2ex/topic.js +30 -0
  258. package/dist/clis/v2ex/user.d.ts +1 -0
  259. package/dist/clis/v2ex/user.js +33 -0
  260. package/dist/clis/xiaoe/catalog.d.ts +1 -0
  261. package/dist/clis/xiaoe/catalog.js +125 -0
  262. package/dist/clis/xiaoe/content.d.ts +1 -0
  263. package/dist/clis/xiaoe/content.js +39 -0
  264. package/dist/clis/xiaoe/courses.d.ts +1 -0
  265. package/dist/clis/xiaoe/courses.js +69 -0
  266. package/dist/clis/xiaoe/detail.d.ts +1 -0
  267. package/dist/clis/xiaoe/detail.js +35 -0
  268. package/dist/clis/xiaoe/play-url.d.ts +1 -0
  269. package/dist/clis/xiaoe/play-url.js +120 -0
  270. package/dist/clis/xiaohongshu/feed.d.ts +1 -0
  271. package/dist/clis/xiaohongshu/feed.js +32 -0
  272. package/dist/clis/xiaohongshu/notifications.d.ts +1 -0
  273. package/dist/clis/xiaohongshu/notifications.js +38 -0
  274. package/dist/clis/xueqiu/earnings-date.d.ts +1 -0
  275. package/dist/clis/xueqiu/earnings-date.js +61 -0
  276. package/dist/clis/xueqiu/feed.d.ts +1 -0
  277. package/dist/clis/xueqiu/feed.js +48 -0
  278. package/dist/clis/xueqiu/groups.d.ts +1 -0
  279. package/dist/clis/xueqiu/groups.js +25 -0
  280. package/dist/clis/xueqiu/hot-stock.d.ts +1 -0
  281. package/dist/clis/xueqiu/hot-stock.js +44 -0
  282. package/dist/clis/xueqiu/hot.d.ts +1 -0
  283. package/dist/clis/xueqiu/hot.js +44 -0
  284. package/dist/clis/xueqiu/kline.d.ts +1 -0
  285. package/dist/clis/xueqiu/kline.js +64 -0
  286. package/dist/clis/xueqiu/search.d.ts +1 -0
  287. package/dist/clis/xueqiu/search.js +49 -0
  288. package/dist/clis/xueqiu/stock.d.ts +1 -0
  289. package/dist/clis/xueqiu/stock.js +72 -0
  290. package/dist/clis/xueqiu/watchlist.d.ts +1 -0
  291. package/dist/clis/xueqiu/watchlist.js +45 -0
  292. package/dist/clis/zhihu/hot.d.ts +1 -0
  293. package/dist/clis/zhihu/hot.js +43 -0
  294. package/dist/clis/zhihu/search.d.ts +1 -0
  295. package/dist/clis/zhihu/search.js +52 -0
  296. package/dist/src/browser/daemon-client.d.ts +14 -3
  297. package/dist/src/browser/daemon-client.js +30 -14
  298. package/dist/src/browser/dom-helpers.test.js +3 -2
  299. package/dist/src/browser/errors.d.ts +26 -1
  300. package/dist/src/browser/errors.js +40 -7
  301. package/dist/src/browser/errors.test.d.ts +1 -0
  302. package/dist/src/browser/errors.test.js +51 -0
  303. package/dist/src/browser/page.d.ts +9 -8
  304. package/dist/src/browser/page.js +33 -31
  305. package/dist/src/browser.test.js +26 -6
  306. package/dist/src/build-manifest.d.ts +5 -11
  307. package/dist/src/build-manifest.js +6 -75
  308. package/dist/src/build-manifest.test.js +1 -39
  309. package/dist/src/cascade.js +3 -2
  310. package/dist/src/cli.d.ts +3 -3
  311. package/dist/src/cli.js +70 -62
  312. package/dist/src/cli.test.js +20 -15
  313. package/dist/src/clis/binance/asks.d.ts +1 -0
  314. package/dist/src/clis/binance/asks.js +20 -0
  315. package/dist/src/clis/binance/commands.test.d.ts +3 -1
  316. package/dist/src/clis/binance/commands.test.js +10 -6
  317. package/dist/src/clis/binance/depth.d.ts +1 -0
  318. package/dist/src/clis/binance/depth.js +20 -0
  319. package/dist/src/clis/binance/gainers.d.ts +1 -0
  320. package/dist/src/clis/binance/gainers.js +21 -0
  321. package/dist/src/clis/binance/klines.d.ts +1 -0
  322. package/dist/src/clis/binance/klines.js +20 -0
  323. package/dist/src/clis/binance/losers.d.ts +1 -0
  324. package/dist/src/clis/binance/losers.js +21 -0
  325. package/dist/src/clis/binance/pairs.d.ts +1 -0
  326. package/dist/src/clis/binance/pairs.js +20 -0
  327. package/dist/src/clis/binance/price.d.ts +1 -0
  328. package/dist/src/clis/binance/price.js +17 -0
  329. package/dist/src/clis/binance/prices.d.ts +1 -0
  330. package/dist/src/clis/binance/prices.js +18 -0
  331. package/dist/src/clis/binance/ticker.d.ts +1 -0
  332. package/dist/src/clis/binance/ticker.js +20 -0
  333. package/dist/src/clis/binance/top.d.ts +1 -0
  334. package/dist/src/clis/binance/top.js +20 -0
  335. package/dist/src/clis/binance/trades.d.ts +1 -0
  336. package/dist/src/clis/binance/trades.js +19 -0
  337. package/dist/src/completion-fast.d.ts +25 -0
  338. package/dist/src/completion-fast.js +140 -0
  339. package/dist/src/completion.d.ts +1 -0
  340. package/dist/src/completion.js +1 -0
  341. package/dist/src/diagnostic.test.js +2 -2
  342. package/dist/src/discovery.d.ts +3 -3
  343. package/dist/src/discovery.js +34 -97
  344. package/dist/src/download/index.d.ts +1 -1
  345. package/dist/src/engine.test.js +4 -19
  346. package/dist/src/generate-verified.d.ts +105 -0
  347. package/dist/src/generate-verified.js +696 -0
  348. package/dist/src/generate-verified.test.d.ts +1 -0
  349. package/dist/src/generate-verified.test.js +925 -0
  350. package/dist/src/generate.d.ts +9 -1
  351. package/dist/src/generate.js +2 -2
  352. package/dist/src/main.js +65 -12
  353. package/dist/src/pipeline/steps/download.d.ts +1 -17
  354. package/dist/src/pipeline/steps/download.js +20 -31
  355. package/dist/src/pipeline/steps/intercept.d.ts +1 -1
  356. package/dist/src/pipeline/steps/intercept.js +1 -1
  357. package/dist/src/pipeline/steps/tap.d.ts +1 -1
  358. package/dist/src/pipeline/steps/tap.js +1 -1
  359. package/dist/src/plugin-scaffold.d.ts +2 -2
  360. package/dist/src/plugin-scaffold.js +24 -21
  361. package/dist/src/plugin-scaffold.test.js +1 -1
  362. package/dist/src/plugin.d.ts +1 -1
  363. package/dist/src/plugin.js +4 -6
  364. package/dist/src/plugin.test.js +31 -31
  365. package/dist/src/record.js +26 -25
  366. package/dist/src/runtime-detect.js +3 -7
  367. package/dist/src/scripts/framework.d.ts +3 -0
  368. package/dist/src/scripts/framework.js +8 -4
  369. package/dist/src/scripts/store.d.ts +5 -1
  370. package/dist/src/scripts/store.js +5 -1
  371. package/dist/src/skill-generate.d.ts +30 -0
  372. package/dist/src/skill-generate.js +75 -0
  373. package/dist/src/skill-generate.test.d.ts +1 -0
  374. package/dist/src/skill-generate.test.js +173 -0
  375. package/dist/src/synthesize.d.ts +1 -1
  376. package/dist/src/synthesize.js +7 -8
  377. package/dist/src/types.d.ts +3 -1
  378. package/package.json +3 -3
  379. package/dist/clis/bilibili/hot.yaml +0 -38
  380. package/dist/clis/bluesky/feeds.yaml +0 -29
  381. package/dist/clis/bluesky/followers.yaml +0 -33
  382. package/dist/clis/bluesky/following.yaml +0 -33
  383. package/dist/clis/bluesky/profile.yaml +0 -27
  384. package/dist/clis/bluesky/search.yaml +0 -34
  385. package/dist/clis/bluesky/starter-packs.yaml +0 -34
  386. package/dist/clis/bluesky/thread.yaml +0 -32
  387. package/dist/clis/bluesky/trending.yaml +0 -27
  388. package/dist/clis/bluesky/user.yaml +0 -34
  389. package/dist/clis/devto/tag.yaml +0 -34
  390. package/dist/clis/devto/top.yaml +0 -29
  391. package/dist/clis/devto/user.yaml +0 -33
  392. package/dist/clis/dictionary/examples.yaml +0 -25
  393. package/dist/clis/dictionary/search.yaml +0 -27
  394. package/dist/clis/dictionary/synonyms.yaml +0 -25
  395. package/dist/clis/douban/subject.yaml +0 -107
  396. package/dist/clis/douban/top250.yaml +0 -70
  397. package/dist/clis/facebook/add-friend.yaml +0 -43
  398. package/dist/clis/facebook/events.yaml +0 -44
  399. package/dist/clis/facebook/feed.yaml +0 -63
  400. package/dist/clis/facebook/friends.yaml +0 -42
  401. package/dist/clis/facebook/groups.yaml +0 -50
  402. package/dist/clis/facebook/join-group.yaml +0 -44
  403. package/dist/clis/facebook/memories.yaml +0 -39
  404. package/dist/clis/facebook/notifications.yaml +0 -40
  405. package/dist/clis/facebook/profile.yaml +0 -37
  406. package/dist/clis/facebook/search.yaml +0 -47
  407. package/dist/clis/hackernews/ask.yaml +0 -38
  408. package/dist/clis/hackernews/best.yaml +0 -38
  409. package/dist/clis/hackernews/jobs.yaml +0 -36
  410. package/dist/clis/hackernews/new.yaml +0 -38
  411. package/dist/clis/hackernews/search.yaml +0 -44
  412. package/dist/clis/hackernews/show.yaml +0 -38
  413. package/dist/clis/hackernews/top.yaml +0 -38
  414. package/dist/clis/hackernews/user.yaml +0 -25
  415. package/dist/clis/hupu/hot.yaml +0 -43
  416. package/dist/clis/instagram/comment.yaml +0 -52
  417. package/dist/clis/instagram/explore.yaml +0 -43
  418. package/dist/clis/instagram/follow.yaml +0 -41
  419. package/dist/clis/instagram/followers.yaml +0 -51
  420. package/dist/clis/instagram/following.yaml +0 -51
  421. package/dist/clis/instagram/like.yaml +0 -46
  422. package/dist/clis/instagram/profile.yaml +0 -42
  423. package/dist/clis/instagram/save.yaml +0 -46
  424. package/dist/clis/instagram/saved.yaml +0 -40
  425. package/dist/clis/instagram/search.yaml +0 -44
  426. package/dist/clis/instagram/unfollow.yaml +0 -38
  427. package/dist/clis/instagram/unlike.yaml +0 -46
  428. package/dist/clis/instagram/unsave.yaml +0 -46
  429. package/dist/clis/instagram/user.yaml +0 -54
  430. package/dist/clis/jike/post.yaml +0 -59
  431. package/dist/clis/jike/topic.yaml +0 -53
  432. package/dist/clis/jike/user.yaml +0 -52
  433. package/dist/clis/jimeng/generate.yaml +0 -85
  434. package/dist/clis/jimeng/history.yaml +0 -46
  435. package/dist/clis/linux-do/categories.yaml +0 -70
  436. package/dist/clis/linux-do/search.yaml +0 -48
  437. package/dist/clis/linux-do/tags.yaml +0 -41
  438. package/dist/clis/linux-do/topic.yaml +0 -62
  439. package/dist/clis/linux-do/user-posts.yaml +0 -67
  440. package/dist/clis/linux-do/user-topics.yaml +0 -54
  441. package/dist/clis/lobsters/active.yaml +0 -29
  442. package/dist/clis/lobsters/hot.yaml +0 -29
  443. package/dist/clis/lobsters/newest.yaml +0 -29
  444. package/dist/clis/lobsters/tag.yaml +0 -34
  445. package/dist/clis/pixiv/detail.yaml +0 -49
  446. package/dist/clis/pixiv/ranking.yaml +0 -53
  447. package/dist/clis/pixiv/user.yaml +0 -46
  448. package/dist/clis/reddit/frontpage.yaml +0 -30
  449. package/dist/clis/reddit/hot.yaml +0 -47
  450. package/dist/clis/reddit/popular.yaml +0 -40
  451. package/dist/clis/reddit/search.yaml +0 -61
  452. package/dist/clis/reddit/subreddit.yaml +0 -50
  453. package/dist/clis/reddit/user-comments.yaml +0 -46
  454. package/dist/clis/reddit/user-posts.yaml +0 -44
  455. package/dist/clis/reddit/user.yaml +0 -40
  456. package/dist/clis/stackoverflow/bounties.yaml +0 -29
  457. package/dist/clis/stackoverflow/hot.yaml +0 -28
  458. package/dist/clis/stackoverflow/search.yaml +0 -33
  459. package/dist/clis/stackoverflow/unanswered.yaml +0 -28
  460. package/dist/clis/steam/top-sellers.yaml +0 -29
  461. package/dist/clis/tiktok/comment.yaml +0 -66
  462. package/dist/clis/tiktok/explore.yaml +0 -39
  463. package/dist/clis/tiktok/follow.yaml +0 -39
  464. package/dist/clis/tiktok/following.yaml +0 -46
  465. package/dist/clis/tiktok/friends.yaml +0 -47
  466. package/dist/clis/tiktok/like.yaml +0 -38
  467. package/dist/clis/tiktok/live.yaml +0 -51
  468. package/dist/clis/tiktok/notifications.yaml +0 -52
  469. package/dist/clis/tiktok/profile.yaml +0 -45
  470. package/dist/clis/tiktok/save.yaml +0 -34
  471. package/dist/clis/tiktok/search.yaml +0 -47
  472. package/dist/clis/tiktok/unfollow.yaml +0 -44
  473. package/dist/clis/tiktok/unlike.yaml +0 -38
  474. package/dist/clis/tiktok/unsave.yaml +0 -36
  475. package/dist/clis/tiktok/user.yaml +0 -44
  476. package/dist/clis/v2ex/hot.yaml +0 -28
  477. package/dist/clis/v2ex/latest.yaml +0 -28
  478. package/dist/clis/v2ex/member.yaml +0 -29
  479. package/dist/clis/v2ex/node.yaml +0 -34
  480. package/dist/clis/v2ex/nodes.yaml +0 -31
  481. package/dist/clis/v2ex/replies.yaml +0 -32
  482. package/dist/clis/v2ex/topic.yaml +0 -33
  483. package/dist/clis/v2ex/user.yaml +0 -34
  484. package/dist/clis/xiaoe/catalog.yaml +0 -129
  485. package/dist/clis/xiaoe/content.yaml +0 -43
  486. package/dist/clis/xiaoe/courses.yaml +0 -73
  487. package/dist/clis/xiaoe/detail.yaml +0 -39
  488. package/dist/clis/xiaoe/play-url.yaml +0 -124
  489. package/dist/clis/xiaohongshu/feed.yaml +0 -31
  490. package/dist/clis/xiaohongshu/notifications.yaml +0 -37
  491. package/dist/clis/xueqiu/earnings-date.yaml +0 -69
  492. package/dist/clis/xueqiu/feed.yaml +0 -53
  493. package/dist/clis/xueqiu/groups.yaml +0 -23
  494. package/dist/clis/xueqiu/hot-stock.yaml +0 -49
  495. package/dist/clis/xueqiu/hot.yaml +0 -46
  496. package/dist/clis/xueqiu/kline.yaml +0 -65
  497. package/dist/clis/xueqiu/search.yaml +0 -55
  498. package/dist/clis/xueqiu/stock.yaml +0 -69
  499. package/dist/clis/xueqiu/watchlist.yaml +0 -46
  500. package/dist/clis/zhihu/hot.yaml +0 -46
  501. package/dist/clis/zhihu/search.yaml +0 -59
  502. package/dist/src/yaml-schema.d.ts +0 -29
  503. package/dist/src/yaml-schema.js +0 -22
@@ -1,46 +0,0 @@
1
- site: jimeng
2
- name: history
3
- description: 即梦AI 查看最近生成的作品
4
- domain: jimeng.jianying.com
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- limit:
10
- type: int
11
- default: 5
12
-
13
- columns: [prompt, model, status, image_url, created_at]
14
-
15
- pipeline:
16
- - navigate: https://jimeng.jianying.com/ai-tool/generate?type=image&workspace=0
17
- - evaluate: |
18
- (async () => {
19
- const limit = ${{ args.limit }};
20
- const res = await fetch('/mweb/v1/get_history?aid=513695&device_platform=web&region=cn&da_version=3.3.11&web_version=7.5.0&aigc_features=app_lip_sync', {
21
- method: 'POST',
22
- credentials: 'include',
23
- headers: { 'Content-Type': 'application/json' },
24
- body: JSON.stringify({ cursor: '', count: limit, need_page_item: true, need_aigc_data: true, aigc_mode_list: ['workbench'] })
25
- });
26
- const data = await res.json();
27
- const items = data?.data?.history_list || [];
28
- return items.slice(0, limit).map(item => {
29
- const params = item.aigc_image_params?.text2image_params || {};
30
- const images = item.image?.large_images || [];
31
- return {
32
- prompt: params.prompt || item.common_attr?.title || 'N/A',
33
- model: params.model_config?.model_name || 'unknown',
34
- status: item.common_attr?.status === 102 ? 'completed' : 'pending',
35
- image_url: images[0]?.image_url || '',
36
- created_at: new Date((item.common_attr?.create_time || 0) * 1000).toLocaleString('zh-CN'),
37
- };
38
- });
39
- })()
40
- - map:
41
- prompt: ${{ item.prompt }}
42
- model: ${{ item.model }}
43
- status: ${{ item.status }}
44
- image_url: ${{ item.image_url }}
45
- created_at: ${{ item.created_at }}
46
- - limit: ${{ args.limit }}
@@ -1,70 +0,0 @@
1
- site: linux-do
2
- name: categories
3
- description: linux.do 分类列表
4
- domain: linux.do
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- subcategories:
10
- type: boolean
11
- default: false
12
- description: Include subcategories
13
- limit:
14
- type: int
15
- default: 20
16
- description: Number of categories
17
-
18
- pipeline:
19
- - navigate: https://linux.do
20
-
21
- - evaluate: |
22
- (async () => {
23
- const res = await fetch('/categories.json', { credentials: 'include' });
24
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
25
- let data;
26
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
27
- const cats = data?.category_list?.categories || [];
28
- const showSub = ${{ args.subcategories }};
29
- const results = [];
30
- const limit = ${{ args.limit }};
31
- for (const c of cats.slice(0, ${{ args.limit }})) {
32
- results.push({
33
- name: c.name,
34
- slug: c.slug,
35
- id: c.id,
36
- topics: c.topic_count,
37
- description: (c.description_text || '').slice(0, 80),
38
- });
39
- if (results.length >= limit) break;
40
- if (showSub && c.subcategory_ids && c.subcategory_ids.length > 0) {
41
- const subRes = await fetch('/categories.json?parent_category_id=' + c.id, { credentials: 'include' });
42
- if (subRes.ok) {
43
- let subData;
44
- try { subData = await subRes.json(); } catch { continue; }
45
- const subCats = subData?.category_list?.categories || [];
46
- for (const sc of subCats) {
47
- results.push({
48
- name: c.name + ' / ' + sc.name,
49
- slug: sc.slug,
50
- id: sc.id,
51
- topics: sc.topic_count,
52
- description: (sc.description_text || '').slice(0, 80),
53
- });
54
- if (results.length >= limit) break;
55
- }
56
- }
57
- }
58
- if (results.length >= limit) break;
59
- }
60
- return results;
61
- })()
62
-
63
- - map:
64
- name: ${{ item.name }}
65
- slug: ${{ item.slug }}
66
- id: ${{ item.id }}
67
- topics: ${{ item.topics }}
68
- description: ${{ item.description }}
69
-
70
- columns: [name, slug, id, topics, description]
@@ -1,48 +0,0 @@
1
- site: linux-do
2
- name: search
3
- description: 搜索 linux.do
4
- domain: linux.do
5
- browser: true
6
-
7
- args:
8
- query:
9
- positional: true
10
- type: str
11
- required: true
12
- description: Search query
13
- limit:
14
- type: int
15
- default: 20
16
- description: Number of results
17
-
18
- pipeline:
19
- - navigate: https://linux.do
20
-
21
- - evaluate: |
22
- (async () => {
23
- const keyword = ${{ args.query | json }};
24
- const res = await fetch('/search.json?q=' + encodeURIComponent(keyword), { credentials: 'include' });
25
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
26
- let data;
27
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
28
- const topics = data?.topics || [];
29
- return topics.slice(0, ${{ args.limit }}).map(t => ({
30
- title: t.title,
31
- views: t.views,
32
- likes: t.like_count,
33
- replies: (t.posts_count || 1) - 1,
34
- url: 'https://linux.do/t/topic/' + t.id,
35
- }));
36
- })()
37
-
38
- - map:
39
- rank: ${{ index + 1 }}
40
- title: ${{ item.title }}
41
- views: ${{ item.views }}
42
- likes: ${{ item.likes }}
43
- replies: ${{ item.replies }}
44
- url: ${{ item.url }}
45
-
46
- - limit: ${{ args.limit }}
47
-
48
- columns: [rank, title, views, likes, replies, url]
@@ -1,41 +0,0 @@
1
- site: linux-do
2
- name: tags
3
- description: linux.do 标签列表
4
- domain: linux.do
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- limit:
10
- type: int
11
- default: 30
12
- description: Number of tags
13
-
14
- pipeline:
15
- - navigate: https://linux.do
16
-
17
- - evaluate: |
18
- (async () => {
19
- const res = await fetch('/tags.json', { credentials: 'include' });
20
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
21
- let data;
22
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
23
- let tags = data?.tags || [];
24
- tags.sort((a, b) => (b.count || 0) - (a.count || 0));
25
- return tags.slice(0, ${{ args.limit }}).map(t => ({
26
- id: t.id,
27
- name: t.name || t.id,
28
- slug: t.slug,
29
- count: t.count || 0,
30
- }));
31
- })()
32
-
33
- - map:
34
- rank: ${{ index + 1 }}
35
- name: ${{ item.name }}
36
- count: ${{ item.count }}
37
- slug: ${{ item.slug }}
38
- id: ${{ item.id }}
39
- url: https://linux.do/tag/${{ item.slug }}
40
-
41
- columns: [rank, name, count, url]
@@ -1,62 +0,0 @@
1
- site: linux-do
2
- name: topic
3
- description: linux.do 帖子首页摘要和回复(首屏)
4
- domain: linux.do
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- id:
10
- positional: true
11
- type: int
12
- required: true
13
- description: Topic ID
14
- limit:
15
- type: int
16
- default: 20
17
- description: Number of posts
18
-
19
- pipeline:
20
- - navigate: https://linux.do
21
-
22
- - evaluate: |
23
- (async () => {
24
- const toLocalTime = (utcStr) => {
25
- if (!utcStr) return '';
26
- const date = new Date(utcStr);
27
- return Number.isNaN(date.getTime()) ? utcStr : date.toLocaleString();
28
- };
29
- const res = await fetch('/t/${{ args.id }}.json', { credentials: 'include' });
30
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
31
- let data;
32
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
33
- const strip = (html) => (html || '')
34
- .replace(/<br\s*\/?>/gi, ' ')
35
- .replace(/<\/(p|div|li|blockquote|h[1-6])>/gi, ' ')
36
- .replace(/<[^>]+>/g, '')
37
- .replace(/&nbsp;/g, ' ')
38
- .replace(/&amp;/g, '&')
39
- .replace(/&lt;/g, '<')
40
- .replace(/&gt;/g, '>')
41
- .replace(/&quot;/g, '"')
42
- .replace(/&#(?:(\d+)|x([0-9a-fA-F]+));/g, (_, dec, hex) => {
43
- try { return String.fromCodePoint(dec !== undefined ? Number(dec) : parseInt(hex, 16)); } catch { return ''; }
44
- })
45
- .replace(/\s+/g, ' ')
46
- .trim();
47
- const posts = data?.post_stream?.posts || [];
48
- return posts.slice(0, ${{ args.limit }}).map(p => ({
49
- author: p.username,
50
- content: strip(p.cooked).slice(0, 200),
51
- likes: p.like_count,
52
- created_at: toLocalTime(p.created_at),
53
- }));
54
- })()
55
-
56
- - map:
57
- author: ${{ item.author }}
58
- content: ${{ item.content }}
59
- likes: ${{ item.likes }}
60
- created_at: ${{ item.created_at }}
61
-
62
- columns: [author, content, likes, created_at]
@@ -1,67 +0,0 @@
1
- site: linux-do
2
- name: user-posts
3
- description: linux.do 用户的帖子
4
- domain: linux.do
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- username:
10
- positional: true
11
- type: str
12
- required: true
13
- description: Username
14
- limit:
15
- type: int
16
- default: 20
17
- description: Number of posts
18
-
19
- pipeline:
20
- - navigate: https://linux.do
21
-
22
- - evaluate: |
23
- (async () => {
24
- const username = ${{ args.username | json }};
25
- const toLocalTime = (utcStr) => {
26
- if (!utcStr) return '';
27
- const date = new Date(utcStr);
28
- return Number.isNaN(date.getTime()) ? utcStr : date.toLocaleString();
29
- };
30
- const strip = (html) => (html || '')
31
- .replace(/<br\s*\/?>/gi, ' ')
32
- .replace(/<\/(p|div|li|blockquote|h[1-6])>/gi, ' ')
33
- .replace(/<[^>]+>/g, '')
34
- .replace(/&nbsp;/g, ' ')
35
- .replace(/&amp;/g, '&')
36
- .replace(/&lt;/g, '<')
37
- .replace(/&gt;/g, '>')
38
- .replace(/&quot;/g, '"')
39
- .replace(/&#(?:(\d+)|x([0-9a-fA-F]+));/g, (_, dec, hex) => {
40
- try { return String.fromCodePoint(dec !== undefined ? Number(dec) : parseInt(hex, 16)); } catch { return ''; }
41
- })
42
- .replace(/\s+/g, ' ')
43
- .trim();
44
- const limit = ${{ args.limit | default(20) }};
45
- const res = await fetch('/user_actions.json?username=' + encodeURIComponent(username) + '&filter=5&offset=0&limit=' + limit, { credentials: 'include' });
46
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
47
- let data;
48
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
49
- const actions = data?.user_actions || [];
50
- return actions.slice(0, limit).map(a => ({
51
- author: a.acting_username || a.username || '',
52
- title: a.title || '',
53
- content: strip(a.excerpt).slice(0, 200),
54
- created_at: toLocalTime(a.created_at),
55
- url: 'https://linux.do/t/topic/' + a.topic_id + '/' + a.post_number,
56
- }));
57
- })()
58
-
59
- - map:
60
- index: ${{ index + 1 }}
61
- topic_user: ${{ item.author }}
62
- topic: ${{ item.title }}
63
- reply: ${{ item.content }}
64
- time: ${{ item.created_at }}
65
- url: ${{ item.url }}
66
-
67
- columns: [index, topic_user, topic, reply, time, url]
@@ -1,54 +0,0 @@
1
- site: linux-do
2
- name: user-topics
3
- description: linux.do 用户创建的话题
4
- domain: linux.do
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- username:
10
- positional: true
11
- type: str
12
- required: true
13
- description: Username
14
- limit:
15
- type: int
16
- default: 20
17
- description: Number of topics
18
-
19
- pipeline:
20
- - navigate: https://linux.do
21
-
22
- - evaluate: |
23
- (async () => {
24
- const username = ${{ args.username | json }};
25
- const toLocalTime = (utcStr) => {
26
- if (!utcStr) return '';
27
- const date = new Date(utcStr);
28
- return Number.isNaN(date.getTime()) ? utcStr : date.toLocaleString();
29
- };
30
- const res = await fetch('/topics/created-by/' + encodeURIComponent(username) + '.json', { credentials: 'include' });
31
- if (!res.ok) throw new Error('HTTP ' + res.status + ' - 请先登录 linux.do');
32
- let data;
33
- try { data = await res.json(); } catch { throw new Error('响应不是有效 JSON - 请先登录 linux.do'); }
34
- const topics = data?.topic_list?.topics || [];
35
- return topics.slice(0, ${{ args.limit }}).map(t => ({
36
- title: t.fancy_title || t.title || '',
37
- replies: t.posts_count || 0,
38
- created_at: toLocalTime(t.created_at),
39
- likes: t.like_count || 0,
40
- views: t.views || 0,
41
- url: 'https://linux.do/t/topic/' + t.id,
42
- }));
43
- })()
44
-
45
- - map:
46
- rank: ${{ index + 1 }}
47
- title: ${{ item.title }}
48
- replies: ${{ item.replies }}
49
- created_at: ${{ item.created_at }}
50
- likes: ${{ item.likes }}
51
- views: ${{ item.views }}
52
- url: ${{ item.url }}
53
-
54
- columns: [rank, title, replies, created_at, likes, views, url]
@@ -1,29 +0,0 @@
1
- site: lobsters
2
- name: active
3
- description: Lobste.rs most active discussions
4
- domain: lobste.rs
5
- strategy: public
6
- browser: false
7
-
8
- args:
9
- limit:
10
- type: int
11
- default: 20
12
- description: Number of stories
13
-
14
- pipeline:
15
- - fetch:
16
- url: https://lobste.rs/active.json
17
-
18
- - map:
19
- rank: ${{ index + 1 }}
20
- title: ${{ item.title }}
21
- score: ${{ item.score }}
22
- author: ${{ item.submitter_user }}
23
- comments: ${{ item.comment_count }}
24
- tags: ${{ item.tags | join(', ') }}
25
- url: ${{ item.comments_url }}
26
-
27
- - limit: ${{ args.limit }}
28
-
29
- columns: [rank, title, score, author, comments, tags]
@@ -1,29 +0,0 @@
1
- site: lobsters
2
- name: hot
3
- description: Lobste.rs hottest stories
4
- domain: lobste.rs
5
- strategy: public
6
- browser: false
7
-
8
- args:
9
- limit:
10
- type: int
11
- default: 20
12
- description: Number of stories
13
-
14
- pipeline:
15
- - fetch:
16
- url: https://lobste.rs/hottest.json
17
-
18
- - map:
19
- rank: ${{ index + 1 }}
20
- title: ${{ item.title }}
21
- score: ${{ item.score }}
22
- author: ${{ item.submitter_user }}
23
- comments: ${{ item.comment_count }}
24
- tags: ${{ item.tags | join(', ') }}
25
- url: ${{ item.comments_url }}
26
-
27
- - limit: ${{ args.limit }}
28
-
29
- columns: [rank, title, score, author, comments, tags]
@@ -1,29 +0,0 @@
1
- site: lobsters
2
- name: newest
3
- description: Lobste.rs newest stories
4
- domain: lobste.rs
5
- strategy: public
6
- browser: false
7
-
8
- args:
9
- limit:
10
- type: int
11
- default: 20
12
- description: Number of stories
13
-
14
- pipeline:
15
- - fetch:
16
- url: https://lobste.rs/newest.json
17
-
18
- - map:
19
- rank: ${{ index + 1 }}
20
- title: ${{ item.title }}
21
- score: ${{ item.score }}
22
- author: ${{ item.submitter_user }}
23
- comments: ${{ item.comment_count }}
24
- tags: ${{ item.tags | join(', ') }}
25
- url: ${{ item.comments_url }}
26
-
27
- - limit: ${{ args.limit }}
28
-
29
- columns: [rank, title, score, author, comments, tags]
@@ -1,34 +0,0 @@
1
- site: lobsters
2
- name: tag
3
- description: Lobste.rs stories by tag
4
- domain: lobste.rs
5
- strategy: public
6
- browser: false
7
-
8
- args:
9
- tag:
10
- type: str
11
- required: true
12
- positional: true
13
- description: "Tag name (e.g. programming, rust, security, ai)"
14
- limit:
15
- type: int
16
- default: 20
17
- description: Number of stories
18
-
19
- pipeline:
20
- - fetch:
21
- url: https://lobste.rs/t/${{ args.tag }}.json
22
-
23
- - map:
24
- rank: ${{ index + 1 }}
25
- title: ${{ item.title }}
26
- score: ${{ item.score }}
27
- author: ${{ item.submitter_user }}
28
- comments: ${{ item.comment_count }}
29
- tags: ${{ item.tags | join(', ') }}
30
- url: ${{ item.comments_url }}
31
-
32
- - limit: ${{ args.limit }}
33
-
34
- columns: [rank, title, score, author, comments, tags]
@@ -1,49 +0,0 @@
1
- site: pixiv
2
- name: detail
3
- description: View illustration details (tags, stats, URLs)
4
- domain: www.pixiv.net
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- id:
10
- type: str
11
- required: true
12
- positional: true
13
- description: Illustration ID
14
-
15
- pipeline:
16
- - navigate: https://www.pixiv.net
17
-
18
- - evaluate: |
19
- (async () => {
20
- const id = ${{ args.id | json }};
21
- const res = await fetch(
22
- 'https://www.pixiv.net/ajax/illust/' + id,
23
- { credentials: 'include' }
24
- );
25
- if (!res.ok) {
26
- if (res.status === 401 || res.status === 403) throw new Error('Authentication required — please log in to Pixiv in Chrome');
27
- if (res.status === 404) throw new Error('Illustration not found: ' + id);
28
- throw new Error('Pixiv request failed (HTTP ' + res.status + ')');
29
- }
30
- const data = await res.json();
31
- const b = data?.body;
32
- if (!b) throw new Error('Illustration not found');
33
- return [{
34
- illust_id: b.illustId,
35
- title: b.illustTitle,
36
- author: b.userName,
37
- user_id: b.userId,
38
- type: b.illustType === 0 ? 'illust' : b.illustType === 1 ? 'manga' : b.illustType === 2 ? 'ugoira' : String(b.illustType),
39
- pages: b.pageCount,
40
- bookmarks: b.bookmarkCount,
41
- likes: b.likeCount,
42
- views: b.viewCount,
43
- tags: (b.tags?.tags || []).map(t => t.tag).join(', '),
44
- created: b.createDate?.split('T')[0] || '',
45
- url: 'https://www.pixiv.net/artworks/' + b.illustId
46
- }];
47
- })()
48
-
49
- columns: [illust_id, title, author, type, pages, bookmarks, likes, views, tags, created, url]
@@ -1,53 +0,0 @@
1
- site: pixiv
2
- name: ranking
3
- description: Pixiv illustration rankings (daily/weekly/monthly)
4
- domain: www.pixiv.net
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- mode:
10
- type: str
11
- default: daily
12
- description: Ranking mode
13
- choices: [daily, weekly, monthly, rookie, original, male, female, daily_r18, weekly_r18]
14
- page:
15
- type: int
16
- default: 1
17
- description: Page number
18
- limit:
19
- type: int
20
- default: 20
21
- description: Number of results
22
-
23
- pipeline:
24
- - navigate: https://www.pixiv.net
25
-
26
- - evaluate: |
27
- (async () => {
28
- const mode = ${{ args.mode | json }};
29
- const page = ${{ args.page | json }};
30
- const limit = ${{ args.limit | json }};
31
- const res = await fetch(
32
- 'https://www.pixiv.net/ranking.php?mode=' + mode + '&p=' + page + '&format=json',
33
- { credentials: 'include' }
34
- );
35
- if (!res.ok) {
36
- if (res.status === 401 || res.status === 403) throw new Error('Authentication required — please log in to Pixiv in Chrome');
37
- throw new Error('Pixiv request failed (HTTP ' + res.status + ')');
38
- }
39
- const data = await res.json();
40
- const items = (data?.contents || []).slice(0, limit);
41
- return items.map((item, i) => ({
42
- rank: item.rank,
43
- title: item.title,
44
- author: item.user_name,
45
- user_id: item.user_id,
46
- illust_id: item.illust_id,
47
- pages: item.illust_page_count,
48
- bookmarks: item.illust_bookmark_count,
49
- url: 'https://www.pixiv.net/artworks/' + item.illust_id
50
- }));
51
- })()
52
-
53
- columns: [rank, title, author, illust_id, pages, bookmarks]
@@ -1,46 +0,0 @@
1
- site: pixiv
2
- name: user
3
- description: View Pixiv artist profile
4
- domain: www.pixiv.net
5
- strategy: cookie
6
- browser: true
7
-
8
- args:
9
- uid:
10
- type: str
11
- required: true
12
- positional: true
13
- description: Pixiv user ID
14
-
15
- pipeline:
16
- - navigate: https://www.pixiv.net
17
-
18
- - evaluate: |
19
- (async () => {
20
- const uid = ${{ args.uid | json }};
21
- const res = await fetch(
22
- 'https://www.pixiv.net/ajax/user/' + uid + '?full=1',
23
- { credentials: 'include' }
24
- );
25
- if (!res.ok) {
26
- if (res.status === 401 || res.status === 403) throw new Error('Authentication required — please log in to Pixiv in Chrome');
27
- if (res.status === 404) throw new Error('User not found: ' + uid);
28
- throw new Error('Pixiv request failed (HTTP ' + res.status + ')');
29
- }
30
- const data = await res.json();
31
- const b = data?.body;
32
- if (!b) throw new Error('User not found');
33
- return [{
34
- user_id: uid,
35
- name: b.name,
36
- premium: b.premium ? 'Yes' : 'No',
37
- following: b.following,
38
- illusts: typeof b.illusts === 'object' ? Object.keys(b.illusts).length : (b.illusts || 0),
39
- manga: typeof b.manga === 'object' ? Object.keys(b.manga).length : (b.manga || 0),
40
- novels: typeof b.novels === 'object' ? Object.keys(b.novels).length : (b.novels || 0),
41
- comment: (b.comment || '').slice(0, 80),
42
- url: 'https://www.pixiv.net/users/' + uid
43
- }];
44
- })()
45
-
46
- columns: [user_id, name, premium, following, illusts, manga, novels, comment]