Skip to content

Commit 5849340

Browse files
illenne77claude
andcommitted
merge(fix/dart-cloud-notice): fix/dart-cloud-notice -> main
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents 675325c + e566dcd commit 5849340

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pages/4_DART_공시.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@
9090
)
9191
except Exception as exc:
9292
st.error(f"조회 오류: {exc}")
93+
if "timed out" in str(exc).lower() or "urlopen" in str(exc).lower():
94+
st.info(
95+
"💡 **Streamlit Cloud에서는 DART API(opendart.fss.or.kr)에 접근이 제한됩니다.**\n\n"
96+
"로컬에서 실행하세요:\n"
97+
"```bash\n"
98+
"streamlit run streamlit_app.py\n"
99+
"```\n"
100+
"또는 CLI로 조회:\n"
101+
"```bash\n"
102+
"python scripts/run_dart_monitor.py --tickers 005930 000660 --days 7\n"
103+
"```"
104+
)
93105
st.stop()
94106

95107
# ── 결과 표시 ───────────────────────────────────────────

0 commit comments

Comments
 (0)