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
 Host: manstv.lattelecom.tv
480
 Host: manstv.lattelecom.tv
481
 """ )
481
 """ )
482
     try:
482
     try:
483
-        r = requests.post(url, data=params, headers=headers)
483
+        r = requests.post(url, data=params, headers=headers, verify=False)
484
     except Exception as ex:
484
     except Exception as ex:
485
         if DEBUG:
485
         if DEBUG:
486
             print "Login exception - %s " % (str(ex))
486
             print "Login exception - %s " % (str(ex))
513
 Host: manstv.lattelecom.tv
513
 Host: manstv.lattelecom.tv
514
 """)
514
 """)
515
     try:
515
     try:
516
-        r = requests.post(url, data=params, headers=headers)
516
+        r = requests.post(url, data=params, headers=headers, verify = False)
517
     except Exception as ex:
517
     except Exception as ex:
518
         if DEBUG:
518
         if DEBUG:
519
             print "Login exception - %s " % (str(ex))
519
             print "Login exception - %s " % (str(ex))