<s> from scrapy . item import Item , Field <EOL> from scrapy . loader import ItemLoader <EOL> from scrapy . loader . processors import MapCompose , TakeFirst , Join <EOL> class ExampleItem ( Item ) : <EOL> name = Field ( ) <EOL> description = Field ( ) <EOL> link = Field ( ) <EOL> crawled = Field ( ) <EOL> spider = Field ( ) <EOL> url = Field ( ) <EOL> class ExampleLoader ( ItemLoader ) : <EOL> default_item_class = ExampleItem <EOL> default_input_processor = MapCompose ( lambda s : s . strip ( ) ) <EOL> default_output_processor = TakeFirst ( ) <EOL> description_out = Join ( ) </s>
