youtube-dl bug with Russian character set? Howto fix?

Fyodor Vassiley fyodor.vassiley at gmail.com
Sat Oct 8 13:46:08 PDT 2011


Hi

I have "youtube-dl" installed from MacPorts and downloading a YouTube
clip with Russian title (Russian characters: Наша с Машей
опущенность)) ). But the Russian characters are not display in the
file name on my Lion.

See

> which youtube-dl
/opt/local/bin/youtube-dl

> youtube-dl -t http://www.youtube.com/watch?v=mQTIkBmrck0
[youtube] Setting language
[youtube] mQTIkBmrck0: Downloading video webpage
[youtube] mQTIkBmrck0: Downloading video info webpage
[youtube] mQTIkBmrck0: Extracting video information
[download] Destination: -mQTIkBmrck0.flv
[download] 100.0% of 1.09M at    2.29M/s ETA 00:00

> ls -al -- -mQTIkBmrck0.flv
-rw-r--r--  1 fyodor  staff  1147764 Apr 11 19:17 -mQTIkBmrck0.flv

Should be Наша_с_Машей_опущенность))-mQTIkBmrck0.flv.

When downloading the same clip with Jdownloader (Java) - no problem:

> ls -al *mp4
-rw-r--r--  1 fyodor  staff  1022898 Oct  8 22:34
Мочеиспускание))(240p_H.264-AAC).mp4

How to fix this? I wish to help the dev, because he has most certainly
no Mac. The problem doesn't exists on Linux.

Fyodor


More information about the macports-users mailing list