insert str.encode to make sure youtube_id is interpreted as a utf-8 string