1.9.1. Pycurl

  • cURL library module of python

  • 实例 [1]

urllib超时设置:

import socket
socket.setdefaulttimeout(5.0)