mirror of
https://github.com/Xevion/thesaurus-scraper.git
synced 2025-12-16 18:13:31 -06:00
setup scrapy project defaults
This commit is contained in:
13
scraper/pipelines.py
Normal file
13
scraper/pipelines.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Define your item pipelines here
|
||||
#
|
||||
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
|
||||
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
|
||||
|
||||
|
||||
# useful for handling different item types with a single interface
|
||||
from itemadapter import ItemAdapter
|
||||
|
||||
|
||||
class ScraperPipeline:
|
||||
def process_item(self, item, spider):
|
||||
return item
|
||||
Reference in New Issue
Block a user