Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HFrost0 committed Mar 22, 2023
1 parent 81120e5 commit 1637827
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,20 @@ bilix v 'url'

### 你是大会员?🥸

请在`--cookie`参数中填写浏览器缓存的`SESSDATA`cookie,填写后可以下载需要大会员的视频,也就是说,你先得是大会员才能下哦~
两种方式登录

如果你总是需要附加--cookie参数,可以使用`alias`命令,例如`alias bilix=/.../python -m bilix --cookie xxxxxxxx`
* 直接填写cookie

`--cookie`参数中填写浏览器缓存的`SESSDATA`cookie,填写后可以下载需要大会员的视频

* 从浏览器载入cookie

在浏览器中登录之后,使用`-fb --from-browser`参数从浏览器中读取cookie,例如`-fb chrome`,使用这种方法可能需要授权,bilix读取浏览器cookie的
方式为开源项目[browser_cookie3](https://github.com/borisbabic/browser_cookie3)

💡如果你总是需要保持登录

在linux和mac系统中你可以使用`alias bilix=bilix --cookie xxxxxx``alias bilix=bilix -fb chrome`来为`bilix`命令创建别名

### 画质,音质和编码选择

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies = [
"pydantic",
"pyexecjs",
"rich",
"browser_cookie3>=0.17.1"
]

[project.optional-dependencies]
Expand Down

0 comments on commit 1637827

Please sign in to comment.