擅长:python、mysql、java
<p>我已经用<a href="http://code.google.com/p/httplib2/" rel="nofollow">httplib2</a>和curl测试了您的URL。两者都很好:</p>
<pre><code>URL = "http://www.boursorama.com/includes/cours/last_transactions.phtml?symbole=1xEURUS"
h = httplib2.Http()
resp, content = h.request(URL, "GET")
print(content)
</code></pre>
<p>所以对我来说,要么urllib.request中有一个bug,要么发生了非常奇怪的客户机-服务器交互。</p>