Fix UnicodeDecodeError when retreiving some titles

This commit is contained in:
Ritiek Malhotra
2017-07-06 17:06:58 +05:30
committed by GitHub
parent 0bc484e032
commit 0f0b4bc086

View File

@@ -115,7 +115,7 @@ def get_youtube_title(content, number=None):
if number is None:
return title
else:
return u'{0}. {1}'.format(number, title)
return '{0}. {1}'.format(number, title)
def feed_playlist(username):