def METHOD_NAME(self, response):
    address_list = response.xpath(
        '//div[@class="cms_locations_mapaddress"]/div[@class="cms_locations_addressphone"]/div[@class="location_address"]/text()'
    ).extract()
    if len(address_list) > 2:
        address_full = "".join(x for x in address_list[0:2])
    else:
        address_full = address_list[0]
    if len(address_list) > 2:
        city = address_list[2].split(",")[0].strip()
    else:
        city = address_list[1].split(",")[0].strip()
    if len(address_list) > 2:
        state = address_list[2].split(",")[1].lstrip().split(" ")[0].strip()
    else:
        state = address_list[1].split(",")[1].lstrip().split(" ")[0].strip()
    if len(address_list) > 2:
        postcode = (
            address_list[2].split(",")[1].lstrip().split(" ")[2].strip()
            + " "
            + address_list[2].split(",")[1].lstrip().split(" ")[3].strip()
        )
    else:
        postcode = (
            address_list[1].split(",")[1].lstrip().split(" ")[2].strip()
            + " "
            + address_list[1].split(",")[1].lstrip().split(" ")[3].strip()
        )
    page_content = response.text
    latitude = re.findall("var latitude = [^(;)]+", page_content)
    if len(latitude) > 0:
        latitude = float(latitude[0][15:])
    else:
        latitude = ""
    longitude = re.findall("var longitude  = [^(;)]+", page_content)
    if len(longitude) > 0:
        longitude = float(longitude[0][17:])
    else:
        longitude = ""
    properties = {
        "addr_full": address_full,
        "phone": response.xpath(
            'normalize-space(//div[@class="cms_locations_mapaddress"]/div[@class="cms_locations_addressphone"]/div[@class="location_contact"]/text())'
        )
        .extract_first()
        .replace("\xa0 ", ""),
        "city": city,
        "state": state,
        "postcode": postcode,
        "ref": re.findall(r"com\/[^(\/)]+", response.url)[0][4:],
        "website": response.url,
        "lat": latitude,
        "lon": longitude,
    }
    hours = self.parse_hours(response.xpath('//table[@class="locations_timetable_table"]/tr'))
    if hours:
        properties["opening_hours"] = hours
    yield Feature(**properties)