Discover random web servers and print the index page title
Overall, the code is pretty clean. Some notes about the Python part:


be consistent about the documentation string style - enclose them with triple quotes, start with an upper-case letter, end with a dot (PEP8 reference). I also think that you can use less newline breaks there.
if we would follow PEP8 importing recommendations, there should be a newline between the "system" level imports and third-parties:

import os
import sys

import lxml.html

you should have 2 line breaks between the function definitions (reference)
use print() as a function for Python 3 compatibility
I would avoid unnecessary invert of the logic and replace:

if not len(sys.argv) &gt;= 2:


with:

if len(sys.argv) &lt; 2:

avoid using bare except clauses
you can use .findtext() method:

title.findtext(".//title")


which will return None if title element was not found.