We use cookies to provide the best possible experience.

By continuing to browse this site you are agreeing to our use of cookies.

Dropcatch+ | Filter Daily Lists of Expiring Domains

Discussion in 'Software' started by Croc, Jul 29, 2018.

  1. Croc

    Croc Active Member Enhanced Advanced

    Posts:
    70
    Discord:
    Croc#1111
    I wrote a little Python script to aid myself in filtering daily expiring domain lists by criteria I specify. I have it set to run automatically using the built-in Automator application on macOS, but it can easily be run with a UNIX cronjob or Windows Task Scheduler as well.

    You can review the full source code on Github and download the latest release here.
    If you are knowledgeable in Python, contributions are welcome. Just make a pull request anytime and I'll review it as soon as possible.

    Comes with a simple JSON configuration file that looks like this:
    Code:
    {
      "maxDomainLength": 10,
      "keywords": [
        "minecraft",
        "coin",
        "craft",
        "tech",
        "pvp"
      ],
      "tlds": [
        "com",
        "net",
        "org",
        "io",
        "co"
      ]
    }
    The script programmatically downloads the next day's expiring list from Namejet's website and parses it. It then filters the entire list in mere seconds based on the criteria you specify in the config.json file.

    If running on a timer of some sort, please set the script to run AFTER 7:00 AM PST because the next day's list is not available until that time the day before.

    Installation Instructions

    1. Download the Python 3.6.x+ installer from https://python.org/downloads
    2. Run the installer, but please make sure to tick the box labeled "Add Python to environment variables". It is unchecked by default. This is important!
    3. Open Terminal (Mac/Linux) or Command Prompt (Windows) and type the following command to let the terminal know where the script files are located. Replace [file path] with the full path to the directory containing the files: cd [file path]
    4. Next, run the following command: pip install -r requirements.txt
    5. The above steps only need to be run once. Now every time you want to run this utility, you simply run the following command: python main.py (if that doesn't work, try replacing python in that command with python3)
    6. If executed correctly, you will see domains being output according to your criteria and they will also be saved to a file in the results directory with the name results_MM-DD-YYYY.txt
     
    • Like Like x 1
  2. legend68

    legend68 Member

    Posts:
    6
    good job bro