Open nkrishnaswami opened 3 years ago
New error:
ERROR covid19_scrapers.scraper: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "/mnt/c/cygwin64/home/nkrishna/COVID19_tracker_data_extraction/workflow/python/covid19_scrapers/scraper.py", line 55, in run
rows = self._scrape(start_date=start_date, end_date=end_date,
File "/mnt/c/cygwin64/home/nkrishna/COVID19_tracker_data_extraction/workflow/python/covid19_scrapers/states/south_carolina.py", line 36, in _scrape
date = self.parse_date(results.page_source)
File "/mnt/c/cygwin64/home/nkrishna/COVID19_tracker_data_extraction/workflow/python/covid19_scrapers/states/south_carolina.py", line 26, in parse_date
raw_date_str = page_source.find('em', string=date_pattern).text
The scraper fails with the following