minor changes
use requests instead of urllib2