GithubHelp home page GithubHelp logo

iana_tld_list's Introduction

iana_tld_list

original author: "Jophy: https://github.com/jophy"

python 3 modifications and addidional behaviour: "mboot: https://github.com/maarten-boot"

A python script for fetching IANA Tldlist and parsing NIC website & Whois server.

Usage:

run python iana.py. or see the test.py

  1. Script will download the IANA database from https://data.iana.org/TLD/tlds-alpha-by-domain.txt. The file will be refreshed every 24 hours by default
  2. It will fetch tld info one by one from https://www.iana.org/domains/root/db/ and create a tldlist.txt file finally.
  3. At last, it will parse the tldlist.txt and create tld.json.

Tips:

The default behaviour is:

  • Script will check if there is a tldlist.txt file at the beginning of downloading the Database.
  • You can press Y to override existing files.
  • It will take you at least 20 minutes to process all the existing tld's from IANA. (Test on a DigitalOcean VPS)

New Options

new options now allow better fine-tuning:

  • no interactive behaviour
  • always overwrite existing files
  • caching the initial tld file
  • fetching individual tld's with caching (no need for the initial download if you want to lookup only a few tld's)
  • specify your own download path
  • additional verbosity during testing

License:

MIT License

iana_tld_list's People

Contributors

jophy avatar rl-devops avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.