importing urllib2 and minidom