|
@@ -54,7 +54,7 @@ class historyContentIdTask(object):
|
|
from {self.article_crawler_video_table}
|
|
from {self.article_crawler_video_table}
|
|
where download_status = {self.const.VIDEO_DOWNLOAD_SUCCESS_STATUS}
|
|
where download_status = {self.const.VIDEO_DOWNLOAD_SUCCESS_STATUS}
|
|
group by content_id
|
|
group by content_id
|
|
- ) VID on ART.content_id = VID.content_id and VID.cnt >= 3
|
|
|
|
|
|
+ ) VID on ART.content_id = VID.content_id and VID.cnt >= {self.const.MIN_VIDEO_NUM}
|
|
WHERE ART.content_status = {self.const.TASK_INIT_STATUS} and ART.process_times <= {self.const.TASK_MAX_PROCESS_TIMES}
|
|
WHERE ART.content_status = {self.const.TASK_INIT_STATUS} and ART.process_times <= {self.const.TASK_MAX_PROCESS_TIMES}
|
|
AND ART.publish_flag = {self.publish_flag}
|
|
AND ART.publish_flag = {self.publish_flag}
|
|
-- ORDER BY ART.flow_pool_level, ART.request_timestamp
|
|
-- ORDER BY ART.flow_pool_level, ART.request_timestamp
|