work to improve the code
Use mechanize in order to deal with redirects and regex for the domain