domain_file_url = "http://www.odditysoftware.com/download/dldoms.php?domdate= def today(): return str(datetime.date.today()) def get_raw_domain_file(): return urllib2.urlopen(domain_file_url + today()).read()