Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KFCMike committed Jun 22, 2018
1 parent da82365 commit ee91881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -4,7 +4,7 @@
from datetime import datetime
req = requests.get('http://www.ha.org.hk/aedwt/data/aedWtData.json')
j = req.json()
names=[j['result']['hospData'][i]['hospNameB5'] for i in range(0,18)]
=[j['result']['hnamesospData'][i]['hospNameEn'] for i in range(0,18)]
waitime=[j['result']['hospData'][i]['topWait'] for i in range(0,18)]
names[15]=names[15][0:5]
dt=j['result']['hospData'][0]['hospTimeEn']
Expand Down

0 comments on commit ee91881

Please sign in to comment.