Spaces:
Sleeping
Sleeping
YoheiHayamizu
commited on
Commit
·
81c8f5c
1
Parent(s):
853efc5
update
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ if "content" not in st.session_state:
|
|
29 |
st.write("株価を知りたい企業の証券コードを入力してください")
|
30 |
|
31 |
if st.button("株価を知りたい"):
|
32 |
-
url = f"https://nikkei.com/nkd/company/?scode={stock_code}"
|
33 |
res = requests.get(url)
|
34 |
soup = BeautifulSoup(res.text, "html.parser")
|
35 |
|
|
|
29 |
st.write("株価を知りたい企業の証券コードを入力してください")
|
30 |
|
31 |
if st.button("株価を知りたい"):
|
32 |
+
url = f"https://www.nikkei.com/nkd/company/?scode={stock_code}"
|
33 |
res = requests.get(url)
|
34 |
soup = BeautifulSoup(res.text, "html.parser")
|
35 |
|