an xvideos.com playlist downloader, utilises youtube-dl
and beautifulsoup
under the hood
- resume partial downloads
- download multiple playlists in one command
- idempotent - can be run repeatedly and will only download newly-added files
- further customisation possible using
youtube_dl
options (see below)
python3
(tested withv3.9
)pip
- (optional)
ffmpeg
clone this repository to somewhere (e.g. your preferred downloads folder), then install the required modules with pip
git clone https://github.com/pyxv/xvpl-dl ~/Downloads/xvideos
cd ~/Downloads/xvideos
pip install -r requirements.txt
run the script at a terminal, passing each playlist url as an argument
python xvpl-dl.py https://www.xvideos.com/favorite/52500297/casual https://www.xvideos.com/favorite/38755061/female_orgasm https://www.xvideos.com/favorite/37487709/123
- each playlist's videos will be downloaded into a directory named
<profile>-<playlist_name>
within the current working directory - you can provide a custom download location using the variable
custom_dl_dir
inxvpl-dl.py
- video files are saved in the format
<video_name>-<id>.<ext>
- you can specify/amend
youtube_dl options
in thePlaylist.download()
method