|
@@ -8,6 +8,7 @@ from common.redis import install_video_data
|
|
def bot_video_ai_top():
|
|
def bot_video_ai_top():
|
|
"""头部"""
|
|
"""头部"""
|
|
dt = datetime.datetime.now().strftime('%Y%m%d')
|
|
dt = datetime.datetime.now().strftime('%Y%m%d')
|
|
|
|
+ print(f"开始执行头部{dt}")
|
|
# dt = '20241014'
|
|
# dt = '20241014'
|
|
redis_task = 'task:video_ai'
|
|
redis_task = 'task:video_ai'
|
|
table_name = 'content_ai_tag_return_top'
|
|
table_name = 'content_ai_tag_return_top'
|
|
@@ -18,6 +19,8 @@ def bot_video_ai_top():
|
|
def bot_video_ai_recommend():
|
|
def bot_video_ai_recommend():
|
|
"""新推荐"""
|
|
"""新推荐"""
|
|
dt = datetime.datetime.now().strftime('%Y%m%d%H')
|
|
dt = datetime.datetime.now().strftime('%Y%m%d%H')
|
|
|
|
+ print(f"开始执行新推荐{dt}")
|
|
|
|
+
|
|
# dt = '2024101514'
|
|
# dt = '2024101514'
|
|
redis_task = 'task:video_ai'
|
|
redis_task = 'task:video_ai'
|
|
table_name = 'content_ai_tag_recommend'
|
|
table_name = 'content_ai_tag_recommend'
|
|
@@ -27,6 +30,7 @@ def bot_video_ai_recommend():
|
|
def bot_video_ai_complex_mode():
|
|
def bot_video_ai_complex_mode():
|
|
"""复推"""
|
|
"""复推"""
|
|
dt = datetime.datetime.now().strftime('%Y%m%d%H')
|
|
dt = datetime.datetime.now().strftime('%Y%m%d%H')
|
|
|
|
+ print(f"开始执行复推{dt}")
|
|
# dt = '2024101514'
|
|
# dt = '2024101514'
|
|
redis_task = 'task:video_ai'
|
|
redis_task = 'task:video_ai'
|
|
table_name = 'content_ai_tag_reflowpool'
|
|
table_name = 'content_ai_tag_reflowpool'
|