This script synchronizes YouTube playlist with local folder on your computer. It is a great help as it allows you to access that last song you added to your playlist, even when the video is removed.
sidak/YouTubePlaylistSync
Synchronizes YouTube playlist with local folder on your computer
Jupyter Notebook