@jackwener/opencli 1.7.18 → 1.7.20
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.
- package/README.md +18 -17
- package/README.zh-CN.md +16 -18
- package/cli-manifest.json +311 -186
- package/clis/ctrip/ctrip.test.js +486 -1
- package/clis/ctrip/flight.js +136 -0
- package/clis/ctrip/hotel-search.js +132 -0
- package/clis/ctrip/utils.js +298 -0
- package/clis/google/search.js +16 -6
- package/clis/google-scholar/search.js +20 -5
- package/clis/google-scholar/search.test.js +35 -2
- package/clis/reddit/home.js +117 -0
- package/clis/reddit/home.test.js +127 -0
- package/clis/reddit/read.js +400 -54
- package/clis/reddit/read.test.js +315 -12
- package/clis/reddit/subreddit-info.js +117 -0
- package/clis/reddit/subreddit-info.test.js +163 -0
- package/clis/reddit/whoami.js +84 -0
- package/clis/reddit/whoami.test.js +105 -0
- package/clis/rednote/search.js +6 -2
- package/clis/twitter/bookmark-folder.js +8 -4
- package/clis/twitter/bookmark-folder.test.js +59 -1
- package/clis/twitter/bookmarks.js +12 -4
- package/clis/twitter/bookmarks.test.js +205 -0
- package/clis/twitter/followers.js +20 -5
- package/clis/twitter/followers.test.js +44 -0
- package/clis/twitter/following.js +36 -20
- package/clis/twitter/following.test.js +60 -8
- package/clis/twitter/likes.js +28 -13
- package/clis/twitter/likes.test.js +111 -1
- package/clis/twitter/list-add.js +128 -204
- package/clis/twitter/list-add.test.js +97 -1
- package/clis/twitter/list-tweets.js +13 -4
- package/clis/twitter/list-tweets.test.js +48 -0
- package/clis/twitter/lists.js +5 -2
- package/clis/twitter/post.js +23 -4
- package/clis/twitter/post.test.js +30 -0
- package/clis/twitter/profile.js +16 -8
- package/clis/twitter/profile.test.js +39 -0
- package/clis/twitter/reply.js +133 -10
- package/clis/twitter/reply.test.js +55 -0
- package/clis/twitter/search.js +188 -170
- package/clis/twitter/search.test.js +96 -258
- package/clis/twitter/shared.js +167 -16
- package/clis/twitter/shared.test.js +102 -1
- package/clis/twitter/timeline.js +3 -1
- package/clis/twitter/tweets.js +147 -51
- package/clis/twitter/tweets.test.js +238 -1
- package/clis/xiaohongshu/comments.js +23 -2
- package/clis/xiaohongshu/comments.test.js +63 -1
- package/clis/xiaohongshu/search.js +168 -13
- package/clis/xiaohongshu/search.test.js +82 -8
- package/clis/xueqiu/earnings-date.js +2 -2
- package/clis/xueqiu/kline.js +2 -2
- package/clis/xueqiu/utils.js +19 -0
- package/clis/xueqiu/utils.test.js +26 -0
- package/clis/zhihu/answer-detail.js +233 -0
- package/clis/zhihu/answer-detail.test.js +330 -0
- package/clis/zhihu/question.js +44 -10
- package/clis/zhihu/question.test.js +78 -1
- package/clis/zhihu/recommend.js +103 -0
- package/clis/zhihu/recommend.test.js +143 -0
- package/dist/src/browser/base-page.d.ts +3 -2
- package/dist/src/browser/base-page.test.js +2 -2
- package/dist/src/browser/cdp.js +3 -3
- package/dist/src/browser/daemon-client.d.ts +1 -0
- package/dist/src/browser/daemon-client.js +3 -0
- package/dist/src/browser/daemon-client.test.js +20 -0
- package/dist/src/browser/page.d.ts +3 -2
- package/dist/src/browser/page.js +4 -4
- package/dist/src/browser/page.test.js +31 -0
- package/dist/src/browser/utils.d.ts +10 -0
- package/dist/src/browser/utils.js +37 -0
- package/dist/src/browser/utils.test.d.ts +1 -0
- package/dist/src/browser/utils.test.js +29 -0
- package/dist/src/cli-argv-preprocess.d.ts +37 -0
- package/dist/src/cli-argv-preprocess.js +131 -0
- package/dist/src/cli-argv-preprocess.test.d.ts +1 -0
- package/dist/src/cli-argv-preprocess.test.js +130 -0
- package/dist/src/cli.js +131 -89
- package/dist/src/cli.test.js +34 -28
- package/dist/src/commands/daemon.js +6 -7
- package/dist/src/daemon-utils.d.ts +18 -0
- package/dist/src/daemon-utils.js +37 -0
- package/dist/src/daemon.d.ts +1 -1
- package/dist/src/daemon.js +44 -13
- package/dist/src/daemon.test.js +42 -1
- package/dist/src/doctor.js +15 -16
- package/dist/src/download/progress.js +15 -11
- package/dist/src/download/progress.test.d.ts +1 -0
- package/dist/src/download/progress.test.js +25 -0
- package/dist/src/electron-apps.js +0 -1
- package/dist/src/electron-apps.test.js +1 -0
- package/dist/src/execution.js +1 -3
- package/dist/src/execution.test.js +4 -16
- package/dist/src/external-clis.yaml +12 -3
- package/dist/src/external.d.ts +4 -0
- package/dist/src/external.js +3 -0
- package/dist/src/external.test.js +24 -1
- package/dist/src/help.d.ts +16 -1
- package/dist/src/help.js +50 -8
- package/dist/src/help.test.js +5 -1
- package/dist/src/logger.js +8 -9
- package/dist/src/main.js +16 -0
- package/dist/src/output.js +4 -5
- package/dist/src/runtime-detect.d.ts +1 -1
- package/dist/src/runtime-detect.js +1 -1
- package/dist/src/runtime-detect.test.js +3 -2
- package/dist/src/tui.d.ts +0 -1
- package/dist/src/tui.js +9 -22
- package/dist/src/types.d.ts +3 -1
- package/dist/src/update-check.js +4 -5
- package/package.json +5 -4
- package/clis/notion/export.js +0 -32
- package/clis/notion/favorites.js +0 -85
- package/clis/notion/new.js +0 -35
- package/clis/notion/read.js +0 -31
- package/clis/notion/search.js +0 -47
- package/clis/notion/sidebar.js +0 -42
- package/clis/notion/status.js +0 -17
- package/clis/notion/write.js +0 -41
package/cli-manifest.json
CHANGED
|
@@ -5842,6 +5842,122 @@
|
|
|
5842
5842
|
"modulePath": "crates/search.js",
|
|
5843
5843
|
"sourceFile": "crates/search.js"
|
|
5844
5844
|
},
|
|
5845
|
+
{
|
|
5846
|
+
"site": "ctrip",
|
|
5847
|
+
"name": "flight",
|
|
5848
|
+
"description": "搜索携程一程机票(按出发/到达 IATA 三字码 + 日期)",
|
|
5849
|
+
"access": "read",
|
|
5850
|
+
"domain": "flights.ctrip.com",
|
|
5851
|
+
"strategy": "cookie",
|
|
5852
|
+
"browser": true,
|
|
5853
|
+
"args": [
|
|
5854
|
+
{
|
|
5855
|
+
"name": "from",
|
|
5856
|
+
"type": "str",
|
|
5857
|
+
"required": true,
|
|
5858
|
+
"positional": true,
|
|
5859
|
+
"help": "Departure IATA code (e.g. BJS / PEK)"
|
|
5860
|
+
},
|
|
5861
|
+
{
|
|
5862
|
+
"name": "to",
|
|
5863
|
+
"type": "str",
|
|
5864
|
+
"required": true,
|
|
5865
|
+
"positional": true,
|
|
5866
|
+
"help": "Arrival IATA code (e.g. SHA / PVG)"
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
"name": "date",
|
|
5870
|
+
"type": "str",
|
|
5871
|
+
"required": true,
|
|
5872
|
+
"help": "Departure date (YYYY-MM-DD)"
|
|
5873
|
+
},
|
|
5874
|
+
{
|
|
5875
|
+
"name": "limit",
|
|
5876
|
+
"type": "int",
|
|
5877
|
+
"default": 20,
|
|
5878
|
+
"required": false,
|
|
5879
|
+
"help": "Number of flights (1-50)"
|
|
5880
|
+
}
|
|
5881
|
+
],
|
|
5882
|
+
"columns": [
|
|
5883
|
+
"rank",
|
|
5884
|
+
"airline",
|
|
5885
|
+
"flightNo",
|
|
5886
|
+
"aircraft",
|
|
5887
|
+
"departureTime",
|
|
5888
|
+
"departureAirport",
|
|
5889
|
+
"arrivalTime",
|
|
5890
|
+
"arrivalAirport",
|
|
5891
|
+
"terminal",
|
|
5892
|
+
"price",
|
|
5893
|
+
"currency",
|
|
5894
|
+
"cabin",
|
|
5895
|
+
"url"
|
|
5896
|
+
],
|
|
5897
|
+
"type": "js",
|
|
5898
|
+
"modulePath": "ctrip/flight.js",
|
|
5899
|
+
"sourceFile": "ctrip/flight.js",
|
|
5900
|
+
"navigateBefore": false
|
|
5901
|
+
},
|
|
5902
|
+
{
|
|
5903
|
+
"site": "ctrip",
|
|
5904
|
+
"name": "hotel-search",
|
|
5905
|
+
"description": "搜索携程酒店列表(按城市 + 入住/离店日期)",
|
|
5906
|
+
"access": "read",
|
|
5907
|
+
"domain": "hotels.ctrip.com",
|
|
5908
|
+
"strategy": "cookie",
|
|
5909
|
+
"browser": true,
|
|
5910
|
+
"args": [
|
|
5911
|
+
{
|
|
5912
|
+
"name": "city",
|
|
5913
|
+
"type": "str",
|
|
5914
|
+
"required": true,
|
|
5915
|
+
"positional": true,
|
|
5916
|
+
"help": "Numeric Ctrip city ID (use `ctrip search` or `ctrip hotel-suggest` to discover)"
|
|
5917
|
+
},
|
|
5918
|
+
{
|
|
5919
|
+
"name": "checkin",
|
|
5920
|
+
"type": "str",
|
|
5921
|
+
"required": true,
|
|
5922
|
+
"help": "Check-in date (YYYY-MM-DD)"
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
"name": "checkout",
|
|
5926
|
+
"type": "str",
|
|
5927
|
+
"required": true,
|
|
5928
|
+
"help": "Check-out date (YYYY-MM-DD)"
|
|
5929
|
+
},
|
|
5930
|
+
{
|
|
5931
|
+
"name": "limit",
|
|
5932
|
+
"type": "int",
|
|
5933
|
+
"default": 10,
|
|
5934
|
+
"required": false,
|
|
5935
|
+
"help": "Number of hotels (1-30); SSR first page returns ~13 entries"
|
|
5936
|
+
}
|
|
5937
|
+
],
|
|
5938
|
+
"columns": [
|
|
5939
|
+
"rank",
|
|
5940
|
+
"hotelId",
|
|
5941
|
+
"name",
|
|
5942
|
+
"enName",
|
|
5943
|
+
"star",
|
|
5944
|
+
"score",
|
|
5945
|
+
"scoreLabel",
|
|
5946
|
+
"reviewCount",
|
|
5947
|
+
"cityName",
|
|
5948
|
+
"district",
|
|
5949
|
+
"address",
|
|
5950
|
+
"lat",
|
|
5951
|
+
"lon",
|
|
5952
|
+
"price",
|
|
5953
|
+
"currency",
|
|
5954
|
+
"url"
|
|
5955
|
+
],
|
|
5956
|
+
"type": "js",
|
|
5957
|
+
"modulePath": "ctrip/hotel-search.js",
|
|
5958
|
+
"sourceFile": "ctrip/hotel-search.js",
|
|
5959
|
+
"navigateBefore": false
|
|
5960
|
+
},
|
|
5845
5961
|
{
|
|
5846
5962
|
"site": "ctrip",
|
|
5847
5963
|
"name": "hotel-suggest",
|
|
@@ -15637,181 +15753,6 @@
|
|
|
15637
15753
|
"sourceFile": "notebooklm/summary.js",
|
|
15638
15754
|
"navigateBefore": false
|
|
15639
15755
|
},
|
|
15640
|
-
{
|
|
15641
|
-
"site": "notion",
|
|
15642
|
-
"name": "export",
|
|
15643
|
-
"description": "Export the current Notion page as Markdown",
|
|
15644
|
-
"access": "read",
|
|
15645
|
-
"domain": "localhost",
|
|
15646
|
-
"strategy": "ui",
|
|
15647
|
-
"browser": true,
|
|
15648
|
-
"args": [
|
|
15649
|
-
{
|
|
15650
|
-
"name": "output",
|
|
15651
|
-
"type": "str",
|
|
15652
|
-
"required": false,
|
|
15653
|
-
"help": "Output file (default: /tmp/notion-export.md)"
|
|
15654
|
-
}
|
|
15655
|
-
],
|
|
15656
|
-
"columns": [
|
|
15657
|
-
"Status",
|
|
15658
|
-
"File"
|
|
15659
|
-
],
|
|
15660
|
-
"type": "js",
|
|
15661
|
-
"modulePath": "notion/export.js",
|
|
15662
|
-
"sourceFile": "notion/export.js",
|
|
15663
|
-
"navigateBefore": true
|
|
15664
|
-
},
|
|
15665
|
-
{
|
|
15666
|
-
"site": "notion",
|
|
15667
|
-
"name": "favorites",
|
|
15668
|
-
"description": "List pages from the Notion Favorites section in the sidebar",
|
|
15669
|
-
"access": "read",
|
|
15670
|
-
"domain": "localhost",
|
|
15671
|
-
"strategy": "ui",
|
|
15672
|
-
"browser": true,
|
|
15673
|
-
"args": [],
|
|
15674
|
-
"columns": [
|
|
15675
|
-
"Index",
|
|
15676
|
-
"Title",
|
|
15677
|
-
"Icon"
|
|
15678
|
-
],
|
|
15679
|
-
"type": "js",
|
|
15680
|
-
"modulePath": "notion/favorites.js",
|
|
15681
|
-
"sourceFile": "notion/favorites.js",
|
|
15682
|
-
"navigateBefore": true
|
|
15683
|
-
},
|
|
15684
|
-
{
|
|
15685
|
-
"site": "notion",
|
|
15686
|
-
"name": "new",
|
|
15687
|
-
"description": "Create a new page in Notion",
|
|
15688
|
-
"access": "write",
|
|
15689
|
-
"domain": "localhost",
|
|
15690
|
-
"strategy": "ui",
|
|
15691
|
-
"browser": true,
|
|
15692
|
-
"args": [
|
|
15693
|
-
{
|
|
15694
|
-
"name": "title",
|
|
15695
|
-
"type": "str",
|
|
15696
|
-
"required": false,
|
|
15697
|
-
"positional": true,
|
|
15698
|
-
"help": "Page title (optional)"
|
|
15699
|
-
}
|
|
15700
|
-
],
|
|
15701
|
-
"columns": [
|
|
15702
|
-
"Status"
|
|
15703
|
-
],
|
|
15704
|
-
"type": "js",
|
|
15705
|
-
"modulePath": "notion/new.js",
|
|
15706
|
-
"sourceFile": "notion/new.js",
|
|
15707
|
-
"navigateBefore": true
|
|
15708
|
-
},
|
|
15709
|
-
{
|
|
15710
|
-
"site": "notion",
|
|
15711
|
-
"name": "read",
|
|
15712
|
-
"description": "Read the content of the currently open Notion page",
|
|
15713
|
-
"access": "read",
|
|
15714
|
-
"domain": "localhost",
|
|
15715
|
-
"strategy": "ui",
|
|
15716
|
-
"browser": true,
|
|
15717
|
-
"args": [],
|
|
15718
|
-
"columns": [
|
|
15719
|
-
"Title",
|
|
15720
|
-
"Content"
|
|
15721
|
-
],
|
|
15722
|
-
"type": "js",
|
|
15723
|
-
"modulePath": "notion/read.js",
|
|
15724
|
-
"sourceFile": "notion/read.js",
|
|
15725
|
-
"navigateBefore": true
|
|
15726
|
-
},
|
|
15727
|
-
{
|
|
15728
|
-
"site": "notion",
|
|
15729
|
-
"name": "search",
|
|
15730
|
-
"description": "Search pages and databases in Notion via Quick Find (Cmd+P)",
|
|
15731
|
-
"access": "read",
|
|
15732
|
-
"domain": "localhost",
|
|
15733
|
-
"strategy": "ui",
|
|
15734
|
-
"browser": true,
|
|
15735
|
-
"args": [
|
|
15736
|
-
{
|
|
15737
|
-
"name": "query",
|
|
15738
|
-
"type": "str",
|
|
15739
|
-
"required": true,
|
|
15740
|
-
"positional": true,
|
|
15741
|
-
"help": "Search query"
|
|
15742
|
-
}
|
|
15743
|
-
],
|
|
15744
|
-
"columns": [
|
|
15745
|
-
"Index",
|
|
15746
|
-
"Title"
|
|
15747
|
-
],
|
|
15748
|
-
"type": "js",
|
|
15749
|
-
"modulePath": "notion/search.js",
|
|
15750
|
-
"sourceFile": "notion/search.js",
|
|
15751
|
-
"navigateBefore": true
|
|
15752
|
-
},
|
|
15753
|
-
{
|
|
15754
|
-
"site": "notion",
|
|
15755
|
-
"name": "sidebar",
|
|
15756
|
-
"description": "List pages and databases from the Notion sidebar",
|
|
15757
|
-
"access": "read",
|
|
15758
|
-
"domain": "localhost",
|
|
15759
|
-
"strategy": "ui",
|
|
15760
|
-
"browser": true,
|
|
15761
|
-
"args": [],
|
|
15762
|
-
"columns": [
|
|
15763
|
-
"Index",
|
|
15764
|
-
"Title"
|
|
15765
|
-
],
|
|
15766
|
-
"type": "js",
|
|
15767
|
-
"modulePath": "notion/sidebar.js",
|
|
15768
|
-
"sourceFile": "notion/sidebar.js",
|
|
15769
|
-
"navigateBefore": true
|
|
15770
|
-
},
|
|
15771
|
-
{
|
|
15772
|
-
"site": "notion",
|
|
15773
|
-
"name": "status",
|
|
15774
|
-
"description": "Check active CDP connection to Notion Desktop",
|
|
15775
|
-
"access": "read",
|
|
15776
|
-
"domain": "localhost",
|
|
15777
|
-
"strategy": "ui",
|
|
15778
|
-
"browser": true,
|
|
15779
|
-
"args": [],
|
|
15780
|
-
"columns": [
|
|
15781
|
-
"Status",
|
|
15782
|
-
"Url",
|
|
15783
|
-
"Title"
|
|
15784
|
-
],
|
|
15785
|
-
"type": "js",
|
|
15786
|
-
"modulePath": "notion/status.js",
|
|
15787
|
-
"sourceFile": "notion/status.js",
|
|
15788
|
-
"navigateBefore": true
|
|
15789
|
-
},
|
|
15790
|
-
{
|
|
15791
|
-
"site": "notion",
|
|
15792
|
-
"name": "write",
|
|
15793
|
-
"description": "Append text content to the currently open Notion page",
|
|
15794
|
-
"access": "write",
|
|
15795
|
-
"domain": "localhost",
|
|
15796
|
-
"strategy": "ui",
|
|
15797
|
-
"browser": true,
|
|
15798
|
-
"args": [
|
|
15799
|
-
{
|
|
15800
|
-
"name": "text",
|
|
15801
|
-
"type": "str",
|
|
15802
|
-
"required": true,
|
|
15803
|
-
"positional": true,
|
|
15804
|
-
"help": "Text to append to the page"
|
|
15805
|
-
}
|
|
15806
|
-
],
|
|
15807
|
-
"columns": [
|
|
15808
|
-
"Status"
|
|
15809
|
-
],
|
|
15810
|
-
"type": "js",
|
|
15811
|
-
"modulePath": "notion/write.js",
|
|
15812
|
-
"sourceFile": "notion/write.js",
|
|
15813
|
-
"navigateBefore": true
|
|
15814
|
-
},
|
|
15815
15756
|
{
|
|
15816
15757
|
"site": "nowcoder",
|
|
15817
15758
|
"name": "companies",
|
|
@@ -19083,6 +19024,39 @@
|
|
|
19083
19024
|
"navigateBefore": "https://reddit.com",
|
|
19084
19025
|
"siteSession": "persistent"
|
|
19085
19026
|
},
|
|
19027
|
+
{
|
|
19028
|
+
"site": "reddit",
|
|
19029
|
+
"name": "home",
|
|
19030
|
+
"description": "Reddit personalized home feed (Best, requires login)",
|
|
19031
|
+
"access": "read",
|
|
19032
|
+
"domain": "reddit.com",
|
|
19033
|
+
"strategy": "cookie",
|
|
19034
|
+
"browser": true,
|
|
19035
|
+
"args": [
|
|
19036
|
+
{
|
|
19037
|
+
"name": "limit",
|
|
19038
|
+
"type": "int",
|
|
19039
|
+
"default": 25,
|
|
19040
|
+
"required": false,
|
|
19041
|
+
"help": "Number of posts (1–100)"
|
|
19042
|
+
}
|
|
19043
|
+
],
|
|
19044
|
+
"columns": [
|
|
19045
|
+
"rank",
|
|
19046
|
+
"title",
|
|
19047
|
+
"subreddit",
|
|
19048
|
+
"score",
|
|
19049
|
+
"comments",
|
|
19050
|
+
"postId",
|
|
19051
|
+
"author",
|
|
19052
|
+
"url"
|
|
19053
|
+
],
|
|
19054
|
+
"type": "js",
|
|
19055
|
+
"modulePath": "reddit/home.js",
|
|
19056
|
+
"sourceFile": "reddit/home.js",
|
|
19057
|
+
"navigateBefore": "https://reddit.com",
|
|
19058
|
+
"siteSession": "persistent"
|
|
19059
|
+
},
|
|
19086
19060
|
{
|
|
19087
19061
|
"site": "reddit",
|
|
19088
19062
|
"name": "hot",
|
|
@@ -19203,6 +19177,20 @@
|
|
|
19203
19177
|
"default": 2000,
|
|
19204
19178
|
"required": false,
|
|
19205
19179
|
"help": "Max characters per comment body (min 100)"
|
|
19180
|
+
},
|
|
19181
|
+
{
|
|
19182
|
+
"name": "expand-more",
|
|
19183
|
+
"type": "bool",
|
|
19184
|
+
"default": false,
|
|
19185
|
+
"required": false,
|
|
19186
|
+
"help": "Follow Reddit \"more comments\" stubs by calling /api/morechildren.json"
|
|
19187
|
+
},
|
|
19188
|
+
{
|
|
19189
|
+
"name": "expand-rounds",
|
|
19190
|
+
"type": "int",
|
|
19191
|
+
"default": 2,
|
|
19192
|
+
"required": false,
|
|
19193
|
+
"help": "Max expansion passes when --expand-more is on (1–5; each round can fan out new \"more\" stubs)"
|
|
19206
19194
|
}
|
|
19207
19195
|
],
|
|
19208
19196
|
"columns": [
|
|
@@ -19424,6 +19412,33 @@
|
|
|
19424
19412
|
"navigateBefore": "https://reddit.com",
|
|
19425
19413
|
"siteSession": "persistent"
|
|
19426
19414
|
},
|
|
19415
|
+
{
|
|
19416
|
+
"site": "reddit",
|
|
19417
|
+
"name": "subreddit-info",
|
|
19418
|
+
"description": "Show metadata for a Reddit subreddit (subscribers, description, created date, NSFW)",
|
|
19419
|
+
"access": "read",
|
|
19420
|
+
"domain": "reddit.com",
|
|
19421
|
+
"strategy": "cookie",
|
|
19422
|
+
"browser": true,
|
|
19423
|
+
"args": [
|
|
19424
|
+
{
|
|
19425
|
+
"name": "name",
|
|
19426
|
+
"type": "string",
|
|
19427
|
+
"required": true,
|
|
19428
|
+
"positional": true,
|
|
19429
|
+
"help": "Subreddit name (no `r/` prefix needed)"
|
|
19430
|
+
}
|
|
19431
|
+
],
|
|
19432
|
+
"columns": [
|
|
19433
|
+
"field",
|
|
19434
|
+
"value"
|
|
19435
|
+
],
|
|
19436
|
+
"type": "js",
|
|
19437
|
+
"modulePath": "reddit/subreddit-info.js",
|
|
19438
|
+
"sourceFile": "reddit/subreddit-info.js",
|
|
19439
|
+
"navigateBefore": "https://reddit.com",
|
|
19440
|
+
"siteSession": "persistent"
|
|
19441
|
+
},
|
|
19427
19442
|
{
|
|
19428
19443
|
"site": "reddit",
|
|
19429
19444
|
"name": "subscribe",
|
|
@@ -19622,6 +19637,25 @@
|
|
|
19622
19637
|
"navigateBefore": "https://reddit.com",
|
|
19623
19638
|
"siteSession": "persistent"
|
|
19624
19639
|
},
|
|
19640
|
+
{
|
|
19641
|
+
"site": "reddit",
|
|
19642
|
+
"name": "whoami",
|
|
19643
|
+
"description": "Show the currently logged-in Reddit user",
|
|
19644
|
+
"access": "read",
|
|
19645
|
+
"domain": "reddit.com",
|
|
19646
|
+
"strategy": "cookie",
|
|
19647
|
+
"browser": true,
|
|
19648
|
+
"args": [],
|
|
19649
|
+
"columns": [
|
|
19650
|
+
"field",
|
|
19651
|
+
"value"
|
|
19652
|
+
],
|
|
19653
|
+
"type": "js",
|
|
19654
|
+
"modulePath": "reddit/whoami.js",
|
|
19655
|
+
"sourceFile": "reddit/whoami.js",
|
|
19656
|
+
"navigateBefore": "https://reddit.com",
|
|
19657
|
+
"siteSession": "persistent"
|
|
19658
|
+
},
|
|
19625
19659
|
{
|
|
19626
19660
|
"site": "rednote",
|
|
19627
19661
|
"name": "comments",
|
|
@@ -22502,7 +22536,9 @@
|
|
|
22502
22536
|
"retweets",
|
|
22503
22537
|
"bookmarks",
|
|
22504
22538
|
"created_at",
|
|
22505
|
-
"url"
|
|
22539
|
+
"url",
|
|
22540
|
+
"has_media",
|
|
22541
|
+
"media_urls"
|
|
22506
22542
|
],
|
|
22507
22543
|
"type": "js",
|
|
22508
22544
|
"modulePath": "twitter/bookmark-folder.js",
|
|
@@ -22563,7 +22599,9 @@
|
|
|
22563
22599
|
"retweets",
|
|
22564
22600
|
"bookmarks",
|
|
22565
22601
|
"created_at",
|
|
22566
|
-
"url"
|
|
22602
|
+
"url",
|
|
22603
|
+
"has_media",
|
|
22604
|
+
"media_urls"
|
|
22567
22605
|
],
|
|
22568
22606
|
"type": "js",
|
|
22569
22607
|
"modulePath": "twitter/bookmarks.js",
|
|
@@ -22955,7 +22993,9 @@
|
|
|
22955
22993
|
"retweets",
|
|
22956
22994
|
"replies",
|
|
22957
22995
|
"created_at",
|
|
22958
|
-
"url"
|
|
22996
|
+
"url",
|
|
22997
|
+
"has_media",
|
|
22998
|
+
"media_urls"
|
|
22959
22999
|
],
|
|
22960
23000
|
"type": "js",
|
|
22961
23001
|
"modulePath": "twitter/list-tweets.js",
|
|
@@ -23049,7 +23089,9 @@
|
|
|
23049
23089
|
"columns": [
|
|
23050
23090
|
"status",
|
|
23051
23091
|
"message",
|
|
23052
|
-
"text"
|
|
23092
|
+
"text",
|
|
23093
|
+
"id",
|
|
23094
|
+
"url"
|
|
23053
23095
|
],
|
|
23054
23096
|
"type": "js",
|
|
23055
23097
|
"modulePath": "twitter/post.js",
|
|
@@ -23177,7 +23219,8 @@
|
|
|
23177
23219
|
"columns": [
|
|
23178
23220
|
"status",
|
|
23179
23221
|
"message",
|
|
23180
|
-
"text"
|
|
23222
|
+
"text",
|
|
23223
|
+
"url"
|
|
23181
23224
|
],
|
|
23182
23225
|
"type": "js",
|
|
23183
23226
|
"modulePath": "twitter/reply.js",
|
|
@@ -23265,7 +23308,7 @@
|
|
|
23265
23308
|
"description": "Search Twitter/X for tweets, with optional --from / --has / --exclude / --product filters mapped to X's search operators",
|
|
23266
23309
|
"access": "read",
|
|
23267
23310
|
"domain": "x.com",
|
|
23268
|
-
"strategy": "
|
|
23311
|
+
"strategy": "cookie",
|
|
23269
23312
|
"browser": true,
|
|
23270
23313
|
"args": [
|
|
23271
23314
|
{
|
|
@@ -23358,7 +23401,7 @@
|
|
|
23358
23401
|
"type": "js",
|
|
23359
23402
|
"modulePath": "twitter/search.js",
|
|
23360
23403
|
"sourceFile": "twitter/search.js",
|
|
23361
|
-
"navigateBefore":
|
|
23404
|
+
"navigateBefore": "https://x.com",
|
|
23362
23405
|
"siteSession": "persistent"
|
|
23363
23406
|
},
|
|
23364
23407
|
{
|
|
@@ -23493,7 +23536,7 @@
|
|
|
23493
23536
|
{
|
|
23494
23537
|
"site": "twitter",
|
|
23495
23538
|
"name": "tweets",
|
|
23496
|
-
"description": "Fetch a Twitter user's most recent tweets (chronological, excludes pinned)",
|
|
23539
|
+
"description": "Fetch a Twitter user's most recent tweets (chronological, excludes pinned; defaults to the logged-in user when no username is given)",
|
|
23497
23540
|
"access": "read",
|
|
23498
23541
|
"domain": "x.com",
|
|
23499
23542
|
"strategy": "cookie",
|
|
@@ -23502,9 +23545,9 @@
|
|
|
23502
23545
|
{
|
|
23503
23546
|
"name": "username",
|
|
23504
23547
|
"type": "string",
|
|
23505
|
-
"required":
|
|
23548
|
+
"required": false,
|
|
23506
23549
|
"positional": true,
|
|
23507
|
-
"help": "Twitter screen name (with or without @)"
|
|
23550
|
+
"help": "Twitter screen name (with or without @). Defaults to the logged-in user when omitted."
|
|
23508
23551
|
},
|
|
23509
23552
|
{
|
|
23510
23553
|
"name": "limit",
|
|
@@ -28000,6 +28043,47 @@
|
|
|
28000
28043
|
"sourceFile": "zhihu/answer.js",
|
|
28001
28044
|
"navigateBefore": "https://www.zhihu.com"
|
|
28002
28045
|
},
|
|
28046
|
+
{
|
|
28047
|
+
"site": "zhihu",
|
|
28048
|
+
"name": "answer-detail",
|
|
28049
|
+
"description": "知乎单个回答完整内容(按 answer ID 获取)",
|
|
28050
|
+
"access": "read",
|
|
28051
|
+
"domain": "www.zhihu.com",
|
|
28052
|
+
"strategy": "cookie",
|
|
28053
|
+
"browser": true,
|
|
28054
|
+
"args": [
|
|
28055
|
+
{
|
|
28056
|
+
"name": "id",
|
|
28057
|
+
"type": "str",
|
|
28058
|
+
"required": true,
|
|
28059
|
+
"positional": true,
|
|
28060
|
+
"help": "Answer ID, full Zhihu answer URL, or typed target (answer:<qid>:<aid>)"
|
|
28061
|
+
},
|
|
28062
|
+
{
|
|
28063
|
+
"name": "max-content",
|
|
28064
|
+
"type": "int",
|
|
28065
|
+
"default": 0,
|
|
28066
|
+
"required": false,
|
|
28067
|
+
"help": "Optional cap on stripped content length in characters (0 = no truncation, return the full answer)"
|
|
28068
|
+
}
|
|
28069
|
+
],
|
|
28070
|
+
"columns": [
|
|
28071
|
+
"id",
|
|
28072
|
+
"author",
|
|
28073
|
+
"votes",
|
|
28074
|
+
"comments",
|
|
28075
|
+
"question_id",
|
|
28076
|
+
"question_title",
|
|
28077
|
+
"url",
|
|
28078
|
+
"created_at",
|
|
28079
|
+
"updated_at",
|
|
28080
|
+
"content"
|
|
28081
|
+
],
|
|
28082
|
+
"type": "js",
|
|
28083
|
+
"modulePath": "zhihu/answer-detail.js",
|
|
28084
|
+
"sourceFile": "zhihu/answer-detail.js",
|
|
28085
|
+
"navigateBefore": "https://www.zhihu.com"
|
|
28086
|
+
},
|
|
28003
28087
|
{
|
|
28004
28088
|
"site": "zhihu",
|
|
28005
28089
|
"name": "collection",
|
|
@@ -28334,7 +28418,18 @@
|
|
|
28334
28418
|
"type": "int",
|
|
28335
28419
|
"default": 5,
|
|
28336
28420
|
"required": false,
|
|
28337
|
-
"help": "Number of answers"
|
|
28421
|
+
"help": "Number of answers (max 1000; use normal-sized requests)"
|
|
28422
|
+
},
|
|
28423
|
+
{
|
|
28424
|
+
"name": "sort",
|
|
28425
|
+
"type": "str",
|
|
28426
|
+
"default": "default",
|
|
28427
|
+
"required": false,
|
|
28428
|
+
"help": "Answer order: default or created",
|
|
28429
|
+
"choices": [
|
|
28430
|
+
"default",
|
|
28431
|
+
"created"
|
|
28432
|
+
]
|
|
28338
28433
|
}
|
|
28339
28434
|
],
|
|
28340
28435
|
"columns": [
|
|
@@ -28348,6 +28443,36 @@
|
|
|
28348
28443
|
"sourceFile": "zhihu/question.js",
|
|
28349
28444
|
"navigateBefore": "https://www.zhihu.com"
|
|
28350
28445
|
},
|
|
28446
|
+
{
|
|
28447
|
+
"site": "zhihu",
|
|
28448
|
+
"name": "recommend",
|
|
28449
|
+
"description": "知乎首页推荐",
|
|
28450
|
+
"access": "read",
|
|
28451
|
+
"domain": "www.zhihu.com",
|
|
28452
|
+
"strategy": "cookie",
|
|
28453
|
+
"browser": true,
|
|
28454
|
+
"args": [
|
|
28455
|
+
{
|
|
28456
|
+
"name": "limit",
|
|
28457
|
+
"type": "int",
|
|
28458
|
+
"default": 20,
|
|
28459
|
+
"required": false,
|
|
28460
|
+
"help": "Number of items to return (max 1000; use normal-sized requests)"
|
|
28461
|
+
}
|
|
28462
|
+
],
|
|
28463
|
+
"columns": [
|
|
28464
|
+
"rank",
|
|
28465
|
+
"type",
|
|
28466
|
+
"title",
|
|
28467
|
+
"author",
|
|
28468
|
+
"votes",
|
|
28469
|
+
"url"
|
|
28470
|
+
],
|
|
28471
|
+
"type": "js",
|
|
28472
|
+
"modulePath": "zhihu/recommend.js",
|
|
28473
|
+
"sourceFile": "zhihu/recommend.js",
|
|
28474
|
+
"navigateBefore": "https://www.zhihu.com"
|
|
28475
|
+
},
|
|
28351
28476
|
{
|
|
28352
28477
|
"site": "zhihu",
|
|
28353
28478
|
"name": "search",
|