pipelines
process_item 中打印好item中的數據後,利用raise DropItem(item) 丟棄item
或者直接 return item 有啥效果
@classmethod
def from_crawler(cls,crawler):
return cls(aaa=crawler.settings.get("MY_MESSAGE"))
"""
# setting 中的My_MESSAGE
MY_MESSAGE = "Love you!"
"""