通过 rustup 安装新版本的 cargo.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shNote
遇到错误提示输入 y 回车即可。安装完成后需要重启终端。
创建config/config.toml 。具体格式参照 config/config_demo.toml。需要指定的域包括如下几项:
[download]
username = "your_name"
base_dir = "path/to/dest"
[api]
key = "xxxxxx"
api_url = "xxxxxx"
model_id = "your model id" # e.g. "chatgpt-3.5-turbo"运行 run.sh
./run.sh通过 LLM 查询到的下载页面地址会被保存到 Official/available_url_list.json 文件中。
从页面中找不到下载链接的下载页面地址会被保存到 Official/abnormal_url_list. 文件中。