Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

标题中无法使用符号【】,若标题包含韩文则无法通过 #24

Closed
ceiminya opened this issue Dec 30, 2022 · 3 comments
Closed

Comments

@ceiminya
Copy link

标题中含有的【】会在投稿时被去除,含有韩文则会提示包含某种字符而无法通过,能否在上传时先对标题进行处理,比如韩文直接转换为罗马音,保证频道的视频初次上传成功。

mos9527 added a commit that referenced this issue Dec 30, 2022
cli/sanitizers : refactored text sanitizers into `sanitizers.py`
main : added keyword variables `{safe_korean_title}` `{roma_korean_title}` (#24)
@mos9527
Copy link
Owner

mos9527 commented Dec 30, 2022

标题中含有的【】会在投稿时被去除

重构了下标题处理机制,实心括号现在属于处理例外,经测试不会意外删除了

韩文则会提示包含某种字符而无法通过

测试了下,现在貌似就韩文会这样?

增加了{safe_korean_title} {roma_korean_title}变量,还请参见链接获得使用方式

@ceiminya
Copy link
Author

不知道是不是更新后的问题,上传时youtube参数要放在上传设置的参数前面,否则上传设置的参数会失效。

@mos9527
Copy link
Owner

mos9527 commented Dec 31, 2022

设计如此,不过帮助文档一直没有强调过位置问题,这里纠正了下

@ceiminya ceiminya closed this as completed Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants