diff --git a/examples/upload_video_to_baijiahao.py b/examples/upload_video_to_baijiahao.py index cd6c0e2..fa3f487 100644 --- a/examples/upload_video_to_baijiahao.py +++ b/examples/upload_video_to_baijiahao.py @@ -20,8 +20,8 @@ if __name__ == '__main__': title, tags = get_title_and_hashtags(str(file)) thumbnail_path = file.with_suffix('.png') # 打印视频文件名、标题和 hashtag - # print(f"视频文件名:{file}") - # print(f"标题:{title}") - # print(f"Hashtag:{tags}") + print(f"视频文件名:{file}") + print(f"标题:{title}") + print(f"Hashtag:{tags}") app = BaiJiaHaoVideo(title, file, tags, publish_datetimes[index], account_file) - asyncio.run(app.mainAi(), debug=False) + asyncio.run(app.main(), debug=False)