- 下载单个视频(需视频播放页的 URL)
- 下载收藏夹中的所有视频(需收藏夹页的 URL)
- 下载用户上传的所有视频(需用户首页的 URL)
- 下载频道发布的所有视频(需频道首页的 URL)
- 分段高速下载,断点下载,进度与状态显示
- 下载最高清视频(需要安装ffmpeg)
- 安装 Python 3.6.1 或以上版本
- 安装 ffmpeg
- Ubuntu/Debian:
sudo apt install ffmpeg
- MacOS:
brew install ffmpeg
- Ubuntu/Debian:
- 注册 https://xvideo.com 账号,登录并拷贝 Cookie(必须有
session_token=xxx
),首次使用时根据提示粘贴即可
pip install -U xvideos-dl
xvideos-dl --help
注意:首此使用时,程序会出现提示语要求输入 Cookie,用个人账号登录 https://xvideos.com 获取 Cookie 粘贴到终端,即可继续运行。Cookie 可以长期使用。
只需一行命令,下载单个 / 收藏夹 / 用户上传 / 频道发布 的所有视频
xvideos-dl https://www.xvideos.com/video37177493/asian_webcam_2_camsex4u.life https://www.xvideos.com/favorite/71879935/_ https://www.xvideos.com/profiles/mypornstation https://www.xvideos.com/channels/av69tv
-
Added support for downloading higher quality videos.
CLI will download the highest quality video by default, which may be 1080p or higher, depending on the videos provided by XVIDEOS. So the download speed will be slower, if you want to be faster, you can use
-q low
or-q middle
.
- Support for Python 3.6.1+
Bugfix:
- Fixed a bug that would not retry when the network connection failed.
New Feature:
- Add parameters to control the start and end of the video in the download list.
Others:
- When running the same command repeatedly, quickly skip the downloaded video.
- Catch exceptions: 404 not found, forbidden downloading...
New Features:
- Download all videos uploaded by users.
- Download all videos posted by the channel.
- Download single, playlist, user uploaded and channel posted videos in one command.
- Optimize download status display.
New Features:
- Download videos from favorites.
- Show download speed.
Initial release on PyPY.