I tried to crawl and extract a data type of schema markup using python using this
response.xpath("//script[@type='application/ld+json']/text()").extract()but this extract a whole schema markup code. Is there a any method to crawl and extract only the data type of schema markup?