Created
June 12, 2021 13:28
-
-
Save KaushikShresth07/5f6d7174b965c148dba14c20a136963f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pywhatkit | |
import webbrowser | |
def YouTubeDirectSearch(Title): | |
pywhatkit.playonyt(Title) | |
def YouTubeSearch(Title): | |
hhtp = "https://www.youtube.com/results?search_query=" + str(Title) | |
webbrowser.open(hhtp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment