sebveigli / coronavirusupdaterbot

A Discord Bot that alerts you on newly discovered cases and deaths from Novel Coronavirus (2019-nCoV) around the world
6 stars 0 forks source link

Crashing on new update #2

Closed apathy closed 4 years ago

apathy commented 4 years ago

image Had this issue yesterday as well when running for around an hour.

sebveigli commented 4 years ago

Sorry about this @apathy - realised the day before and pushed a fix for this specific change. Also pushed another change today (sometimes the updates were coming in with values like 256*), so now I just replace all non-integer characters from strings and there should be no further issues.

Thanks for raising this.

apathy commented 4 years ago

Didn't mean to close this. Any idea why it's still happening? @sebveigli image

sebveigli commented 4 years ago

@apathy Looks like BNO updated the formatting/DOM of their table which has broken my scraper.. :( I'll take a look at this ASAP and get a fix out - will open up an issue specific for this issue.