App made to crawl football matches from betsapi.com and notify user about matched events via telegram and desktop GUI.
- Load/Save settings.
- Load previously saved settings at startup.
- Notify user about events via Telegram bot.
- Stop crawl session via Telegram bot.
The Java Runnable requires Java 8u211.
Main window:
Telegram settings:
Telegram notification example:
- You need to register you own telegram bot. Follow this tutorial. 1.1. You may implement following commands for your bot via @BotFather's command "/setcommands <YOUR_BOT_NAME>":
- /id - will be used for getting current ID of chat with your bot.
- /exit - will close application.
- Launch application. At initial start text fields in main window will be filled with default parameters. Fill them as you wish for your own needs. Note: parameter Logic have 2 parameters:
- "AND" - in this case app will notify user about match, that meet all 3 inputted parameters: possession, target on, target off.
- OR - in this case app will notify user about match, that meet any of 3 inputted parameters: possession, target on, target off.
- Move to "Settings\Telegram bot settings". Here you need to fill 3 text fields:
- Chat ID - ID of a chat to which your bot will send messages. You can get it by following this tutorial. Note: Make sure, that Chat ID at Telegram bot settings entered in "123456..." format for sending private messages and "-123456..." format if bot is in a group.
- Bot token - your bot token from 1st step
- Bot name - your bot name from 1st step. Example: Your_cool_bot Click apply/ok.
- Press start to begin crawl session.
- Add more sources to crawl (e.g. www.marathonbet.by)
- Multiple and custom crawl conditions
- Proxy support
- English locale