- php v7+
- php-cli
- composer
git clone https://github.com/xidb/youtube-subs-dl youtube-subs-dl
- Run
cd youtube-subs-dl && composer install && cd ..
- Download latest youtube-dl build and put it in
youtube-subs-dl
directory or make it available globally - (optional) Do the same thing with ffmpeg
- To download your subscribtions list visit this link logged in to Youtube and save file as
youtube-subs-dl/subscribtions.xml
- Run
php youtube-subs-dl/update.php
. By default it will download videos for the last 3 days. You may change it by inserting desired timestamp inyoutube-subs-dl/last.txt
. After that it will download videos after last check.