replacing deprecated BaseSpider class with Spider class