Skip to content

Commit

Permalink
补充快手依赖和说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikaros-521 committed Aug 5, 2023
1 parent c7d1a55 commit f8565d7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,11 @@ ps:依赖[golang](https://go.dev/dl/)环境,还没有的话,手动补一补[
pip install -r requirements_ks.txt
```

新版本:
请在安装完依赖后,安装火狐浏览器内核。参考命令:`playwright install firefox`
使用新版本时需要注意,请使用小号登录,然后在每次用完之后,把`cookie`文件夹下的`123.json`文件删掉!!!用过一次后cookie就异常了,所以需要删了重新登录!!!

旧版本:
运行前请重新生成一下protobuf文件,因为机器系统不一样同时protobuf版本也不一样所以不能拿来直接用~
```
protoc -I . --python_out=. ks.proto
Expand Down Expand Up @@ -808,9 +813,12 @@ D:\GitHub_pro\AI-Vtuber-20230: can't open file 'D:\\GitHub_pro\\AI-Vtuber-20230
`dy_old.py`不稳定:[douyin-live](https://github.com/YunzhiYike/douyin-live)

### 快手弹幕获取
旧版本:[kuaishou-live](https://github.com/YunzhiYike/kuaishou-live)
新版本:[kuaishou_websocket](https://github.com/Superheroff/kuaishou_websocket)
`ks.py`新版本:[kuaishou_websocket](https://github.com/Superheroff/kuaishou_websocket)
使用新版本时需要注意,请使用小号登录,然后在每次用完之后,把`cookie`文件夹下的`123.json`文件删掉!!!用过一次后cookie就异常了,所以需要删了重新登录!!!
另外如果你是自行安装环境,请在安装完依赖后,安装火狐浏览器内核。参考命令:`playwright install firefox`


`ks_old.py`旧版本:[kuaishou-live](https://github.com/YunzhiYike/kuaishou-live)

### ChatGPT
官网:[https://chat.openai.com/chat](https://chat.openai.com/chat)
Expand Down
8 changes: 5 additions & 3 deletions requirements_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ tqdm==4.65.0
traitlets==5.9.0
typer==0.7.0
typing-inspect==0.8.0
typing_extensions==4.5.0
typing_extensions==4.6.3
tzdata==2023.3
tzlocal==5.0.1
urllib3==1.26.15
wasabi==1.1.1
wcwidth==0.2.6
websocket-client==1.5.1
Expand Down Expand Up @@ -128,4 +127,7 @@ chardet==5.1.0
pypinyin==0.49.0
sparkdesk-api==1.0.3
gradio_client==0.3.0
schedule==1.2.0
schedule==1.2.0
playwright==1.36.0
pyee==9.0.4
urllib3==2.0.3
12 changes: 11 additions & 1 deletion requirements_ks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ send2trash
pypinyin
sparkdesk-api
gradio_client
schedule
schedule
playwright
protobuf==3.20.0
certifi
charset-normalizer
greenlet
idna
lxml
pyee
typing_extensions
urllib3

0 comments on commit f8565d7

Please sign in to comment.