|
@@ -193,13 +193,13 @@ class KuaishouauthorScheduling:
|
|
date_three_days_ago_string = (date.today() + timedelta(days=-60)).strftime("%Y-%m-%d %H:%M:%S")
|
|
date_three_days_ago_string = (date.today() + timedelta(days=-60)).strftime("%Y-%m-%d %H:%M:%S")
|
|
rule = publish_time_str > date_three_days_ago_string
|
|
rule = publish_time_str > date_three_days_ago_string
|
|
if rule == False:
|
|
if rule == False:
|
|
- Common.logger(log_type, crawler).info(f"发布时间小于60天,发布时间:{rule}\n")
|
|
|
|
|
|
+ Common.logger(log_type, crawler).info(f"发布时间小于60天,发布时间:{publish_time_str}\n")
|
|
AliyunLogger.logging(
|
|
AliyunLogger.logging(
|
|
code="2004",
|
|
code="2004",
|
|
platform=crawler,
|
|
platform=crawler,
|
|
mode=log_type,
|
|
mode=log_type,
|
|
env=env,
|
|
env=env,
|
|
- message=f"发布时间小于60天,发布时间:{rule}\n"
|
|
|
|
|
|
+ message=f"发布时间小于60天,发布时间:{publish_time_str}\n"
|
|
)
|
|
)
|
|
continue
|
|
continue
|
|
realLikeCount = int(feeds[i].get('photo', {}).get('realLikeCount', 0))
|
|
realLikeCount = int(feeds[i].get('photo', {}).get('realLikeCount', 0))
|