Skip to content

Commit

Permalink
Changed table identifier name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertSuarez committed Mar 19, 2020
1 parent 38090d2 commit 5f0e2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worldometers/retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_last_update():
html_content = _get_html(WORLDOMETERS_URL)
if html_content:
soup = BeautifulSoup(html_content, 'html.parser')
table_countries = soup.findChildren('table', id='main_table_countries')
table_countries = soup.findChildren('table', id='main_table_countries_today')
# Table
if table_countries:
body_list = table_countries[0].findChildren('tbody')
Expand Down

0 comments on commit 5f0e2d9

Please sign in to comment.