Skip to content

Commit

Permalink
更新云打码地址
Browse files Browse the repository at this point in the history
  • Loading branch information
testerSunshine committed Oct 23, 2019
1 parent 3708c4d commit 04a4a26
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions TickerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
STATION_TRAINS = []

# 出发城市,比如深圳北,就填深圳就搜得到
FROM_STATION = ""
FROM_STATION = "深圳北"

# 到达城市 比如深圳北,就填深圳就搜得到
TO_STATION = ""
TO_STATION = "长沙南"

# 座位(list) 多个座位ex:
# "商务座",
Expand Down Expand Up @@ -55,10 +55,10 @@

# 设置2本地自动打码,需要配置tensorflow和keras库,3为云打码,由于云打码服务器资源有限(为2h4C的cpu服务器),请不要恶意请求,不然只能关闭服务器
# ps: 请不要一直依赖云服务器资源,在此向所有提供服务器同学表示感谢
AUTO_CODE_TYPE = 3
AUTO_CODE_TYPE = 2

# 此处设置云打码服务器地址,如果有自建的服务器,可以自行更改
HOST = "161.117.202.218:8000"
HOST = "api.readour.org"
REQ_URL = "/verify/base64/"
HTTP_TYPE = "http"
# HOST="12306.yinaoxiong.cn" #备用服务器稳定性较差
Expand Down Expand Up @@ -116,10 +116,10 @@
# 1=使用selenium获取devicesID
# 2=使用网页端/otn/HttpZF/logdevice获取devicesId,这个接口的算法目前可能有点问题,如果登录一直302的请改为配置1
# 3=自己打开浏览器在headers-Cookies中抓取RAIL_DEVICEID和RAIL_EXPIRATION,这个就不用配置selenium
COOKIE_TYPE = 3
COOKIE_TYPE = 1
# 如果COOKIE_TYPE=1,则需配置chromeDriver路径,下载地址http://chromedriver.storage.googleapis.com/index.html
# chromedriver配置版本只要和chrome的大版本匹配就行
CHROME_PATH = ""
CHROME_PATH = "/Users/wenxianping/Downloads/chromedriver"

# 如果COOKIE_TYPE=3, 则需配置RAIL_EXPIRATION、RAIL_DEVICEID的值
RAIL_EXPIRATION = ""
Expand Down

0 comments on commit 04a4a26

Please sign in to comment.