masa729406 commited on
Commit
b63dcce
Β·
1 Parent(s): f59b30a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -20,6 +20,11 @@ import requests
20
  from bs4 import BeautifulSoup as bs
21
  from requests_html import AsyncHTMLSession
22
 
 
 
 
 
 
23
  df_train = pd.read_csv('df_train.csv')
24
  X = df_train.drop('audience', axis=1)
25
  y = df_train['audience']
 
20
  from bs4 import BeautifulSoup as bs
21
  from requests_html import AsyncHTMLSession
22
 
23
+ # WebγƒšγƒΌγ‚Έγ‚’ε–εΎ—γ—γ¦θ§£ζžγ™γ‚‹
24
+ load_url = "https://www.football-lab.jp/kyot/match/"
25
+ html = requests.get(load_url)
26
+ soup = bs(html.content, "html.parser")
27
+
28
  df_train = pd.read_csv('df_train.csv')
29
  X = df_train.drop('audience', axis=1)
30
  y = df_train['audience']