scrapy get item instead of list

Developer from somewhere

ItemLoader

1
.add_css
returns a list, instead of a single value. To get the first value, use this in your item:

import scrapy
from scrapy.contrib.loader.processor import TakeFirst

class YourItem(scrapy.Item):
    description = scrapy.Field(output_processor=TakeFirst())