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

North Dakota scraper: site has switched to PowerBI #121

Open
nkrishnaswami opened this issue Sep 3, 2020 · 3 comments
Open

North Dakota scraper: site has switched to PowerBI #121

nkrishnaswami opened this issue Sep 3, 2020 · 3 comments
Assignees

Comments

@nkrishnaswami
Copy link
Collaborator

Scraper fails with the following message:

  'NoneType' object has no attribute 'text'
  Traceback (most recent call last):
    File "covid19_scrapers\scraper.py", line 56, in run
      **kwargs)
    File "covid19_scrapers\states\north_dakota.py", line 32, in _scrape
      date = self.get_date(soup)
    File "covid19_scrapers\states\north_dakota.py", line 28, in get_date
      return datetime.strptime(last_updated.text, 'Last updated: %m/%d/%Y').date()
@nkrishnaswami nkrishnaswami self-assigned this Sep 3, 2020
@nkrishnaswami
Copy link
Collaborator Author

North Dakota has switched to a PowerBI dashboard. @fredtsun, could you take a look?

@nkrishnaswami
Copy link
Collaborator Author

@nkrishnaswami nkrishnaswami changed the title North Dakota scraper fails with HTML parsing error North Dakota scraper: site has switched to PowerBI Sep 19, 2020
@nkrishnaswami
Copy link
Collaborator Author

Cases by race are now available, but deaths by race are still not.

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

No branches or pull requests

2 participants