2 parents 675325c + e566dcd commit 5849340Copy full SHA for 5849340
1 file changed
pages/4_DART_공시.py
@@ -90,6 +90,18 @@
90
)
91
except Exception as exc:
92
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
102
+ "python scripts/run_dart_monitor.py --tickers 005930 000660 --days 7\n"
103
+ "```"
104
+ )
105
st.stop()
106
107
# ── 결과 표시 ───────────────────────────────────────────
0 commit comments