mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
fix unicode encode error in manual mode
This commit is contained in:
@@ -40,7 +40,7 @@ def searchYT(number):
|
|||||||
print('')
|
print('')
|
||||||
for x in items_parse.find_all('h3', {'class':'yt-lockup-title'}):
|
for x in items_parse.find_all('h3', {'class':'yt-lockup-title'}):
|
||||||
if not x.find('channel') == -1 or not x.find('googleads') == -1:
|
if not x.find('channel') == -1 or not x.find('googleads') == -1:
|
||||||
print(str(check) + '. ' + x.get_text())
|
print((str(check) + '. ' + x.get_text()).encode('utf-8'))
|
||||||
links.append(x.find('a')['href'])
|
links.append(x.find('a')['href'])
|
||||||
check += 1
|
check += 1
|
||||||
is_error = True
|
is_error = True
|
||||||
|
|||||||
Reference in New Issue
Block a user