'scrapy: NotImplementedError parse callback not defined

I have started writing a scrapy spider and I keep getting this error when I run the spider in VS Code.

        Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
        current.result = callback(current.result, *args, **kw)
      File "/usr/lib/python3/dist-packages/scrapy/spiders/__init__.py", line 90, in parse
        raise NotImplementedError('{}.parse callback is not defined'.format(self.__class__.__name__))
    NotImplementedError: PukeSpider.parse callback is not
 defined

Here's the code

    import scrapy

class ScatSpider(scrapy.Spider):
    name = 'videos'
    start_urls = [
        
        'https://thisvid.com/tags/scat/',
    ]


def parse(self, response):
    for videos in response.css('a.tumbpu'):
        yield {
            'title': response.css('span.title::text').get(),
            'link': response.css('a.tumbpu::text').attrib['href']
        }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source