fix
This commit is contained in:
parent
ada37c10a1
commit
8739e0f4c8
@ -49,7 +49,7 @@ class htmlUtils:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getHTML(cls, curl,type=None):
|
def getHTML(cls, curl,type=None):
|
||||||
retries = Retry(total=3,
|
retries = Retry(total=1,
|
||||||
backoff_factor=0.1,
|
backoff_factor=0.1,
|
||||||
status_forcelist=[ 500, 502, 503, 504 ])
|
status_forcelist=[ 500, 502, 503, 504 ])
|
||||||
s = requests.Session()
|
s = requests.Session()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user