Skip to content

Instantly share code, notes, and snippets.

@ajitmp
Created July 27, 2024 11:17
Show Gist options
  • Save ajitmp/942962099efe2aa521ea203343ab4a60 to your computer and use it in GitHub Desktop.
Save ajitmp/942962099efe2aa521ea203343ab4a60 to your computer and use it in GitHub Desktop.
This gist has a item defined which can be used by a scrapy spider to scrape quote data.
#spiders_automation_demo/items.py
import scrapy
class QuoteItem(scrapy.Item):
title = scrapy.Field()
author = scrapy.Field()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment