Initial commit

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-03-07 23:00:30 +08:00
commit 82f8ea04cd
8 changed files with 710 additions and 0 deletions

38
INSTALL.md Normal file
View File

@@ -0,0 +1,38 @@
# 安装与使用说明
## 核心修复
问题macOS 系统 Python 不允许直接安装第三方包。
解决:创建虚拟环境。
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
## 使用方法
```bash
# 激活虚拟环境
source venv/bin/activate
# 运行脚本
python main.py --proxy http://127.0.0.1:7890 --once
```
或直接用:
```bash
./venv/bin/python main.py --proxy http://127.0.0.1:7890 --once
```
## 参数
| 参数 | 说明 |
|------|------|
| `--proxy` | 代理地址 |
| `--once` | 只运行一次 |
| `--sleep-min` | 循环最短等待(秒) |
| `--sleep-max` | 循环最长等待(秒) |