def __init__(self): AExternalDumpEntitySource.__init__(self, self.NAME, self.TYPES, 512) if Globals.options.test: self._dumpFile = self.DUMP_FILE_TEST else: self._dumpFile = self.DUMP_FILE
def __init__(self): AExternalDumpEntitySource.__init__(self, "Amazon", self.TYPES, 512) self.seen = set() self.title_re = re.compile("#([0-9])*: (.*)") self.id_re = re.compile(".*_([0-9A-Za-z]*)") self.author_re0 = re.compile("by (.*)") self.author_re1 = re.compile("(.*) \(Author\)")
def __init__(self, name, entityMap, types, filename): AExternalDumpEntitySource.__init__(self, name, types, 512) global use_sqlite self._sqlite = use_sqlite self._filename = filename self._columnMap = entityMap self._distro = AppleEPFDistro.getInstance() self._init_db(filename)
def __init__(self): AExternalDumpEntitySource.__init__(self, self.NAME, self.TYPES)
def __init__(self): AExternalDumpEntitySource.__init__(self, self.NAME, self.TYPES, 128) self._dumpFile = self.DUMP_FILE
def __init__(self): AExternalDumpEntitySource.__init__(self, 'Barnes & Noble', self.TYPES, 512)
def __init__(self): AExternalDumpEntitySource.__init__(self, 'Netflix', self.TYPES, None) self._client = NetflixClient("Stamped", NETFLIX_API_KEY, NETFLIX_API_SECRET, '', False)