you-get -o . https://www.bilibili.com/video/av31369828/?p=326
A tiny downloader that scrapes the web
optional arguments:
-V, --version Print version and exit
-h, --help Print this help message and exit
Dry-run options:
(no actual downloading)
-i, --info Print extracted information
-u, --url Print extracted information with URLs
–json Print extracted URLs in JSON format
Download options:
-n, --no-merge Do not merge video parts
–no-caption Do not download captions (subtitles, lyrics, danmaku,
…)
-f, --force Force overwriting existing files
-F STREAM_ID, --format STREAM_ID
Set video format to STREAM_ID
-O FILE, --output-filename FILE
Set output filename
-o DIR, --output-dir DIR
Set output directory
-p PLAYER, --player PLAYER
Stream extracted URL to a PLAYER
-c COOKIES_FILE, --cookies COOKIES_FILE
Load cookies.txt or cookies.sqlite
-t SECONDS, --timeout SECONDS
Set socket timeout
-d, --debug Show traceback and other debug info
-I FILE, --input-file FILE
Read non-playlist URLs from FILE
-P PASSWORD, --password PASSWORD
Set video visit password to PASSWORD
-l, --playlist Prefer to download a playlist
-a, --auto-rename Auto rename same name different files
Proxy options:
-x HOST:PORT, --http-proxy HOST:PORT
Use an HTTP proxy for downloading
-y HOST:PORT, --extractor-proxy HOST:PORT
Use an HTTP proxy for extracting only
–no-proxy Never use a proxy
-s HOST:PORT, --socks-proxy HOST:PORT
Use an SOCKS5 proxy for downloading
一个小的下载器,刮网
可选参数:
-V,——版本打印版本退出
帮助打印此帮助消息并退出
即将选择:
(没有实际下载)
– -信息打印提取信息
-u,——url打印用url提取的信息
——json打印json格式提取的url
下载选项:
不要合并视频部分
——无标题请勿下载字幕(字幕、歌词、弹幕、
…)
-f,——强制覆盖现有文件
-F STREAM_ID,——格式化STREAM_ID
将视频格式设置为STREAM_ID
-O文件,-输出文件名文件
设置输出文件名
-o目录,-output-dir目录
设置输出目录
-p播放器,-播放器播放器
流提取的URL到播放器
-c COOKIES_FILE,——cookies COOKIES_FILE
加载cookie。txt或cookies.sqlite
t秒,超时秒
设置套接字超时
显示跟踪和其他调试信息
-I文件,-输入文件文件
从文件中读取非播放列表url
-P密码,-密码密码
设置视频访问密码到密码
喜欢下载播放列表
自动重命名自动重命名相同的名字不同的文件
代理选项:
-x主机:端口,——http-proxy主机:端口
使用HTTP代理进行下载
-y主机:端口,——提取代理主机:端口
仅使用HTTP代理进行提取
不要使用代理
-s主机:端口,-socks代理主机:端口
使用SOCKS5代理下载