def parse_store(self, response):
    json_data = response.xpath('//script[@type="text/javascript"]/text()').extract_first().replace('\n', '').replace('\t', '').split('.push(')[1].rstrip(')')
    data = json.loads(json_data)
    geojson_data = response.xpath('//script[@class="js-store-finder-initial-state"][@type="application/json"]/text()').extract_first()
    geodata = json.loads(geojson_data)
    raw = str(data['seoData']['openingHours'])
    formatted = str(data['seoData']['openingHours']).replace('[', '').replace(']', '').replace("'", '')
    (yield inputoutput(raw, formatted))
def parse_store(self, response):
    json_data = response.xpath('//script[@type="text/javascript"]/text()').extract_first().replace('\n', ).replace('\t', ).split('.push(')[1].rstrip(')')
    data = json.loads(json_data)
    geojson_data = response.xpath('//script[@class="js-store-finder-initial-state"][@type="application/json"]/text()').extract_first()
    geodata = json.loads(geojson_data)
    raw = str(data['seoData']['openingHours'])
    formatted = str(data['seoData']['openingHours']).replace('[', ).replace(']', ).replace("'", )
    (yield inputoutput(raw, formatted))