How hot is .brussels?

Analysis of the uptake of the .brussels top-level domain name extension

Code

In order to encourage more studies on that topic, we have elected to make our code available. Use it, share it, own it!
Everything is available on GitHub, too. This webpage will link to the original scripts used, any updates will be pushed to the GitHub page.

redirect.sh

This shell script checks whether one URL points to another. Using a two-column *.csv file as input, it uses curl to see if the URL in column 1 is being redirected to the URL in column 2. By putting the same URL in each column of the *.csv file, it becomes possible to determine if there is a redirection or not.
Download: here

whois_dotbrussels.sh

This shell script launches the whois command on the list of registered .brussels domain names (as of March 2016). You will need to change your IP every 60 domain names for the script not to fail. The results are printed out in stdout and can be parsed using the below python program.
Download: here

parsing_whois.py

This python 2.7 program parses the result of the above program, where each individual result has been encapsulated in a <archive> </archive> pair of tags. It prints in stdout two columns, the first one containing the domain name and the second one containing the name, address, postal code and city of the registrant.
Download: here