def extract_items(self, htmlpage, response=None):
        """This method is also called from UI webservice to extract items"""
        for extractor in self.extractors:
            items, links = self._do_extract_items_from(htmlpage, extractor,
                                                       response)
            if items:
                return items, links
        return [], []
This method is also called from UI webservice to extract items
slybot/slybot/plugins/scrapely_annotations/annotations.py