to get a list of URLs from a video listing page:
Array.from(document.querySelectorAll('#items a#video-title')).map(a => a.href).join('\n')
put that into a urls
file, or gather the URLs some other way
then follow the instructions at https://github.com/dandv/convert-chrome-cookies-to-netscape-format for getting youtube cookies in netscape format in netscape-cookies.txt
.
install tmux
run ./download.sh
Check the tmux session for errors (sometimes youtube-dl fails for strange reasons), if needed, you can manually restart the failed tasks