Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
UnicodeWarning Error #2683
UnicodeWarning Error #2683
Comments
|
Thank you for the report. Can you post the entire output you get when adding |
Commandyoutube-dl -v -o '/home/user/workplace/test/youtube/βιντεο/%(title)s.%(ext)s' -f 5 http://www.youtube.com/watch?v=0KSOMA3QBU0 Output[debug] System config: [] |
|
Thank you for the report. This should be fixed in youtube-dl 2014.04.03.2. Type |
|
It worked. Thank you very much for the fix! |
Command
youtube-dl -o '/home/user/workplace/test/youtube/βιντεο/%(title)s.%(ext)s' -f 5 http://www.youtube.com/watch?v=0KSOMA3QBU0
Output
[youtube] Setting language
[youtube] 0KSOMA3QBU0: Downloading webpage
[youtube] 0KSOMA3QBU0: Downloading video info webpage
[youtube] 0KSOMA3QBU0: Extracting video information
[youtube] 0KSOMA3QBU0: Encrypted signatures detected.
[youtube] 0KSOMA3QBU0: Downloading js player vfl7i9w86
/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py:871: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
[download] Destination: /home/user/workplace/test/youtube/βιντεο/Katy Perry - Dark Horse (Official) ft. Juicy J.flv
[download] 100% of 9.25MiB in 00:15
If i change YoutubeDL.py:871 to this
#dn = os.path.dirname(encodeFilename(filename))
dn = os.path.dirname(filename)
if dn != '' and not os.path.exists(dn):
os.makedirs(dn)
it works fine without UnicodeWarning error.