Browse Source

pielikts verify=False

Ivars 5 years ago
parent
commit
fbcef4955e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      ltcproxy.py

+ 2
- 2
ltcproxy.py View File

@@ -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))