disease-info icon indicating copy to clipboard operation
disease-info copied to clipboard

Exception(silent one) in whoscraper

Open x6iae opened this issue 9 years ago • 1 comments

On a separate debugging/refactor, I notice that disease_page = open_page("http://www.who.int#{disease_link.attributes["href"].value}") ( https://github.com/devcenter-square/disease-info/blob/develop/app/lib/scrapers/who_scraper.rb#L33 ) seems to be throwing up a NoMethodError: undefined method 'attributes' for ... :Array error, as disease_link seems to be an array of the form ["href", "/entity/mediacentre/factsheets/fs101/en/index.html"] .

x6iae avatar Oct 16 '16 09:10 x6iae

Not entirely sure this is still an issue. Need it checked.

x6iae avatar Nov 02 '16 23:11 x6iae