From f0b34f3576fbc6e1d29ba46402dde0d23e306922 Mon Sep 17 00:00:00 2001 From: p4ut7fwj5 <3346195219@qq.com> Date: Fri, 13 Sep 2024 19:18:04 +0800 Subject: [PATCH] ADD file via upload --- main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..c651b1e --- /dev/null +++ b/main.py @@ -0,0 +1,14 @@ +""" + 说明:主程序 +""" +from bullet_screen import get_bullet_screen +from bv_maker import get_bv, BV_NUM +from word_cloud import make_word_cloud + +if __name__ == '__main__': + bv_list = get_bv(BV_NUM) + bullet_screen_list = get_bullet_screen(bv_list) + try: + make_word_cloud(bullet_screen_list) + except ValueError as e: + print("没有任何AI应用相关的弹幕") \ No newline at end of file