From 5eb412d45a3598afc59f75550248151b4d436680 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Mon, 21 Jan 2019 18:50:13 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20readme=EF=BC=8C=E9=85=8D?= =?UTF-8?q?=E7=BD=AEGitpod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitpod.yml | 6 ++++++ README.md | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..bb34e5a --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,6 @@ +ports: +- port: 8008 + onOpen: open-preview +tasks: +- init: pip install -r requirements.txt && cp env.py.example env.py + command: python main.py -t diff --git a/README.md b/README.md index 77c89b7..18e8b9f 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ cp env.py.example env.py 注:免费打码无法保证持续可用,如失效请手动切换到若快平台,需要先到 [http://www.ruokuai.com](http://www.ruokuai.com/login) 注册一个账号后填写到配置中 +Gitpod还支持免费打码: + +[![在Gitpod免费打码](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/pjialin/py12306) + +注:Gitpod目前仅提供英文版本。 + 语音通知 语音验证码使用的是阿里云 API 市场上的一个服务商,需要到 [https://market.aliyun.com/products/56928004/cmapi026600.html](https://market.aliyun.com/products/56928004/cmapi026600.html) 购买后将 appcode 填写到配置中