ADD file via upload

main
p4ut7fwj5 2 months ago
parent 1d990613f1
commit ff8ca85082

@ -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: #异常处理防止没有AI应用相关弹幕造成的ValueError
make_word_cloud(bullet_screen_list)
except ValueError as e:
print("没有任何AI应用相关的弹幕")
Loading…
Cancel
Save