mirror of
https://github.com/cooperhammond/irs.git
synced 2025-03-22 16:15:05 +00:00
Updated version on pypi
This commit is contained in:
parent
fcff1db167
commit
00d747eb6c
|
@ -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