Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
Update spotifyToYoutube.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRazamataz authored Sep 18, 2021
1 parent c3b250a commit 8d68aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spotifyToYoutube.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def getTracks(playlistURL):

def searchYoutubeAlternative(songName):
# YouTube will block you if you query too many songs using this search.
# ALSO AGAINST TOS, lol, i dont use this one
textToSearch = songName
query = urllib.parse.quote(textToSearch)
url = "https://www.youtube.com/results?search_query=" + query
Expand Down

0 comments on commit 8d68aa6

Please sign in to comment.