Skip to content

Exception(silent one) in whoscraper #40

Open
@x6iae

Description

@x6iae

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"] .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions