ソースを参照

pielikts verify=False

Ivars 4 年 前
コミット
fbcef4955e
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      ltcproxy.py

+ 2
- 2
ltcproxy.py ファイルの表示

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