def getUrlCacheFile(self,url,level = 3): return os.path.join(os.path.abspath(self.cache_dir),pathHashDir(url,level),hex_md5(url)+".txt")
def hash_dir(self,s,level = 3): return pathHashDir(s,level)