

def parse_item_alt1(self, response):
    hxs = HtmlXPathSelector(response)
    base_path = '//blockquote'
    recipes_scopes = hxs.select(base_path)
    name_path = '//meta[@property="og:title"]/@content'
    description_path = '//meta[@property="og:description"]/@content'
    url_path = '//meta[@property="og:url"]/@content'
    image_path = '//div[@class="post"]/p[1]/img/@src'
    ypc_path = './/p/text()[starts-with(.,"Yields")]'
    ingredients_path = './/p[starts-with(text(),"Yields")]/following-sibling::p[1]'
    datePublished_path = '//meta[@property="article:published_time"]/@content'
    dateModified_path = '//meta[@property="article:modified_time"]/@content'
    recipes = []
    for r_scope in recipes_scopes:
        il = RecipeItemLoader(item=RecipeItem())
        il.add_value('source', recipes_scopes.source)
        il.add_value('name', r_scope.select(name_path).extract())
        il.add_value('image', r_scope.select(image_path).extract())
        il.add_value('url', r_scope.select(url_path).extract())
        il.add_value('description', r_scope.select(description_path).extract())
        ypc_str = ''.join(r_scope.select(ypc_path).extract())
        yield_match = re.match('Yields?:?\\s([^|]+)', ypc_str, re.I)
        prep_match = re.match('.+Prep(?: Time)?:?\\s([^|]+)', ypc_str, re.I)
        cook_match = re.match('.+Cook Time:?\\s([^|]+)', ypc_str, re.I)
        if yield_match:
            il.add_value('recipeYield', yield_match.group(1))
        if prep_match:
            il.add_value('prepTime', prep_match.group(1))
        if cook_match:
            il.add_value('cookTime', cook_match.group(1))
        il.add_value('ingredients', r_scope.select(ingredients_path).extract())
        il.add_value('datePublished', r_scope.select(datePublished_path).extract())
        il.add_value('dateModified', r_scope.select(dateModified_path).extract())
        recipes.append(il.load_item())
    return recipes

dataset/ETHPy150Open fictivekin/openrecipes/scrapy_proj/openrecipes/spiders/delishhh_spider.py DelishhhMixin.parse_item_alt1/VarMisuse@93/254 `self`->`recipes_scopes`