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.
stitle simply outputs title #551
Comments
|
Per commits b6fab35 and 1c469a9 , stitle is now the same as title (or rather, title is the same as stitle), and you have to use the
Make sure you're using and have compiled the latest version from the repository, since these were introduced recently. |
|
The behavior of stitle predates 2012.11.17, and is intentional. Basically, most people want
Instead, use the new |
|
I see. Then the the documentation at http://rg3.github.com/youtube-dl/documentation.html needs to be updated. Furthermore, --restrict-filenames doesn't eliminate all non-ASCII characters, only European ones. It leaves in Chinese/Japanese/Korean/etc. characters. E.g., |
|
Weird, with that option I do get a ASCII-only title:
Are you using the latest version? On which OS and with which version of Python? That may have something to do with hat. |
|
I'm using 2012.11.27. I just today updated it with |
|
@goodevilgenius Sorry, the new 2012.11.27b release is not up yet, I'm still having problems with the Windows build. I'm also updating the webpage documentation, thanks for noticing. |
|
No problem. I can make do just fine with a few Japanese characters in my filenames for the time being. |
|
All done in 2012.12.28, so feel free to update. If you pass |
|
Thanks! Fantastic! |
As of 2012.11.17, stitle is the same as title.
I tried
youtube-dl -o "%(stitle)s-%(id)s.%(ext)s" "<url>"andyoutube-dl -o "%(title)s-%(id)s.%(ext)s" "<url>"with several different<url>s and got the exact same filename each time, complete with extended characters, including non-ASCII characters.For example
youtube-dl -f 18 -o "%(stitle)s-%(id)s.%(ext)s" 'http://www.youtube.com/watch?v=q0e61rQZQ6c', I would expect to give me a file named "COWBOY-.mp4", but instead I got "槇原敬之 - COWBOY-q0e61rQZQ6c.mp4"