Using this python code you can easily download youtube contents (audio only , video only or video-audio) in good quality. You can even get the options of formats to download the content according to your need.