You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run scraper.py, it will download a few song, but then will suddenly stop with the error
Traceback (most recent call last):
File "scraper.py", line 137, in
get_lyrics(hit['result']['api_path'])
File "scraper.py", line 116, in get_lyrics
print 'Lyrics %s' % lyrics
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 559: ordinal not in range(128)
I've been able to reproduce this with Bob Dylan, Britney Spears, Phil Collins, and Simon and Garfunkel.
Additionally, I've attempted to fix this myself, but have had no luck thus far.
The text was updated successfully, but these errors were encountered:
when I run scraper.py, it will download a few song, but then will suddenly stop with the error
Traceback (most recent call last):
File "scraper.py", line 137, in
get_lyrics(hit['result']['api_path'])
File "scraper.py", line 116, in get_lyrics
print 'Lyrics %s' % lyrics
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 559: ordinal not in range(128)
I've been able to reproduce this with Bob Dylan, Britney Spears, Phil Collins, and Simon and Garfunkel.
Additionally, I've attempted to fix this myself, but have had no luck thus far.
The text was updated successfully, but these errors were encountered: