api changed to conform to class Selector of scrapy