Esempio n. 1
0
def chunk_rules(chunk):
	"""Rules for datas found by chunk-crawler"""
	if mod_general.do_it_between(0, 0):
		if chunk.is_older_than(chunk.mtime, 3):
			chunk.verify_chunk_size()
			print chunk.content.creation_time
Esempio n. 2
0
def container_rules(container):
	"""Rules for datas found by meta2-crawler"""
	if mod_general.do_it_between(0, 0):
		container.sqlite_pragma_check()
	pass