title: Python urllib2 timeout when using Tor as proxy?
body: <p>I am using Python's urllib2 with Tor as a proxy to access a website. When I 
  open the site's main page it works fine but when I try to view the login page
  (not actually log-in but just view it) I get the following error...</p>
  
  <pre><code>URLError: &lt;urlopen error (10060, 'Operation timed out')&gt;
  </code></pre>
  
  <p>To counteract this I did the following:</p>
  
  <pre><code>import socket
  socket.setdefaulttimeout(None).
  </code></pre>
  
  <p>I still get the same timeout error.</p>
  
  <ol>
  <li>Does this mean the website is timing out on the server side? (I don't know much
  about http processes so sorry if this is a dumb question)</li>
  <li>Is there any way I can correct it so that Python is able to view the page?</li>
  </ol>
  
  <p>Thanks,
    Rob</p>