diff --git a/scrapers/nm/__init__.py b/scrapers/nm/__init__.py index 2883ff4a62..13885ef3db 100644 --- a/scrapers/nm/__init__.py +++ b/scrapers/nm/__init__.py @@ -193,7 +193,7 @@ class NewMexico(State): "name": "2024 Regular Session", "start_date": "2024-01-16", "end_date": "2024-02-15", - "active": True, + "active": False, }, ] ignored_scraped_sessions = [ diff --git a/scrapers_next/oh/people.py b/scrapers_next/oh/people.py index d963ad2ef2..592c7c99b4 100644 --- a/scrapers_next/oh/people.py +++ b/scrapers_next/oh/people.py @@ -25,7 +25,10 @@ class LegPartial: class LegList(HtmlListPage): def process_item(self, item): - name = CSS(".media-overlay-caption-text-line-1").match_one(item).text + try: + name = CSS(".media-overlay-caption-text-line-1").match_one(item).text + except SelectorError: + self.skip("vacant") if "vacant" in name.lower(): self.skip("vacant")