|
@@ -9,6 +9,7 @@ import requests
|
|
|
from common.mq import MQ
|
|
|
|
|
|
sys.path.append(os.getcwd())
|
|
|
+
|
|
|
from common.common import Common
|
|
|
from common import AliyunLogger, PiaoQuanPipeline
|
|
|
from common.public import get_config_from_mysql, clean_title
|
|
@@ -265,9 +266,7 @@ class XiaoNianGaoAuthor:
|
|
|
mode=self.mode,
|
|
|
env=self.env,
|
|
|
data=video_dict,
|
|
|
- message="发布时间超过{}天".format(
|
|
|
- int(self.rule_dict.get("period", {}).get("max", 1000))
|
|
|
- ),
|
|
|
+ message="发布时间超过1天"
|
|
|
)
|
|
|
return False
|
|
|
flag = pipeline.repeat_video()
|