YoheiHayamizu commited on
Commit
853efc5
·
1 Parent(s): 111299a
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -33,7 +33,12 @@ if st.button("株価を知りたい"):
33
  res = requests.get(url)
34
  soup = BeautifulSoup(res.text, "html.parser")
35
 
 
 
36
  _text = soup.find("div", attrs={"class": "m-stockInfo_top_left"})
 
 
 
37
  _text = _text.text
38
 
39
  print(_text)
 
33
  res = requests.get(url)
34
  soup = BeautifulSoup(res.text, "html.parser")
35
 
36
+ print(soup)
37
+
38
  _text = soup.find("div", attrs={"class": "m-stockInfo_top_left"})
39
+
40
+ print(_text)
41
+
42
  _text = _text.text
43
 
44
  print(_text)