-
Notifications
You must be signed in to change notification settings - Fork 72
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
作品名稱中包含「/」的問題 #34
Labels
问题
咨询使用存在的问题
Comments
请见 掩码-批量替换字符串
|
另外多图与动图多生成一层文件夹这部分建议使用自定义掩码,可以使主掩码看起来更简单。 |
明白了 |
作品名稱中包含「�」等非法字符,导致无法下载。请问这个怎么解决(ಥ_ಥ) |
@KSSnow 替换掉啊,用replace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
「{illust.title}」參數設置後,如果插畫名稱中包含斜劃「/」,那就自動變成一層資料夾,例子:某單一張插畫,掩碼命名方式是用原作名稱命名,但原作名稱是「2011/05/21」,那就變成新增「2011、05」兩個資料夾後,最後那張插畫命名為「21」。
能不能把原作名稱「{illust.title}」這個檢測出「/」時轉換成「-」符號而不是增加資料夾?
我的掩碼設定「%{illust.user.id}_%{illust.user.name.split("@")[0]}%{(illust.page_count>1||illust.ugoira_metadata)?"/" + illust.title:""}/%{illust.title} (%{illust.id}_p%{page}).%{illust.extention}」
The text was updated successfully, but these errors were encountered: