mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Updated version on pypi
This commit is contained in:
parent
b4272c2405
commit
e627d8cfca
|
@ -123,7 +123,8 @@ init, or in method arguments.")
|
|||
print("Finding Youtube Link ...")
|
||||
|
||||
search_terms = song + " " + artist + " " + additional_search
|
||||
query_string = urlencode({"search_query": (search_terms)})
|
||||
query_string = urlencode({"search_query": (
|
||||
search_terms.encode('utf-8'))})
|
||||
link = "http://www.youtube.com/results?" + query_string
|
||||
|
||||
html_content = urlopen(link).read()
|
||||
|
|
Loading…
Reference in a new issue