Skip to content

Commit

Permalink
Merge pull request #86 from City-Bureau/fix-cuya-planning
Browse files Browse the repository at this point in the history
🕷️ Fix spider: Cuyahoga County Planning Commission
  • Loading branch information
SimmonsRitchie authored Feb 9, 2024
2 parents 0452743 + 91ca7e5 commit 704bd9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions city_scrapers/spiders/cuya_planning.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CuyaPlanningSpider(CityScrapersSpider):
timezone = "America/Detroit"
start_urls = ["https://www.countyplanning.us/about/meetings/"]
location = {
"name": "County Headquarters, Conference Room 4-407",
"name": "Cuyahoga County Administrative Headquarters",
"address": "2079 East 9th St Cleveland, OH 44115",
}

Expand Down Expand Up @@ -66,7 +66,7 @@ def _parse_start(self, item):

def _validate_location(self, response):
desc_str = " ".join(response.css(".entry-content .large-12 *::text").extract())
if "4-407" not in desc_str and "virtually" not in desc_str:
if "2079" not in desc_str and "virtually" not in desc_str:
raise ValueError("Meeting location has changed")

def _parse_links(self, response):
Expand Down

0 comments on commit 704bd9e

Please sign in to comment.