python Package to get links to videos from youtube when you pass search argument
pip install pyouplay
from PyouPlay import get
get.toplink("Pass a string you want to seach")
[toplink will return a string containing link to the youtube video]
get.toplinks("Pass a string you want to seach")
[toplinks will return a list of top 20 videos links from youtube]
get.toplink("Pass a string you want to seach", 1)
[toplink will open the youtube video in the web browser]