Automate the process of buying event tickets on Ticketmaster Italy using this Python script. The script interacts with the Ticketmaster website, allowing you to automatically search for events, purchase tickets, and receive notifications via Telegram when tickets are available.
- Automated Login: The script logs in to your Ticketmaster Italy account using provided credentials.
- Event Search: Specify a list of artist names, and the script will search for upcoming events for each artist.
- Ticket Purchasing: The script attempts to purchase tickets for available events, handling ticket quantity selection, e-tickets, and recaptcha challenges.
- Telegram Notifications: Receive notifications in a Telegram chat when tickets are available.
Before using the script, ensure you have the following prerequisites:
- Python 3.x
- Selenium (
pip install selenium) - Chrome WebDriver (for Selenium) compatible with your Chrome browser version
- Fake User-Agent (
pip install fake-useragent) - Telegram Bot API token and chat ID
- Replace the
emailandpasswordvalues in thelogin_dictdictionary with your Ticketmaster Italy account credentials. - Add artist names to the
artist_listto specify the events you're interested in. - Set the
telegram_idvariable with your Telegram chat ID. - Replace
apiTokenwith your Telegram Bot API token in thesend_to_telegramfunction.
- Install the required libraries using the provided prerequisites.
- Download and install the appropriate Chrome WebDriver for your Chrome browser version.
- Configure the script as mentioned above.
- Run the script using the command
python ticketmaster_bot.py.
Please note that the script might need adjustments based on website changes or CAPTCHA handling. Use it responsibly and in accordance with Ticketmaster's terms of use.