Skip to content

Commit

Permalink
Fix spider: cuya_citizens_advisory_equity
Browse files Browse the repository at this point in the history
  • Loading branch information
SimmonsRitchie committed Jan 24, 2024
1 parent 89e353c commit a5137d7
Show file tree
Hide file tree
Showing 4 changed files with 1,158 additions and 675 deletions.
12 changes: 3 additions & 9 deletions city_scrapers/spiders/cuya_citizens_advisory_equity.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
from city_scrapers_core.constants import ADVISORY_COMMITTEE
from city_scrapers_core.spiders import CityScrapersSpider

from city_scrapers.mixins import CuyaCountyMixin
from city_scrapers.mixins import CuyaCountyMixin2


class CuyaCitizensAdvisoryEquitySpider(CuyaCountyMixin, CityScrapersSpider):
class CuyaCitizensAdvisoryEquitySpider(CuyaCountyMixin2, CityScrapersSpider):
name = "cuya_citizens_advisory_equity"
agency = "Cuyahoga County Citizens' Advisory Council on Equity"
start_urls = [
"http://bc.cuyahogacounty.us/en-US/Citizens-Advisory-Council-Equity.aspx"
"https://cuyahogacounty.gov/boards-and-commissions/board-details/external/citizens-advisory-council-on-equity" # noqa
]
classification = ADVISORY_COMMITTEE

def _parse_location(self, response):
loc_str = super()._parse_location(response)
if loc_str is None:
return {"name": "Remote", "address": ""}
return {"name": "", "address": loc_str}
Loading

0 comments on commit a5137d7

Please sign in to comment.