Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
去除一些输出显示
Browse files Browse the repository at this point in the history
  • Loading branch information
xhlove committed Jan 4, 2020
1 parent 9e93912 commit 858fb65
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions GetDanMu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'''
# 作者: weimo
# 创建日期: 2020-01-04 12:59:11
# 上次编辑时间 : 2020-01-04 17:41:34
# 上次编辑时间 : 2020-01-04 20:14:39
# 一个人的命运啊,当然要靠自我奋斗,但是...
'''

Expand Down Expand Up @@ -40,7 +40,7 @@ def main():
parser.add_argument("-u", "--url", default="", help="下载视频链接所指向视频的弹幕")
parser.add_argument("-y", "--y", action="store_true", help="覆盖原有弹幕而不提示")
args = parser.parse_args()
print(args.__dict__)
# print(args.__dict__)
font_path, font_style_name = check_font(args.font)
ass_head = get_ass_head(font_style_name, args.font_size)
if args.site == "qq":
Expand All @@ -56,6 +56,5 @@ def main():
write_lines_to_file(ass_head, subtitle.lines, file_path)

if __name__ == "__main__":
# 打包 --> pyinstaller -F .\qq.py -c -n GetDanMu_qq_1.1
main()
# subtitle = ASS()
# 打包 --> pyinstaller GetDanMu.spec
main()

0 comments on commit 858fb65

Please sign in to comment.