update readme
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Miaomiaomiao
|
# Miaomiaomiao
|
||||||
|
|
||||||
A proxy.
|
A proxy. [usage.md](Usage)
|
||||||
|
|
||||||
**It is forbidden to use this project for profit.**
|
**It is forbidden to use this project for profit.**
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,15 @@ app.post("/v1/messages", (req, res) => {
|
|||||||
responseType: "stream",
|
responseType: "stream",
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
if(e.response.data) {
|
||||||
|
// print data
|
||||||
|
e.response.data.on("data", (chunk) => {
|
||||||
|
console.log(chunk.toString());
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}else{
|
||||||
throw e;
|
throw e;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
let cachedLine = "";
|
let cachedLine = "";
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# 使用方法
|
||||||
|
|
||||||
|
1. 获得一个 YOU.COM 账户并且订阅
|
||||||
|
|
||||||
|
2. 打开 F12(DevTools)-Console(控制台)并且输入 `document.cookie`
|
||||||
|
|
||||||
|
3. 复制输出结果(不包括开头和结尾的 ' )
|
||||||
|
|
||||||
|
4. 下载或Clone本项目代码,解压
|
||||||
|
|
||||||
|
5. 运行 `npm install` (如果你没有 Node.JS,去装一个)
|
||||||
|
|
||||||
|
6. 编辑 `start.bat` 文件,把上面的 Cookie 粘贴进去
|
||||||
|
|
||||||
|
7. 启动 start.bat
|
||||||
|
|
||||||
|
8. 酒馆中选择 Claude,反向代理地址填 http://127.0.0.1:8080/v1
|
||||||
|
|
||||||
|
9. 开始使用。如果失败了/没有结果/403/Warning 就多重试几次。
|
||||||
|
|
||||||
|
## 注意事项
|
||||||
|
|
||||||
|
确保你访问 YOU.COM 的浏览器用的出口 IP 和你运行代理程序用的出口 IP 是同一个(简单的说就是要开 VPN 就全局开),否则你会被 CloudFlare 拦截并且获得一个 403 错误。
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
Use Google translation. KEWL
|
||||||
Reference in New Issue
Block a user