|
@@ -22,7 +22,7 @@ from common.scheduling_db import MysqlHelper
|
|
|
|
|
|
|
|
|
class ZhongmiaoyinxinRecommend:
|
|
|
- platform = "众妙音信"
|
|
|
+ platform = "zhongmiaoyinxin"
|
|
|
i = 0
|
|
|
|
|
|
@classmethod
|
|
@@ -160,7 +160,7 @@ class ZhongmiaoyinxinRecommend:
|
|
|
|
|
|
@classmethod
|
|
|
def repeat_out_video_id(cls, log_type, crawler, out_video_id, env):
|
|
|
- sql = f""" select * from crawler_video where platform in ("众妙音信", "刚刚都传", "吉祥幸福", "知青天天看", "zhufuquanzi", "祝福圈子", "haitunzhufu", "海豚祝福") and out_video_id="{out_video_id}"; """
|
|
|
+ sql = f""" select * from crawler_video where platform in ("zhongmiaoyinxin", "刚刚都传", "吉祥幸福", "知青天天看", "zhufuquanzi", "祝福圈子", "haitunzhufu", "海豚祝福") and out_video_id="{out_video_id}"; """
|
|
|
repeat_video = MysqlHelper.get_values(log_type, crawler, sql, env)
|
|
|
return len(repeat_video)
|
|
|
|