feat: import dxxw script

This commit is contained in:
2026-06-07 13:47:28 +08:00
commit c7f74b50eb
4 changed files with 1428 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
node_modules/
dxxw_token_cache.json
*.log
.DS_Store
.env
+24
View File
@@ -0,0 +1,24 @@
# dxxw
大象新闻积分脚本。
## 环境变量
```bash
# 单账号
export dxxwhd='账号&密码'
# 多账号,用 @ 或换行分隔
export dxxwhd='账号1&密码1@账号2&密码2'
```
账号字段支持:
```text
账号&密码&支付宝账号&姓名&socks5代理
```
- `socks5代理` 可选,示例:`socks5://127.0.0.1:7890``socks5h://user:pass@host:port`
- 未配置代理时使用本地网络
- 配置代理后,该账号所有请求(登录、积分任务、文章、微剧/兑吧)都会走该 SOCKS5 代理
+1381
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
{
"name": "dxxw",
"version": "1.0.0",
"description": "大象新闻积分脚本",
"main": "dxxw.js",
"scripts": {
"check": "node --check dxxw.js"
},
"dependencies": {
"axios": "^1.13.2"
},
"optionalDependencies": {
"socks-proxy-agent": "^8.0.5"
},
"engines": {
"node": ">=16"
}
}