- 종목명 검색 개선
- 엑셀 핸들러 추가 - 기타 코드 정리
This commit is contained in:
@@ -449,12 +449,12 @@ namespace NewsCrawler
|
||||
if(strErrCode == "020")
|
||||
{
|
||||
Config.SetDartAPIKeyLimit(State.m_strAuthKey);
|
||||
Util.Log(Util.LOG_TYPE.ERROR, string.Format("[DartAPI] {0} ({1})", jObj["err_msg"], m_iDartAPIRetry));
|
||||
Util.Log(Util.LOG_TYPE.ERROR, string.Format("[DartAPI] {0} (key:{1}, retry:{2})", jObj["err_msg"], State.m_strAuthKey, m_iDartAPIRetry));
|
||||
return;
|
||||
}
|
||||
else if(strErrCode != "000")
|
||||
{
|
||||
Util.Log(Util.LOG_TYPE.ERROR, string.Format("[DartAPI] {0} ({1})", jObj["err_msg"], m_iDartAPIRetry));
|
||||
Util.Log(Util.LOG_TYPE.ERROR, string.Format("[DartAPI] {0} (key:{1}, retry:{2})", jObj["err_msg"], State.m_strAuthKey, m_iDartAPIRetry));
|
||||
m_iDartAPIRetry--;
|
||||
return;
|
||||
}
|
||||
@@ -475,7 +475,7 @@ namespace NewsCrawler
|
||||
m_Listener.InsertItem(strTitle, strCodeName, "",
|
||||
DateTime.ParseExact(strTime, "HH:mm", CultureInfo.CurrentCulture),
|
||||
DateTime.Now,
|
||||
strURL, "DART API", State.m_Timer.Elapsed.TotalMilliseconds, bInitial);
|
||||
strURL, "DartAPI", State.m_Timer.Elapsed.TotalMilliseconds, bInitial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user