Update upload_video_to_douyin.py
This commit is contained in:
@@ -23,8 +23,9 @@ if __name__ == '__main__':
|
|||||||
print(f"视频文件名:{file}")
|
print(f"视频文件名:{file}")
|
||||||
print(f"标题:{title}")
|
print(f"标题:{title}")
|
||||||
print(f"Hashtag:{tags}")
|
print(f"Hashtag:{tags}")
|
||||||
if thumbnail_path.exists():
|
# 暂时没有时间修复封面上传,故先隐藏掉该功能
|
||||||
app = DouYinVideo(title, file, tags, publish_datetimes[index], account_file, thumbnail_path=thumbnail_path)
|
# if thumbnail_path.exists():
|
||||||
else:
|
# app = DouYinVideo(title, file, tags, publish_datetimes[index], account_file, thumbnail_path=thumbnail_path)
|
||||||
app = DouYinVideo(title, file, tags, publish_datetimes[index], account_file)
|
# else:
|
||||||
asyncio.run(app.main(), debug=False)
|
app = DouYinVideo(title, file, tags, publish_datetimes[index], account_file)
|
||||||
|
asyncio.run(app.main(), debug=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user