Explorar el Código

pielikts verify=False

Ivars hace 5 años
padre
commit
fbcef4955e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      ltcproxy.py

+ 2
- 2
ltcproxy.py Ver fichero

@@ -480,7 +480,7 @@ Content-Type: application/x-www-form-urlencoded; charset=UTF-8
480 480
 Host: manstv.lattelecom.tv
481 481
 """ )
482 482
     try:
483
-        r = requests.post(url, data=params, headers=headers)
483
+        r = requests.post(url, data=params, headers=headers, verify=False)
484 484
     except Exception as ex:
485 485
         if DEBUG:
486 486
             print "Login exception - %s " % (str(ex))
@@ -513,7 +513,7 @@ Content-Type: application/x-www-form-urlencoded; charset=UTF-8
513 513
 Host: manstv.lattelecom.tv
514 514
 """)
515 515
     try:
516
-        r = requests.post(url, data=params, headers=headers)
516
+        r = requests.post(url, data=params, headers=headers, verify = False)
517 517
     except Exception as ex:
518 518
         if DEBUG:
519 519
             print "Login exception - %s " % (str(ex))