InstaBot icon indicating copy to clipboard operation
InstaBot copied to clipboard

Error Unicode

Open Jostino opened this issue 8 years ago • 1 comments

Traceback (most recent call last):
  File "InstaBot.py", line 109, in <module>
    like(br, hashtags)
  File "InstaBot.py", line 53, in like
    response = br.open(WEBSTA_URL +"tag/" + urllib.quote(hashtag.encode('utf-8')))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 0: ordinal not in range(128)

Lanunched the bot and after the list of hashtags appear this error above.

Jostino avatar Oct 27 '17 10:10 Jostino

Python 2.7 unicode set on ascii instead of utf-8 :cry:

Jostino avatar Oct 27 '17 13:10 Jostino