downloadng youtube-dl in playlist code example
Example 1: youtube-dl playlist download
youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=7Vy8970q0Xc&list=PLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2'
Example 2: download particular videos of playlist youtube-dl
youtube-dl -c -f '...' --playlist-start 2 --playlist-end 8 https://youtube.com/watch/foo