Skip to content

Commit

Permalink
make it better
Browse files Browse the repository at this point in the history
  • Loading branch information
Rstar1998 committed May 26, 2020
1 parent e3dab38 commit 3ec266f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def hello_world():
'rank' : td_list[0].find_all('b')[0].getText(),
'flaglink' : td_list[1].find_all('img')[0].get('src'),
'name' : td_list[2].find_all('a')[0].getText(),
'value' : td_list[3].find_all('span')[0].getText()
'value' : td_list[3].find_all('span')[0].getText(),
'href' : td_list[2].find_all('a')[0].get('href')
})

resp['data']=data_list
Expand Down

0 comments on commit 3ec266f

Please sign in to comment.