Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于无座的问题 #29

Open
hekaiyu opened this issue Jan 18, 2018 · 0 comments
Open

关于无座的问题 #29

hekaiyu opened this issue Jan 18, 2018 · 0 comments

Comments

@hekaiyu
Copy link

hekaiyu commented Jan 18, 2018

1///if self.driver.find_by_text(u"硬座余票0张") == None
这句是不是有问题啊,我明明余票很多,还是自动执行else。(这里应该可以根据config设置的座位来判别,如果是二等座,这个判断就没有意义了)

2///if self.noseat_allow == 0:
self.driver.find_by_id('back_edit_id').click()
这里逻辑希望可以调整,无座,接下来不该是继续刷新查询么、、、

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant