diff --git a/data/cdn.txt b/data/cdn.txt index 45cc0f4..e973049 100644 --- a/data/cdn.txt +++ b/data/cdn.txt @@ -2218,3 +2218,51 @@ 117.27.241.218 112.65.92.116 52.114.128.43 +183.66.109.254 +60.28.100.248 +111.161.122.240 +121.31.28.101 +222.218.87.252 +113.16.212.251 +58.18.254.253 +124.225.107.254 +14.204.186.174 +14.204.185.254 +14.204.185.123 +220.165.142.253 +42.123.108.8 +42.123.107.43 +120.241.66.115 +112.90.135.229 +183.56.172.113 +27.155.108.102 +27.155.108.93 +61.132.238.115 +113.194.59.199 +218.64.94.181 +122.191.168.109 +42.49.185.169 +42.49.185.170 +175.154.187.252 +118.123.233.254 +118.123.237.245 +123.138.157.122 +113.142.80.223 +117.23.2.252 +218.26.75.236 +218.26.75.206 +183.131.124.249 +36.25.241.251 +153.99.235.91 +221.230.143.254 +120.221.24.14 +218.58.205.182 +182.34.127.253 +150.138.214.124 +61.54.7.192 +115.54.16.245 +218.12.228.246 +121.22.247.254 +124.236.28.230 +218.60.185.251 +42.101.72.9 diff --git a/py12306/helpers/OCR.py b/py12306/helpers/OCR.py index 0345d0b..a20f6bd 100644 --- a/py12306/helpers/OCR.py +++ b/py12306/helpers/OCR.py @@ -58,7 +58,7 @@ class OCR: data = { 'img': img } - response = self.session.post(API_FREE_CODE_QCR_API, data=data) + response = self.session.post(API_FREE_CODE_QCR_API, data=data, timeout=30) result = response.json() if result.get('msg') == 'success': pos = result.get('result')