Browse Source

新增-rematch task

luojunhui 4 months ago
parent
commit
2bc5d1a4fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tasks/rm_match_task.py

+ 1 - 1
tasks/rm_match_task.py

@@ -147,7 +147,7 @@ class ReMatchTask(object):
         select_sql = f"""
             SELECT id, out_video_id, platform, video_title, video_url, cover_url
             FROM {self.article_crawler_video_table} 
-            WHERE content_id = {content_id} AND download_status = {rematch_task_const.VIDEO_DOWNLOAD_INIT_STATUS};
+            WHERE content_id = '{content_id}' AND download_status = {rematch_task_const.VIDEO_DOWNLOAD_INIT_STATUS};
         """
         to_download_videos = await self.db_client.async_select(select_sql, cursor_type=DictCursor)
         new_download_count = await self.async_download_video_list(