title: Make requests using Python over Tor
body: <p>I want to make multiple GET requests using Tor to a webpage. I want to use a different ipaddress for each request.</p>
  
  <pre><code>import socks
  import socket
  socks.set_default_proxy(socks.SOCKS5, "127.0.0.1", 9150)
  socket.socket = socks.socksocket
  import requests
  print (requests.get('http://icanhazip.com')).content
  </code></pre>
  
  <p>Using this, I made one request. How can I change the ipaddress to make another?</p>