I am new to Scrapy, I had the spider code
class Example_spider(BaseSpider):
name = \"example\"
allowed_domains = [\"www.example.com\"]
def start_re
Your process_item method should be declared as: def process_item(self, item, spider): instead of def process_item(self, spider, item): -> you switched the arguments around.
This exception: exceptions.NameError: global name 'Exampleitem' is not defined indicates you didn't import the Exampleitem in your pipeline.
Try adding: from myspiders.myitems import Exampleitem (with correct names/paths ofcourse).