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.
ERROR: Error in output template: unsupported format character #5006
Comments
|
Not all output templates use the form In any case, if you are into setting your own title, simply double all percent signs in it. |
|
Thanks for the quick response. I didn't see any other bugs on this particular issue so wanted to at least have it out there. Manually specifying the title can be preferable in some use cases, but not worth re-inventing the wheel for. Double %% works as expected. Thanks! |
|
i see this occasionally too, with 2016.7.17, in a python webapp that uses youtube-dl as a library, http://huffduff-video.snarfed.org/. example video url: https://www.oreilly.com/ideas/applications-of-ai-technologies-peter-norvig-in-conversation-with-tim-oreilly the app uses
|
|
|
|
...and yet it works almost all the time. :P you're right that |
|
In any case you override it here therefore it's your responsibility to escape |
|
I'm not about not being listed. |
|
true, thank you! good points. escaping |
…#14 thanks to @dstftw for his help in ytdl-org/youtube-dl#5006 (comment) and below!
|
Double % did work for me! Thanks. |
Usage of % symbols in the output throw errors since they are being read as output templates. Is there a better check that could be added since all output templates utilize the form
%(TEMPLATE)s?