I can't get a html page with requests
<p>I would like to get an html page and read the content. I use requests (python) and my code is very simple:</p>

<pre><code>import requests    
url = "http://www.romatoday.it" 
r = requests.get(url)
print r.text
</code></pre>

<p>when I try to do this procedure I get ever: 
Connection aborted.', error(110, 'Connection timed out')
If I open the url in a browser all work well.</p>

<p>If I use requests with other url all is ok</p>

<p>I think is a "<a href="http://www.romatoday.it" rel="nofollow">http://www.romatoday.it</a>" particularity but I don't understand what is the problem. Can you help me please? </p>

<p>Maybe the problem is that the comma here</p>

<pre><code>&gt;&gt; url = "http://www.romatoday,it" 
</code></pre>

<p>should be a dot</p>

<pre><code>&gt;&gt; url = "http://www.romatoday.it"
</code></pre>

<p>I tried that and it worked for me </p>

python timeout python-requests screen-scraping