|
@@ -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(
|