Soccer-Corners-Crawler-and-Bot
Soccer-Corners-Crawler-and-Bot copied to clipboard
It's a crawler for statistics of corners and goals for the future games and a bot for Telegram to send the statistics.
Soccer Corners Crawler & Bot
What is it? Is a crawler who get some statistics and save them in a database file to show in a bot for Telegram.
How to use the crawler
You need to run npm run crawler
and thats it, the other instructions will appear.
How to use the bot
Attention: the bot phrases are in portuguese.
First thing you need to configure your bot token from Telegram in the file ./bot.js
line 25.
Second thing is run npm run bot
. You will need some games to show in the bot, the commands are all in private mode and show only today and tomorrow games.
Bot commands:
-
/comandos
show all commands and examples how to use them (comandos
meanscommands
). -
/hoje
show all games will happen today (hoje
meanstoday
). -
/amanha
show all games will happen tomorrow (amanha
meanstomorrow
). -
/jogo ID
show the statistics from a game (jogo
meansgame
).
License
Programmed only for studies, I am not responsible for your actions.