resolverdns: non ripete la chiamata se andata in timeout

Disattivati guardaseriecam e ilgeniodellostreaming_cam
This commit is contained in:
mac12m99
2021-06-10 17:15:59 +02:00
parent 9d7d0efde9
commit 43f2509a56
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "guardaseriecam", "id": "guardaseriecam",
"name": "GuardaSerie Cam", "name": "GuardaSerie Cam",
"language": ["ita", "sub-ita"], "language": ["ita", "sub-ita"],
"active": true, "active": false,
"thumbnail": "https://raw.githubusercontent.com/32Dexter/DexterRepo/master/media/guardaserie_live.png", "thumbnail": "https://raw.githubusercontent.com/32Dexter/DexterRepo/master/media/guardaserie_live.png",
"banner": "", "banner": "",
"categories": ["tvshow"], "categories": ["tvshow"],
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"id": "ilgeniodellostreaming_cam", "id": "ilgeniodellostreaming_cam",
"name": "IlGenioDelloStreaming CAM", "name": "IlGenioDelloStreaming CAM",
"active": true, "active": false,
"language": ["ita"], "language": ["ita"],
"thumbnail": "ilgeniodellostreaming.png", "thumbnail": "ilgeniodellostreaming.png",
"banner": "ilgeniodellostreaming.png", "banner": "ilgeniodellostreaming.png",
+1 -1
View File
@@ -114,7 +114,7 @@ class CipherSuiteAdapter(host_header_ssl.HostHeaderSSLAdapter):
ret = super(CipherSuiteAdapter, self).send(request, **kwargs) ret = super(CipherSuiteAdapter, self).send(request, **kwargs)
if 400 <= ret.status_code < 500: if 400 <= ret.status_code < 500:
raise Exception raise Exception
except Exception as e: except (requests.exceptions.HTTPError, requests.exceptions.ConnectionError, requests.exceptions.SSLError) as e:
logger.info('Request for ' + domain + ' with ip ' + ip + ' failed') logger.info('Request for ' + domain + ' with ip ' + ip + ' failed')
logger.info(e) logger.info(e)
# if 'SSLError' in str(e): # if 'SSLError' in str(e):