try using urllib and urllib2