mirror of https://github.com/testerSunshine/12306
打印cdn
parent
9a9647665f
commit
46b6a72577
|
@ -118,6 +118,7 @@ class HTTPClient(object):
|
|||
url_host = self._cdn
|
||||
elif is_cdn:
|
||||
if self._cdn:
|
||||
print(u"当前请求cdn为{}".format(self._cdn))
|
||||
url_host = self._cdn
|
||||
else:
|
||||
url_host = urls["Host"]
|
||||
|
|
Loading…
Reference in New Issue