Script to download all the related videos from youtube with youtube-dl

Lets cut the long discussion short and directly give you the script. The script is combination of all the posts that I did in the past about youtube downloads. You need to copy all the URL\’s in a file called \”~/youtube.urls\” which you want to be downloaded. Or if you need to donwload the related videos, then save the html of the page and give it as the first argument for the script. So, here\’s the scrit: