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.
Youtube video filename is incorrect when its title contains certain characters #22731
Comments
|
Filenames are sanitized. If you wan't a title then you must request a title not a filename. |
The filename is actually wrong.
|
|
Again: filenames are sanitized. |
Checklist
Verbose log
Description
Youtube video filename is incorrect when its title contains certain characters, such as '|'.
As you can see in the log above, the video title is clearly "BEST KOREAN BBQ & Ox Bone Soup in Los Angeles | Japanese CLOUD Pancakes", which contains a '|'.
But when I specified the output template as '%(title)s' and supposed it to be the same as the title, I got "BEST KOREAN BBQ & Ox Bone Soup in Los Angeles _ Japanese CLOUD Pancakes", where '|' becomes '_'.
I have checked that there is a field in the json called "_filename" that is exactly "BEST KOREAN BBQ & Ox Bone Soup in Los Angeles _ Japanese CLOUD Pancakes".
Is it possible to set the filename to title correctly?