0%

you-get的几个参数

you-get 有很多针对国内网站的参数选项

个人感觉不少选项很鸡肋,针对少量的网站,没有通用性,比如指定列表中的几项进行下载,对 bilibili 就是无效的,自己构造网址列表文件呢,本身下载列表你又是支持的,中间下载失败,对于已经下载的文件,检查过程又特别的慢

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 无效,检查已经存在的文件,还是很慢
--skip-existing-file-size-check
Skip existing file without checking file size
# 优先尝试下载 dash 流,快速
-F STREAM_ID, --format STREAM_ID
Set video format to STREAM_ID

# cookies
-c COOKIES_FILE, --cookies COOKIES_FILE
Load cookies.txt or cookies.sqlite

# 日常都带上
-t SECONDS, --timeout SECONDS
Set socket timeout

# 或许和 youtube-dl 的 -o 参数类似?没有想到可用的地方
-I FILE, --input-file FILE
Read non-playlist URLs from FILE
# 日常都带上
-k, --insecure ignore ssl errors


# 今年新增加的参数,至今没成功过,估计对特定网站支持
Playlist optional options:
--first FIRST the first number
--last LAST the last number
--size PAGE_SIZE, --page-size PAGE_SIZE
the page size number