GithubHelp home page GithubHelp logo

12306's People

Contributors

wangyihang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

12306's Issues

怎样填CDN参数

$ python 12306.py 明天 上海 北京 kyfw.12306.cn
正在获取官网的火车站信息文件版本...
获取成功 !
官网版本号 : [ ]
正在获取本地缓存文件文件名...
获取成功 ! 本地文件名 : [ _station_names.dat ]
正在解析本地文件版本号...
本地版本号 : [ ]
官网火车站文件更新 , 正在下载...
正在读取文件...
正在解析站点信息...
解析成功 ! 总站点数 : [ 31836 ]
正在读取文件...
正在解析站点信息...
解析成功 ! 总站点数 : [ 31836 ]
查询中...
====================================
Traceback (most recent call last):
File "12306.py", line 314, in
main()
File "12306.py", line 52, in main
train_no = queryResult.getTrainNo(i)
File "/Users/yunlongwen/Documents/12306/querier.py", line 103, in getTrainNo
return self.trainsJson[index]["queryLeftNewDTO"]["train_no"]
KeyError: 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.