lets use mdaxfr.poy for faster processing

This commit is contained in:
Dionysus 2024-11-30 02:05:01 -05:00
parent 5ed919d728
commit fd44e0bdf2
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -160,9 +160,11 @@ if __name__ == '__main__':
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
output_dir = args.output # Store the output directory
root_dir = os.path.join(output_dir, 'root') # Use the stored output directory
# Create output directories # Create output directories
os.makedirs(args.output, exist_ok=True) os.makedirs(output_dir, exist_ok=True)
root_dir = os.path.join(args.output, 'root')
os.makedirs(root_dir, exist_ok=True) os.makedirs(root_dir, exist_ok=True)
# Set DNS timeout # Set DNS timeout
@ -219,7 +221,7 @@ if __name__ == '__main__':
elif args.psl: elif args.psl:
# PSL mode # PSL mode
logging.info('Fetching PSL domains...') logging.info('Fetching PSL domains...')
psl_dir = os.path.join(args.output, 'psl') psl_dir = os.path.join(output_dir, 'psl') # Use output_dir here too
os.makedirs(psl_dir, exist_ok=True) os.makedirs(psl_dir, exist_ok=True)
domains = get_psl_tlds() domains = get_psl_tlds()