jblog
toc

Random Resource Locator

2015-08-22, post № 57

programming, Python, #address, #com, #domain, #page, #pseudo random, #random, #rrl, #url, #web, #webpage, #webserver, #websize

I once heard that every domain containing three letters of the alphabet and ending with ‘.com’ was assigned to some web server. This would mean, all 𝟣𝟩𝟧𝟩𝟨 [1] domains were used.
To test it, I wrote this little Python program.

Usage

  • To use it, simply press enter to open a random page. Because you often will get redirected, the program will print out the url on the screen.
random-resource-locator-1.png
Source code: random-resource-locator.py

Footnotes

  1. Any three letters of the twenty-six in the alphabet result in 26^3=17576.