Skip to content

AugK/SnatchTicket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

In order to book swim ticket easily, this tool is developed. It's based on a popular open source tool called Splinter.

Useage

At first, you should make sure the chrome driver is installed on your PC.

See install guide for details.

The chromedriver.exe is provided and it's suitable for chrome 68.

run(user, password, url="http://www.wentiyun.cn/venue-722.html", choice="2", headless=False)

  • Required: user indicates your account name. Make sure you have already registered.
  • Required: password indicates the password, of course.
  • Optional: url indicates the url of ticket-booking page.
  • Optional: choice ranges from "1" to "7"(it's a string). "choice=2" means tomorrow and it's default.
  • Optional: headless indicates the type of browser. It's headless browser when headless=False and it's default. todo: update parament above

###Example

from pkg_demo import demo
demo.run('13812345678', 'password')
# demo.run('13812345678', 'password', choice="1", headless=True)

About

Tkinter + Splinter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages