标签: python-2.7 timer web-scraping httprequest
我使用了*A> :t check check :: IO Bool *A> check === prop_a from ha.hs:7 === *** Failed! Falsifiable (after 1 test): False 这样的请求,但是有时候获取网址内容需要很长时间才能设置30秒的时间限制来停止htmltext = requests.get(urls[0]).content。
*A> :t check check :: IO Bool *A> check === prop_a from ha.hs:7 === *** Failed! Falsifiable (after 1 test): False
htmltext = requests.get(urls[0]).content
像
request
如果是这样可能,我该怎么做?