Skip to content

Commit 0d217c3

Browse files
committed
OracleManagerSQL: JSON 데이터 리스트 삽입 로직을 MERGE에서 중복 키 무시로 변경
1 parent 68843df commit 0d217c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrap_af_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async def update_firm_telegram_url_by_date(date_str=None):
4646
print(f"records{len(records)}")
4747
for record in records:
4848
await LS_detail(articles=record, firm_info=firm_info) # all_records 대신 records 사용
49-
r = await db.update_telegram_url(record['report_id'], record['TELEGRAM_URL'], record['ARTICLE_TITLE'])
49+
r = await db.update_telegram_url(record['REPORT_ID'], record['TELEGRAM_URL'], record['ARTICLE_TITLE'])
5050
print(r)
5151

5252
# update_records = LS_detail(articles=records, firm_info=firm_info) # all_records 대신 records 사용

0 commit comments

Comments
 (0)