You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"] .
The text was updated successfully, but these errors were encountered:
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, asdisease_link
seems to be an array of the form["href", "/entity/mediacentre/factsheets/fs101/en/index.html"]
.The text was updated successfully, but these errors were encountered: