EinsteinCoder commited on
Commit
31c48e5
·
verified ·
1 Parent(s): 34119ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_daily_pred(url):
37
  soup = BeautifulSoup(r.content, 'html.parser') # If this line causes an error, run 'pip install html5lib' or install html5lib
38
  #print(soup.prettify())
39
  elements = soup.find_all("div", class_="daily-horo text-center")
40
- today=elements[1].text.strip()
41
  return(today)
42
 
43
  def get_monthly_pred(url):
 
37
  soup = BeautifulSoup(r.content, 'html.parser') # If this line causes an error, run 'pip install html5lib' or install html5lib
38
  #print(soup.prettify())
39
  elements = soup.find_all("div", class_="daily-horo text-center")
40
+ today=elements[0].text.strip()
41
  return(today)
42
 
43
  def get_monthly_pred(url):