diff --git a/scrapers/nd/bills.py b/scrapers/nd/bills.py index e1737fda74..86efc0c6b8 100644 --- a/scrapers/nd/bills.py +++ b/scrapers/nd/bills.py @@ -36,30 +36,6 @@ def create_source_url(self): f"{assembly_session_id}-{year}/data/bills.json" ) - def get_voter_name_from_url(self, url: str) -> str: - """ - Description: - Get the full name from URL - - Example: - - https://ndlegis.gov/biography/liz-conmy -> Liz Conmy - - https://ndlegis.gov/biography/randy-a-schobinger -> Randy A. Schobinger - - """ - name_uri = ( - url.replace("https://ndlegis.gov/biography/", "") - .split("?")[0] - .split("/")[0] - .strip() - ) - name_words = [w.title() for w in name_uri.split("-")] - if len(name_words) == 3 and len(name_words[1]) == 1: - return "{0} {1}. {2}".format(*name_words) - elif len(name_words) == 3 and len(name_words[1]) > 1: - return "{0} {1}-{2}".format(*name_words) - else: - return " ".join(name_words) - def get_voter_name_from_url_request(self, url: str) -> str: """ Description: