mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
update README.*
This commit is contained in:
parent
85cd3dc16f
commit
9479ee5217
60
README.md
60
README.md
@ -103,6 +103,36 @@ Fork me on GitHub: <https://github.com/soimort/you-get>
|
||||
|
||||
Click [here](https://aur.archlinux.org/packages.php\?ID=62576).
|
||||
|
||||
### FAQ (For Windows Users)
|
||||
|
||||
* Q: I don't know how to install it on Windows.
|
||||
|
||||
* A: Then don't do it. Just put your `you-get` folder into system `%PATH%`.
|
||||
|
||||
* Q: I got something like `UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 in position 1012: illegal multibyte sequence`.
|
||||
|
||||
* A: Run `set PYTHONIOENCODING=utf-8`.
|
||||
|
||||
## Upgrading
|
||||
|
||||
Using Pip:
|
||||
|
||||
$ pip install --upgrade you-get
|
||||
|
||||
### Error When Upgrading from Pip
|
||||
|
||||
If you see this error:
|
||||
|
||||
```
|
||||
File "/usr/lib/python3.3/site-packages/pip-1.2.1-py3.3.egg/pip/backwardcompat.py", line 44, in u
|
||||
return s.decode('utf-8')
|
||||
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 68: invalid start byte
|
||||
```
|
||||
|
||||
This is an existing bug in Pip 1.2.1. However, this does not affect your upgrading.
|
||||
|
||||
In Pip 1.3+, this should be already fixed.
|
||||
|
||||
## Examples (For End-Users)
|
||||
|
||||
Display the information of the video without downloading:
|
||||
@ -297,6 +327,36 @@ You-Get基于优酷下载脚本[iambus/youku-lixian](https://github.com/iambus/y
|
||||
|
||||
点击[这里](https://aur.archlinux.org/packages.php\?ID=62576)。
|
||||
|
||||
### FAQ(针对Windows用户)
|
||||
|
||||
* Q:我不知道该如何在Windows下安装。
|
||||
|
||||
* A:不需要安装。直接把`you-get`目录放到系统`%PATH%`中。
|
||||
|
||||
* Q:出现错误提示`UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 in position 1012: illegal multibyte sequence`。
|
||||
|
||||
* A:执行`set PYTHONIOENCODING=utf-8`。
|
||||
|
||||
## 升级
|
||||
|
||||
使用Pip:
|
||||
|
||||
$ pip install --upgrade you-get
|
||||
|
||||
### 从Pip升级时可能的错误
|
||||
|
||||
若出现以下错误提示:
|
||||
|
||||
```
|
||||
File "/usr/lib/python3.3/site-packages/pip-1.2.1-py3.3.egg/pip/backwardcompat.py", line 44, in u
|
||||
return s.decode('utf-8')
|
||||
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 68: invalid start byte
|
||||
```
|
||||
|
||||
这被证实是Pip 1.2.1的一个bug。不过,它并不影响到正常的升级。
|
||||
|
||||
这在Pip 1.3+中应当已经被修复。
|
||||
|
||||
## 使用方法示例
|
||||
|
||||
### 如何下载视频
|
||||
|
Loading…
Reference in New Issue
Block a user