From 858fb65ede5cfbed56f49acfa19309450f68f298 Mon Sep 17 00:00:00 2001 From: xhlove Date: Sat, 4 Jan 2020 20:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=80=E4=BA=9B=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GetDanMu.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/GetDanMu.py b/GetDanMu.py index eaceada..c2f34c0 100644 --- a/GetDanMu.py +++ b/GetDanMu.py @@ -3,7 +3,7 @@ ''' # 作者: weimo # 创建日期: 2020-01-04 12:59:11 -# 上次编辑时间 : 2020-01-04 17:41:34 +# 上次编辑时间 : 2020-01-04 20:14:39 # 一个人的命运啊,当然要靠自我奋斗,但是... ''' @@ -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": @@ -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() \ No newline at end of file + # 打包 --> pyinstaller GetDanMu.spec + main() \ No newline at end of file