This python bot can reserve concert tickets in kktix website using Splinter. The bot would start two minutes before the scheduled time. It log in to the home page automatically. When the website starts selling tickets, the bot would refresh the webpage and automatically fills in registration details. The bot not only refresh webpage faster than any human, but also is able to avoid any mistakes or delays.
To book tickets in kktix, you need to fill your account and concert information in cofig.yml
beforehead. Or, you can update these arguments with script/updateConfig.py
, which is an interative program. Here is the script for booking concert tickets in kktix.
Try:
python3 scripts/concert2021.py
The bot requires a webdriver. I only tested with chromedriver (http://chromedriver.chromium.org/), but it should work well with other webriver.
Install AutomatedTicketBot package via:
python setup.py install
Then, set the path and account information via:
python3 scripts/updateConfig.py -d config.yml
Eventually, use the package as:
import AutoTicketsBot as tBot
...
There's a testing program in the tests directory (https://github.com/y95847frank/AutomatedTicketBot/tree/main/tests).
Test the bot:
python tests/test.py