egbertbouman / youtube-comment-downloader

Simple script for downloading Youtube comments without using the Youtube API
MIT License
914 stars 227 forks source link

Having trouble dealing with non-latin text. #14

Closed Daruko0 closed 6 years ago

Daruko0 commented 6 years ago

I might be stating the problem poorly, but when downloading Japanese comments (or non-latin) they're not readable at all. Well, they are in utf-16 format (/uXXXX/uYYYYY/uZZZZ). I can convert them using a utf-16 decode site, but I'd love it if the output can be properly formatted.

You can use the youtube-id ZlyBnfiYJL0 for example to try it for yourself.

Daruko0 commented 6 years ago

Fixed the issue after doing some research! (I'm still a noob, especially with this JSON stuff) You can check out my the pull request: https://github.com/egbertbouman/youtube-comment-downloader/pull/15