diff --git a/TickerConfig.py b/TickerConfig.py index b9a9cd9..190d0f4 100644 --- a/TickerConfig.py +++ b/TickerConfig.py @@ -39,7 +39,7 @@ TO_STATION = "" # "无座", # "动卧", SET_TYPE = [ - "二等座", + "", ] # 当余票小于乘车人,如果选择优先提交,则删减联系人和余票数一致在提交 @@ -82,7 +82,7 @@ EMAIL_CONF = { "notice_email_list": "", "username": "", "password": "", - "host": "smtp.qq.com", + "host": "", } # 是否开启 pushbear 微信提醒, 使用前需要前往 http://pushbear.ftqq.com 扫码绑定获取 send_key 并关注获得抢票结果通知的公众号 @@ -128,4 +128,4 @@ PASSENGER_TICKER_STR = { } # 软件版本 -RE_VERSION = "1.1.104" +RE_VERSION = "1.1.105" diff --git a/config/configCommon.py b/config/configCommon.py index d610c61..45d6d29 100755 --- a/config/configCommon.py +++ b/config/configCommon.py @@ -11,7 +11,7 @@ rushRefreshMinTimeIntval = 2000 rushRefreshMaxTimeIntval = 3600000 rushRefreshTimeIntval = 100 # 最早运行时间 -maxRunTime = 7 +maxRunTime = 6 # 程序停止时间 maxRunStopTime = 23 # 可售天数 diff --git a/myUrllib/httpUtils.py b/myUrllib/httpUtils.py index 7db3728..9423719 100755 --- a/myUrllib/httpUtils.py +++ b/myUrllib/httpUtils.py @@ -161,6 +161,7 @@ class HTTPClient(object): else: return response.content.decode("utf8", "ignore") if isinstance(response.content, bytes) else response.content else: + print(f"url: {urls['req_url']}返回参数为空, 接口状态码: {response.status_code}") logger.log( u"url: {} 返回参数为空".format(urls["req_url"])) continue