Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scrapy
- from scrapy.loader.processors import TakeFirst
- class Lesson03ScrapingItem(scrapy.Item):
- # define the fields for your item here like:
- # name = scrapy.Field()
- quote_content = scrapy.Field(output_processor=TakeFirst())
- author = scrapy.Field(output_processor=TakeFirst())
- tags = scrapy.Field()
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement