Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用自定义文件名,当YouTube视频标题包含符号"|",不能下载 #339

Closed
fzs209 opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@fzs209
Copy link

fzs209 commented Apr 19, 2024

扩展版本号 extension version

v2.5.1

浏览器

Google Chrome

浏览器版本号

v124.0.6367.61

涉及网址

https://www.youtube.com

请详细描述问题

使用自定义文件名${title}.${ext}或者${title}保存文件,当YouTube视频标题包含符号|(例如https://www.youtube.com/watch?v=uYq7wgvVETI)不能下载,按下载按钮没反应。
正常情况

-.Compressed.mp4

不正常情况

-.Compressed.mp4

配置文件如下
cat-catch-2.5.1-2024-3-5-1713528139792.txt

@xifangczy
Copy link
Owner

在widnwos中 文件名不允许出现 '\/:*?"<>|~等字符 所以下载失败
已经修复 等待下一个版本发布。。

临时解决办法 使用 replaceAll 替换掉 | 和 : 字符
${title|replaceAll:"|","_"|replaceAll:":","_"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants