mirror of
https://github.com/xhlove/GetDanMu.git
synced 2025-12-17 08:35:57 +08:00
增加优酷弹幕下载以及其他改进
This commit is contained in:
10
basic/ass.py
10
basic/ass.py
@@ -3,7 +3,7 @@
|
||||
'''
|
||||
# 作者: weimo
|
||||
# 创建日期: 2020-01-04 19:14:46
|
||||
# 上次编辑时间: 2020-01-05 14:45:55
|
||||
# 上次编辑时间 : 2020-01-11 17:20:21
|
||||
# 一个人的命运啊,当然要靠自我奋斗,但是...
|
||||
'''
|
||||
|
||||
@@ -62,10 +62,4 @@ def check_font(font):
|
||||
font_style_name = font
|
||||
else:
|
||||
pass
|
||||
return font_path, font_style_name
|
||||
|
||||
def check_content(content: str, comments: list):
|
||||
content = content.replace(" ", "")
|
||||
if content in comments:
|
||||
return
|
||||
return content
|
||||
return font_path, font_style_name
|
||||
Reference in New Issue
Block a user