Пример #1
0
	def deobFile(self, filename):
		log = utils.LOG()
		progress = log.STATUS(filename)
		thefile = open(filename, 'r')
		count = 0
		for line in thefile:
			count = count + 1
			if count <= progress:
				continue
			print line
			paras = utils.genTempnameLine(line)
			self.deobLink(paras[0], paras[1], paras[2], paras[3], paras[4])
			log.UPDATE(filename, count)
Пример #2
0
	def deobSpecificURL(self, url, filename):
		thefile = open(filename, 'r')
		for line in thefile:
			paras = utils.genTempnameLine(line)
			if paras[0] == url:
				self.deobLink(paras[0], paras[1], paras[2], paras[3], paras[4])