Jun-24-2021, 12:09 PM
What do you want to achieve in the end?
Would you like to read out certain values of files in the leveldb folder?
If you know the Path_to/Chrome/User Data you can get a list of all leveldb folders (leveldb_paths)
for example:
Would you like to read out certain values of files in the leveldb folder?
If you know the Path_to/Chrome/User Data you can get a list of all leveldb folders (leveldb_paths)
import os mypath = 'Path_to/Chrome/User Data' leveldb_paths = [] for root, dirs, files in os.walk(mypath, topdown = False): for name in dirs: if name.startswith("leveldb"): leveldb_paths.append(os.path.join(root, name))Use these paths for what you want to do.
for example:
for path in leveldb_paths: # your code