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

$title 保存的文件名不全 #376

Open
lysandernomad opened this issue Jun 23, 2024 · 1 comment
Open

$title 保存的文件名不全 #376

lysandernomad opened this issue Jun 23, 2024 · 1 comment

Comments

@lysandernomad
Copy link

扩展版本号 extension version

2.5.2

浏览器

Microsoft Edge

浏览器版本号

126.0.2592.68 (正式版本) (64 位)

涉及网址

No response

请详细描述问题

$title函数2.5.2现在可以提取保存了,但是使用m3u8DL-CLI时,如果页面标题存在Windows文件名不支持的字符,会自动截断导致文件名不全 可以把不支持的字符直接去掉,保存完整网页标题

@xifangczy
Copy link
Owner

xifangczy commented Jun 23, 2024

下个版本增加
filter函数 ${title|to:filter} 解决。

现在可以临时使用replaceAll解决
${title|replaceAll:"|","_"|replaceAll:'"',"_"} 其他的自行添加。
或者
${title|to:urlEncode}

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

No branches or pull requests

2 participants