This tool can extract sudomains from https://chaos.projectdiscovery.io/ and save into output file.
git clone https://github.com/0xWhoknows/chaos-extract.git && cd chaos-extractpython3 chaosextract.py -h-c: Number of concurrent download threads (default 30)-o: The name and location of the output file-k: Keywords to filter URLs (e.g., apple google)
python3 chaosextract.py -c 60 -o /tmp/chaos-sub.txt