I want to create a python program that allows me to input search terms and return the url of the first result
def search(search):
#Gets the youtube url of the first result
return url
Something along those lines. I don't know too much about youtube-dl nor how to implement it into python as I couldn't find much info on how to do this through google.