Преглед на файлове

Merge branch 'master' of https://github.com/jm33-m0/proxy_pool into jm33-master

 Conflicts:
	Util/utilFunction.py

close 446
jhao преди 6 години
родител
ревизия
8927fefea1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      util/webRequest.py

+ 1 - 1
util/webRequest.py

@@ -59,7 +59,7 @@ class WebRequest(object):
                 'Connection': 'keep-alive',
                 'Accept-Language': 'zh-CN,zh;q=0.8'}
 
-    def get(self, url, header=None, retry_time=5, retry_interval=5, timeout=30, *args, **kwargs):
+    def get(self, url, header=None, retry_time=5, retry_interval=5, timeout=10, *args, **kwargs):
         """
         get method
         :param url: target url