Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception(silent one) in whoscraper #40

Open
x6iae opened this issue Oct 16, 2016 · 1 comment
Open

Exception(silent one) in whoscraper #40

x6iae opened this issue Oct 16, 2016 · 1 comment

Comments

@x6iae
Copy link
Member

x6iae commented Oct 16, 2016

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
Copy link
Member Author

x6iae commented Nov 2, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants