def __init__(self): self.base_xpath = '//html/body/div[@id="SysJustIFRAMEDIV"]/table/tr/td/form/table/tr/td/table' self.content_screener = ContentScreener() self.string_utils = StringUtils() self.lxml_utils = LxmlUtils()
def __init__(self, base_xpath_param, column_name_pos=0): self.base_xpath = self.__init_base_xpath(base_xpath_param) self.column_name_pos = column_name_pos self.content_screener = ContentScreener() self.string_utils = StringUtils() self.lxml_utils = LxmlUtils()
def __init__(self): self.base_xpath = '//html/body' self.string_utils = StringUtils() self.lxml_utils = LxmlUtils()
def setUp(self): self.string_utils = StringUtils()
def __init__(self): self.storage = SpiderStorage() self.string_utils = StringUtils()
def __init__(self): self.string_utils = StringUtils()