Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

网页可以访问‘http://127.0.0.1:5010/get/',但requests.get('http://127.0.0.1:5010/get/') 返回503状态码 #385

Closed
MinuteSheep opened this issue Nov 1, 2019 · 6 comments

Comments

@MinuteSheep
Copy link

MinuteSheep commented Nov 1, 2019

'''python
import requests

print(requests.get('http://127.0.0.1:5010/get/').json())
'''


JSONDecodeError Traceback (most recent call last)
in
----> 1 requests.get("http://127.0.0.1:5010/get/").json()

~/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests/models.py in json(self, **kwargs)
895 # used.
896 pass
--> 897 return complexjson.loads(self.text, **kwargs)
898
899 @Property

~/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/init.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
317 parse_int is None and parse_float is None and
318 parse_constant is None and object_pairs_hook is None and not kw):
--> 319 return _default_decoder.decode(s)
320 if cls is None:
321 cls = JSONDecoder

~/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py in decode(self, s, _w)
337
338 """
--> 339 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
340 end = _w(s, end).end()
341 if end != len(s):

~/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py in raw_decode(self, s, idx)
355 obj, end = self.scan_once(s, idx)
356 except StopIteration as err:
--> 357 raise JSONDecodeError("Expecting value", s, err.value) from None
358 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

我猜测可能是没有返回内容才导致报错,
‘’‘python
print(requests.get('http://127.0.0.1:5010/get/')
'''
<Response [503]>

如上所示,返回了503状态码
但是我打开浏览器访问 http://127.0.0.1:5010/get/ 却能正确显示内容

平台:MacOS Catalina, Version 10.15.1
Python版本:3.5.2

@MinuteSheep MinuteSheep changed the title 网页可以访问‘http://127.0.0.1:5010/get/',但requests.get( 网页可以访问‘http://127.0.0.1:5010/get/',但requests.get('http://127.0.0.1:5010/get/') 返回503状态码 Nov 1, 2019
@jhao104
Copy link
Owner

jhao104 commented Nov 4, 2019

你启动成功了吗 贴后台日志,

@MinuteSheep
Copy link
Author

你启动成功了吗 贴后台日志,


*** ______ ********************* ______ *********** _ ********
*** | ___ _ ******************** | ___ \ ********* | | ********
*** | |/ / _ __ __ _ __ _ | |/ /__ * ___ | | ********
*** | /| // _ \ \ / /| | | || __// _ \ / _ \ | | ********
*** | | | | | (
) | > < \ || || | | () | () || |
****
*** _| || ___/ //_\ __ |_| _/ _/ __/ ****
**** __ / / *****
************************* /
/ *******************************




*** ______ ********************* ______ *********** _ ********
*** | ___ _ ******************** | ___ \ ********* | | ********
*** | |/ / _ __ __ _ __ _ | |/ /__ * ___ | | ********
*** | /| // _ \ \ / /| | | || __// _ \ / _ \ | | ********
*** | | | | | (
) | > < \ || || | | () | () || |
****
*** _| || ___/ //_\ __ |_| _/ _/ __/ ****
**** __ / / *****
************************* /
/ *******************************



2019-11-04 22:43:41,244 ProxyScheduler.py[line:33] INFO start fetch proxy
2019-11-04 22:43:41,244 ProxyManager.py[line:44] INFO ProxyFetch : start
2019-11-04 22:43:41,244 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy01: start
[2019-11-04 22:43:41 +0800] [9512] [INFO] Starting gunicorn 19.9.0
[2019-11-04 22:43:41 +0800] [9512] [INFO] Listening at: http://0.0.0.0:5010 (9512)
[2019-11-04 22:43:41 +0800] [9512] [INFO] Using worker: sync
[2019-11-04 22:43:41 +0800] [9548] [INFO] Booting worker with pid: 9548
[2019-11-04 22:43:41 +0800] [9549] [INFO] Booting worker with pid: 9549
[2019-11-04 22:43:41 +0800] [9550] [INFO] Booting worker with pid: 9550
[2019-11-04 22:43:41 +0800] [9551] [INFO] Booting worker with pid: 9551
2019-11-04 22:43:44,487 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 117.158.67.24:8001 success
2019-11-04 22:43:44,488 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 112.238.78.241:61234 success
2019-11-04 22:43:44,489 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 59.175.71.19:8118 success
2019-11-04 22:43:44,489 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 27.191.234.69:9999 success
2019-11-04 22:43:44,490 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 110.250.28.32:8118 success
2019-11-04 22:43:44,491 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 119.179.29.135:61234 success
2019-11-04 22:43:44,491 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 61.131.160.177:9006 success
2019-11-04 22:43:44,492 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 120.210.219.73:80 success
2019-11-04 22:43:44,492 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 47.96.7.111:80 success
2019-11-04 22:43:44,493 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 123.56.15.245:8001 success
2019-11-04 22:43:44,494 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 47.103.30.56:12345 success
2019-11-04 22:43:44,495 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 47.93.4.253:8888 success
2019-11-04 22:43:44,496 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 222.184.59.8:808 success
2019-11-04 22:43:44,496 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 124.131.24.121:61234 success
2019-11-04 22:43:44,497 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 60.215.222.247:61234 success
2019-11-04 22:43:44,497 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 122.194.209.187:61234 success
2019-11-04 22:43:44,498 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 218.64.69.79:8080 success
2019-11-04 22:43:44,498 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 119.165.132.95:8118 success
2019-11-04 22:43:44,499 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 139.9.77.180:14523 success
2019-11-04 22:43:44,500 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy01: 117.159.15.207:8118 success
2019-11-04 22:43:45,767 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy02: start
(1, '', '[stdin]:1\n(function(program, execJS) { execJS(program) })(function() { }\n ^\n\nSyntaxError: missing ) after argument list\n at new Script (vm.js:83:7)\n at createScript (vm.js:277:10)\n at Object.runInThisContext (vm.js:329:10)\n at Object. ([stdin]-wrapper:6:22)\n at Module._compile (internal/modules/cjs/loader.js:776:30)\n at evalScript (internal/bootstrap/node.js:589:27)\n at Socket. (internal/bootstrap/node.js:323:15)\n at Socket.emit (events.js:203:15)\n at endReadableNT (_stream_readable.js:1129:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)\n')
2019-11-04 22:43:50,693 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy03: start
2019-11-04 22:43:51,387 ProxyManager.py[line:65] ERROR ProxyFetch - freeProxy03: error
2019-11-04 22:43:51,388 ProxyManager.py[line:66] ERROR line 1193: b"htmlParseEntityRef: expecting ';'" (line 1193)
2019-11-04 22:43:51,388 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy04: start
2019-11-04 22:43:52,171 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 117.158.67.24:8001 exist
2019-11-04 22:43:52,172 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 112.238.78.241:63234 success
2019-11-04 22:43:52,174 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 59.175.71.19:8318 success
2019-11-04 22:43:52,177 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 27.191.234.69:12219 success
2019-11-04 22:43:52,178 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 110.250.28.32:8318 success
2019-11-04 22:43:52,179 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 119.179.29.135:63234 success
2019-11-04 22:43:52,180 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 61.131.160.177:9006 exist
2019-11-04 22:43:52,180 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 120.210.219.73:80 exist
2019-11-04 22:43:52,180 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 47.96.7.111:80 exist
2019-11-04 22:43:52,181 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 123.56.15.245:8001 exist
2019-11-04 22:43:52,181 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 47.103.30.56:32345 success
2019-11-04 22:43:52,181 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 47.93.4.253:8888 exist
2019-11-04 22:43:52,182 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 222.184.59.8:808 exist
2019-11-04 22:43:52,182 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 124.131.24.121:63234 success
2019-11-04 22:43:52,182 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 60.215.222.247:63234 success
2019-11-04 22:43:52,183 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 122.194.209.187:63234 success
2019-11-04 22:43:52,183 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 218.64.69.79:8080 exist
2019-11-04 22:43:52,183 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 119.165.132.95:8318 success
2019-11-04 22:43:52,184 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy04: 139.9.77.180:14523 exist
2019-11-04 22:43:52,184 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy04: 117.159.15.207:8318 success
2019-11-04 22:43:52,185 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy05: start
2019-11-04 22:43:57,078 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 121.232.148.129:9000 success
2019-11-04 22:43:57,081 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 58.253.158.140:9999 success
2019-11-04 22:43:57,084 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 171.35.170.156:9999 success
2019-11-04 22:43:57,086 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 139.199.19.174:8118 success
2019-11-04 22:43:57,087 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 117.57.90.250:9999 success
2019-11-04 22:43:57,088 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 183.164.238.242:9999 success
2019-11-04 22:43:57,089 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 124.16.113.43:1080 success
2019-11-04 22:43:57,090 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 120.83.120.72:9999 success
2019-11-04 22:43:57,091 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 49.89.143.160:9999 success
2019-11-04 22:43:57,092 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 49.85.178.53:9999 success
2019-11-04 22:43:57,092 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 221.224.136.211:35101 success
2019-11-04 22:43:57,093 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 106.110.212.175:9999 success
2019-11-04 22:43:57,094 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 183.129.244.16:12591 success
2019-11-04 22:43:57,094 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 183.129.207.86:13007 success
2019-11-04 22:43:57,094 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 61.130.6.20:9002 success
2019-11-04 22:44:02,454 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 123.139.56.238:9999 success
2019-11-04 22:44:02,456 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 124.205.155.153:9090 success
2019-11-04 22:44:02,459 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 124.152.32.140:53281 success
2019-11-04 22:44:02,460 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 60.5.254.169:8081 success
2019-11-04 22:44:02,461 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 124.237.83.14:53281 success
2019-11-04 22:44:02,462 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 119.57.156.90:53281 success
2019-11-04 22:44:02,462 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 58.247.127.145:53281 success
2019-11-04 22:44:02,463 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy05: 58.247.127.145:53281 exist
2019-11-04 22:44:02,463 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy05: 58.247.127.145:53281 exist
2019-11-04 22:44:02,463 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 58.249.55.222:9797 success
2019-11-04 22:44:02,464 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 124.205.155.150:9090 success
2019-11-04 22:44:02,465 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy05: 119.57.156.90:53281 exist
2019-11-04 22:44:02,465 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 101.231.50.154:8000 success
2019-11-04 22:44:02,467 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy05: 124.152.32.140:53281 exist
2019-11-04 22:44:02,468 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy05: 59.44.247.194:9797 success
2019-11-04 22:44:02,469 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy06: start
HTTPSConnectionPool(host='proxy.coderbusy.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))
HTTPSConnectionPool(host='proxy.coderbusy.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))
HTTPSConnectionPool(host='proxy.coderbusy.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))
HTTPSConnectionPool(host='proxy.coderbusy.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))
HTTPSConnectionPool(host='proxy.coderbusy.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))
2019-11-04 22:44:37,242 ProxyManager.py[line:65] ERROR ProxyFetch - freeProxy06: error
2019-11-04 22:44:37,242 ProxyManager.py[line:66] ERROR can only parse strings
2019-11-04 22:44:37,242 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy07: start
2019-11-04 22:44:38,095 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.253.81:5739 success
2019-11-04 22:44:38,096 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.104.91.191:5739 success
2019-11-04 22:44:38,097 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.178.18:5739 success
2019-11-04 22:44:38,097 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 106.14.127.211:5739 success
2019-11-04 22:44:38,098 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.252.39:5739 success
2019-11-04 22:44:38,098 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 106.14.227.167:5739 success
2019-11-04 22:44:38,099 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.253.119:5739 success
2019-11-04 22:44:38,099 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 27.210.31.209:8118 success
2019-11-04 22:44:38,099 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.240.222:5739 success
2019-11-04 22:44:38,099 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 39.97.251.139:5739 success
2019-11-04 22:44:38,100 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 27.208.186.150:8060 success
2019-11-04 22:44:38,100 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 27.208.64.89:8060 success
2019-11-04 22:44:38,100 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 27.208.93.26:8060 success
2019-11-04 22:44:38,101 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 218.76.35.18:10006 success
2019-11-04 22:44:38,101 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 222.135.29.155:8060 success
2019-11-04 22:44:40,095 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 49.70.32.105:9999 success
2019-11-04 22:44:40,097 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 182.35.83.133:9999 success
2019-11-04 22:44:40,098 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 150.107.23.30:8080 success
2019-11-04 22:44:40,099 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 163.125.112.95:8118 success
2019-11-04 22:44:40,101 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 163.125.67.75:9797 success
2019-11-04 22:44:40,102 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 218.77.120.2:80 success
2019-11-04 22:44:40,103 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 125.123.126.125:9000 success
2019-11-04 22:44:40,104 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 163.125.113.177:8118 success
2019-11-04 22:44:40,105 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 49.77.209.183:50152 success
2019-11-04 22:44:40,106 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 104.232.147.212:3128 success
2019-11-04 22:44:40,106 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 163.125.67.82:9797 success
2019-11-04 22:44:40,107 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 104.232.148.122:3128 success
2019-11-04 22:44:40,107 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 182.35.84.60:9999 success
2019-11-04 22:44:40,108 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 105.19.59.198:80 success
2019-11-04 22:44:40,108 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy07: 163.125.113.142:8118 success
2019-11-04 22:44:40,109 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy08: start
2019-11-04 22:44:42,611 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 221.178.232.130:8080 success
2019-11-04 22:44:42,612 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.217.64.237:38829 success
2019-11-04 22:44:42,613 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.12.89.218:33920 success
2019-11-04 22:44:42,614 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 117.95.232.253:9999 success
2019-11-04 22:44:42,614 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 171.13.102.98:9999 success
2019-11-04 22:44:42,615 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 1.198.73.197:9999 success
2019-11-04 22:44:42,616 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 221.1.200.242:57906 success
2019-11-04 22:44:42,616 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 182.35.87.8:9999 success
2019-11-04 22:44:42,617 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 1.197.10.75:9999 success
2019-11-04 22:44:42,617 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 123.163.96.158:9999 success
2019-11-04 22:44:42,618 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.13.42.74:9999 success
2019-11-04 22:44:42,618 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 140.143.48.49:1080 success
2019-11-04 22:44:42,619 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.13.42.164:9999 success
2019-11-04 22:44:42,620 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 125.73.220.18:49128 success
2019-11-04 22:44:42,620 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.216.101.46:32868 success
2019-11-04 22:44:42,621 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 223.100.166.3:36945 success
2019-11-04 22:44:42,621 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 203.110.164.139:52144 success
2019-11-04 22:44:42,622 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 61.176.223.7:58822 success
2019-11-04 22:44:42,622 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 60.190.250.120:8080 success
2019-11-04 22:44:42,623 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 218.204.204.90:8118 success
2019-11-04 22:44:42,623 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 61.135.155.82:443 success
2019-11-04 22:44:46,446 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 45.112.56.142:51618 success
2019-11-04 22:44:46,447 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 117.242.147.181:34281 success
2019-11-04 22:44:46,447 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.57.70.231:39856 success
2019-11-04 22:44:46,448 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 119.82.252.76:36859 success
2019-11-04 22:44:46,449 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.96.235.186:23500 success
2019-11-04 22:44:46,449 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 137.59.163.50:55419 success
2019-11-04 22:44:46,450 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 43.225.164.59:56449 success
2019-11-04 22:44:46,450 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.250.166.12:47031 success
2019-11-04 22:44:46,451 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 186.219.210.70:60446 success
2019-11-04 22:44:46,451 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 45.237.182.98:8080 success
2019-11-04 22:44:46,452 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 202.154.180.53:44009 success
2019-11-04 22:44:46,452 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 151.253.165.70:8080 success
2019-11-04 22:44:46,453 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 5.196.132.114:3128 success
2019-11-04 22:44:46,453 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 186.159.3.193:57084 success
2019-11-04 22:44:46,454 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 182.93.85.222:52602 success
2019-11-04 22:44:46,454 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.57.70.248:37704 success
2019-11-04 22:44:46,455 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 202.166.207.58:58927 success
2019-11-04 22:44:46,455 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 203.172.185.122:53148 success
2019-11-04 22:44:46,456 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 46.175.185.239:37293 success
2019-11-04 22:44:46,457 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 111.92.240.134:30598 success
2019-11-04 22:44:46,457 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 125.26.165.17:56257 success
2019-11-04 22:44:46,458 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 78.8.126.198:8080 success
2019-11-04 22:44:46,459 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 118.97.46.250:39129 success
2019-11-04 22:44:46,459 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 113.160.234.147:56570 success
2019-11-04 22:44:46,459 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 80.50.141.118:61675 success
2019-11-04 22:44:46,460 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.255.53.98:31265 success
2019-11-04 22:44:46,460 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 201.116.230.229:43365 success
2019-11-04 22:44:46,460 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.250.153.198:59451 success
2019-11-04 22:44:46,461 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.194.242.254:60025 success
2019-11-04 22:44:46,462 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 103.103.124.242:45088 success
2019-11-04 22:44:47,674 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 180.101.99.110:80 success
2019-11-04 22:44:47,675 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 141.125.82.106:80 success
2019-11-04 22:44:47,676 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 220.174.236.211:8091 success
2019-11-04 22:44:47,677 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 37.200.224.179:8080 success
2019-11-04 22:44:47,677 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy08: 211.79.61.8:3128 success
2019-11-04 22:44:47,678 ProxyManager.py[line:46] INFO ProxyFetch - freeProxy09: start
2019-11-04 22:44:48,815 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 105.19.59.199:80 success
2019-11-04 22:44:48,816 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 185.57.164.167:80 success
2019-11-04 22:44:48,817 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 120.89.95.118:8080 success
2019-11-04 22:44:48,818 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 95.168.185.183:8080 success
2019-11-04 22:44:48,820 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 67.75.2.39:3128 success
2019-11-04 22:44:48,821 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 105.19.59.198:80 exist
2019-11-04 22:44:48,822 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 103.69.220.2:49433 success
2019-11-04 22:44:48,824 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 39.97.251.139:5739 exist
2019-11-04 22:44:48,826 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 200.110.172.2:80 success
2019-11-04 22:44:48,828 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 200.255.122.170:8080 success
2019-11-04 22:44:48,830 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 50.206.9.153:80 success
2019-11-04 22:44:48,831 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 139.255.89.91:3128 success
2019-11-04 22:44:48,832 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 106.14.227.167:5739 exist
2019-11-04 22:44:48,832 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 167.71.205.62:8080 success
2019-11-04 22:44:48,833 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 206.189.80.16:8080 success
2019-11-04 22:44:50,000 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 49.248.93.33:80 success
2019-11-04 22:44:50,001 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 183.89.164.77:8080 success
2019-11-04 22:44:50,002 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 159.89.201.15:8080 success
2019-11-04 22:44:50,003 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 167.71.205.62:8080 exist
2019-11-04 22:44:50,003 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 206.189.80.16:8080 exist
2019-11-04 22:44:50,004 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 118.31.59.164:3128 success
2019-11-04 22:44:50,004 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 201.249.180.234:3128 success
2019-11-04 22:44:50,005 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 121.40.119.149:3128 success
2019-11-04 22:44:50,006 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 27.147.179.232:8080 success
2019-11-04 22:44:50,008 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 106.14.127.211:5739 exist
2019-11-04 22:44:50,008 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 103.242.13.69:8082 success
2019-11-04 22:44:50,010 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 157.230.240.234:8080 success
2019-11-04 22:44:50,010 ProxyManager.py[line:57] INFO ProxyFetch - freeProxy09: 221.178.232.130:8080 exist
2019-11-04 22:44:50,011 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 210.22.5.117:3128 success
2019-11-04 22:44:50,011 ProxyManager.py[line:61] INFO ProxyFetch - freeProxy09: 103.85.60.200:8080 success
2019-11-04 22:44:50,012 ProxyScheduler.py[line:35] INFO finish fetch proxy
2019-11-04 22:44:50,034 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_0 : start
2019-11-04 22:44:50,036 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_1 : start
2019-11-04 22:44:50,041 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_2 : start
2019-11-04 22:44:50,043 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_3 : start
2019-11-04 22:44:50,045 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_4 : start
2019-11-04 22:44:50,048 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_5 : start
2019-11-04 22:44:50,049 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_6 : start
2019-11-04 22:44:50,052 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_7 : start
2019-11-04 22:44:50,052 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_8 : start
2019-11-04 22:44:50,053 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_9 : start
2019-11-04 22:44:50,057 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_10 : start
2019-11-04 22:44:50,060 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_11 : start
2019-11-04 22:44:50,062 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_12 : start
2019-11-04 22:44:50,066 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_13 : start
2019-11-04 22:44:50,067 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_14 : start
2019-11-04 22:44:50,073 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_15 : start
2019-11-04 22:44:50,075 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_16 : start
2019-11-04 22:44:50,076 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_17 : start
2019-11-04 22:44:50,081 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_18 : start
2019-11-04 22:44:50,082 RawProxyCheck.py[line:35] INFO RawProxyCheck - thread_19 : start
2019-11-04 22:44:50,858 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_17 : 117.159.15.207:8118 validation pass
2019-11-04 22:44:51,196 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_14 : 151.253.165.70:8080 validation exists
2019-11-04 22:44:51,448 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_14 : 117.57.90.250:9999 validation fail
2019-11-04 22:44:51,745 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_14 : 121.40.119.149:3128 validation pass
2019-11-04 22:44:52,132 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_9 : 118.31.59.164:3128 validation pass
2019-11-04 22:44:52,317 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_13 : 183.89.164.77:8080 validation fail
2019-11-04 22:44:52,686 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_15 : 163.125.113.177:8118 validation fail
2019-11-04 22:44:52,698 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_5 : 163.125.67.82:9797 validation pass
2019-11-04 22:44:52,737 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_13 : 206.189.80.16:8080 validation pass
2019-11-04 22:44:53,063 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_13 : 112.238.78.241:61234 validation pass
2019-11-04 22:44:53,076 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_15 : 117.95.232.253:9999 validation exists
2019-11-04 22:44:53,144 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_13 : 59.175.71.19:8318 validation fail
2019-11-04 22:44:55,503 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_8 : 186.159.3.193:57084 validation pass
2019-11-04 22:44:55,655 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_8 : 27.191.234.69:12219 validation fail
2019-11-04 22:44:55,863 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_16 : 185.57.164.167:80 validation pass
2019-11-04 22:44:56,297 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_16 : 103.242.13.69:8082 validation pass
2019-11-04 22:44:58,443 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_13 : 60.216.101.46:32868 validation pass
2019-11-04 22:44:58,568 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_14 : 61.130.6.20:9002 validation pass
2019-11-04 22:44:59,424 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_0 : 78.8.126.198:8080 validation pass
2019-11-04 22:44:59,816 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_14 : 201.249.180.234:3128 validation pass
2019-11-04 22:44:59,939 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_14 : 110.250.28.32:8318 validation fail
2019-11-04 22:45:00,046 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_3 : 103.250.153.198:59451 validation fail
2019-11-04 22:45:00,053 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_4 : 182.35.83.133:9999 validation fail
2019-11-04 22:45:00,056 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_6 : 60.217.64.237:38829 validation fail
2019-11-04 22:45:00,074 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_7 : 182.35.84.60:9999 validation fail
2019-11-04 22:45:00,074 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_11 : 221.224.136.211:35101 validation fail
2019-11-04 22:45:00,075 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_10 : 37.200.224.179:8080 validation fail
2019-11-04 22:45:00,080 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_12 : 49.85.178.53:9999 validation fail
2019-11-04 22:45:00,089 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_18 : 27.208.64.89:8060 validation fail
2019-11-04 22:45:00,091 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_19 : 218.204.204.90:8118 validation fail
2019-11-04 22:45:00,258 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_2 : 180.101.99.110:80 validation fail
2019-11-04 22:45:00,341 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_10 : 120.210.219.73:80 validation exists
2019-11-04 22:45:00,347 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_11 : 47.103.30.56:12345 validation pass
2019-11-04 22:45:00,440 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_19 : 210.22.5.117:3128 validation pass
2019-11-04 22:45:00,498 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_12 : 139.255.89.91:3128 validation pass
2019-11-04 22:45:01,167 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_17 : 220.174.236.211:8091 validation fail
2019-11-04 22:45:01,860 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_10 : 27.191.234.69:9999 validation exists
2019-11-04 22:45:01,981 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_10 : 117.159.15.207:8318 validation fail
2019-11-04 22:45:02,053 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_0 : 103.103.124.242:45088 validation pass
2019-11-04 22:45:02,140 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_9 : 222.135.29.155:8060 validation fail
2019-11-04 22:45:02,358 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_9 : 123.163.96.158:9999 validation pass
2019-11-04 22:45:02,623 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_2 : 159.89.201.15:8080 validation fail
2019-11-04 22:45:02,701 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_5 : 106.110.212.175:9999 validation fail
2019-11-04 22:45:03,081 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_15 : 60.13.42.164:9999 validation fail
2019-11-04 22:45:04,310 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_17 : 186.219.210.70:60446 validation exists
2019-11-04 22:45:04,670 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_8 : 163.125.113.142:8118 validation fail
127.0.0.1 - [04/Nov/2019:22:45:31 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
2019-11-04 22:45:31,452 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_16 : 119.57.156.90:53281 validation fail
127.0.0.1 - [04/Nov/2019:22:45:31 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:31 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:31 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:31 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
2019-11-04 22:45:32,458 RawProxyCheck.py[line:50] INFO RawProxyCheck - thread_7 : 201.116.230.229:43365 validation exists
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
127.0.0.1 - [04/Nov/2019:22:45:32 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
2019-11-04 22:45:32,960 RawProxyCheck.py[line:54] INFO RawProxyCheck - thread_5 : 5.196.132.114:3128 validation pass
127.0.0.1 - [04/Nov/2019:22:45:33 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"
2019-11-04 22:45:33,046 RawProxyCheck.py[line:56] INFO RawProxyCheck - thread_0 : 124.16.113.43:1080 validation fail
127.0.0.1 - [04/Nov/2019:22:45:33 +0800] "GET /get/ HTTP/1.1" 200 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15"

使用浏览器可以正常获取,但使用requests库就不行,

import requests

test = requests.get(url="http://127.0.0.1:5010/get/").json()

print(test)

结果:
Traceback (most recent call last):
File "test.py", line 6, in
test = requests.get(url="http://127.0.0.1:5010/get/").json()
File "/Users/minutesheep/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/Users/minutesheep/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/Users/minutesheep/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/minutesheep/.pyenv/versions/3.5.2/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

import requests

test = requests.get(url="http://127.0.0.1:5010/get/")

print(test)

结果:
<Response [503]>

@jhao104
Copy link
Owner

jhao104 commented Nov 5, 2019

request和浏览器没区别,如果浏览器能正常使用,那么检查你的代码和环境

@vivian-stars
Copy link

请问找到解决方法了吗?我也碰到这个问题了

@MinuteSheep
Copy link
Author

MinuteSheep commented Feb 12, 2020 via email

@MinuteSheep
Copy link
Author

MinuteSheep commented Apr 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants