Requires: jq, youtube-dl, avconv
Once video has been downloaded , it will not be downloaded again (as long youtube-dl archive function works properly), so you can download channel , watch desired videos , delete them once not needed - script will not download them again.
1. Extract ZIP to desired folder on NAS
2. Adjust paths in youtube_dl-mirror.json (download location and archive files location) and youtube_dl-mirror.sh (location of youtube_dl-mirror.json)
3. Add to crontab (do not forget to reload cron after change!)
4. Run script