|
@@ -9,7 +9,7 @@ import time
|
|
|
from datetime import datetime
|
|
|
import concurrent.futures
|
|
|
|
|
|
-from common.redis import get_data
|
|
|
+from common.redis import get_data, get_redis_video_data
|
|
|
from common.tts_help import TTS
|
|
|
from common import Material, Feishu, Common, Oss
|
|
|
from common.ffmpeg import FFmpeg
|
|
@@ -109,7 +109,9 @@ class VideoProcessor:
|
|
|
video_url = video["video_url"]
|
|
|
old_title = video['old_title']
|
|
|
rule = video['rule']
|
|
|
-
|
|
|
+ redis_video = get_redis_video_data(v_id)
|
|
|
+ if redis_video:
|
|
|
+ continue
|
|
|
if not old_title:
|
|
|
old_title = '这个视频,分享给我的老友,祝愿您能幸福安康'
|
|
|
text = (
|