下面我们来看看使用方法:PS:py12306 需要运行在 python 3.6 以上版本(其他版本暂未测试)。 ①安装依赖 gitclone https://github.com/pjialin/py12306 pip install -r requirements.txt ②配置程序 cpenv.py.exampleenv.py 自动打码:验证码可以本地识别,所用的模型和算法均来自: https://github.com/zhaipro/ea...
Github地址:https://github.com/pjialin/py12306 「真诚赞赏,手留余香」打赏 分享:0 举报 那是云...
curl https://raw.githubusercontent.com/pjialin/py12306/master/env.docker.py.example -o env.py ```**2. 修改好配置后运行 ** ```bash docker run -d -v $(pwd):/config -v py12306:/data pjialin/py12306 ``` 当前目录会多一个 12306.log 的日志文件, `tail -f 12306.log`#...
MAINTAINER <pjialin admin@pjialin.com> ENV TZ Asia/Shanghai WORKDIR /code COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt RUN mkdir -p /data/query /data/user VOLUME /data COPY . . COPY env.docker.py.example /config/env.py CMD [ "python", "main.py" ,...
py12306 / Dockerfile Dockerfile332 Bytes 一键复制编辑原始数据按行查看历史 呃哦提交于6年前.移除重复命令 12345678910111213141516171819 FROMpython:3.6.6-slim MAINTAINER<pjialin admin@pjialin.com> ENVTZ Asia/Shanghai WORKDIR/code COPYrequirements.txt . ...
forked frompjialin/py12306 NotificationsYou must be signed in to change notification settings Fork0 Star0 Code Pull requests Actions Projects Security Insights Additional navigation options Commit Browse filesBrowse the repository at this point in the history ...
docker run --rm pjialin/py12306 cat /config/env.py>env.py #或 curl https://raw.githubusercontent.com/pjialin/py12306/master/env.docker.py.example -o env.py ``` **2. 修改好配置后运行** ```bash docker run -d -v$(pwd):/config -v py12306:/data pjialin/py12306 ...