Skip to content

Commit

Permalink
minor teamplate change
Browse files Browse the repository at this point in the history
  • Loading branch information
liante0904 committed Aug 29, 2024
1 parent b5dd2bb commit db4d2fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions naver-research.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ def NAVER_Report_parse(ARTICLE_BOARD_ORDER, TARGET_URL):
LIST_ARTICLE_URL = NAVER_Report_parseURL(research['endUrl'])
LIST_ARTICLE_TITLE = research['title']
if ARTICLE_BOARD_ORDER == 0:
LIST_ARTICLE_TITLE = research['itemName'] + ": " + LIST_ARTICLE_TITLE # 기업분석
if research['itemName']+":" not in LIST_ARTICLE_TITLE :
LIST_ARTICLE_TITLE = research['itemName'] + ": " + LIST_ARTICLE_TITLE # 기업분석
else:
LIST_ARTICLE_TITLE = research['category'] + ": " + LIST_ARTICLE_TITLE # 산업분석
if research['category']+":" not in LIST_ARTICLE_TITLE :
LIST_ARTICLE_TITLE = research['category'] + ": " + LIST_ARTICLE_TITLE # 산업분석

# Use the imported save_data_to_local_json function with filename parameter
new_article_message = save_data_to_local_json(
Expand Down

0 comments on commit db4d2fb

Please sign in to comment.