A simple and convenient solution for enumerating the base of domains and finding valid ones. The parser is convenient in that it is fully automated, if the domain is crooked, it will continue to work, just as invalid domains are simply deleted from the file that is parsed. ##instructions for install:
- Downloading the repository:
- Install the whois alt package:
pip install whois-alt
- Done
- If you have a large TXT file (in my case 190 million lines) then just specify "text.txt" instead and run the script. Then your file will be split into convenient files of 15,000 lines. This will allow you to sort out even on a weak gland.
- Сhange the range from which to which file to pass the parser
- Change to DNS addresses required by us
- The required domains will appear in the success_ocean.txt file