FotballNewsScraper
Scraping football news and see the corelation with sports odds on betting exchanges
Install / Use
/learn @jurankar/FotballNewsScraperREADME
FotballNewsScraper
Scraping football news and see the corelation with odds.
This projects checks the news regarding football. Currentley only for premier league. When it recieves the news it than compares how do these news impact the odds on betting exchanges.
Guide
-
Algorith will prompt the first question. If we input number 1 in the terminal, we will start capturing data. If we input number 2, we will analyse all the news and odds, that we already captured.<br><br>
-
If we enter number 1, we choose to capture data. A google chrome window will open and the webpage, where we capture the news, will load. On that page we use selenium to scrape all the news from the website and store them. We refresh the page every 30 minutes and store any news that we haven't already stored.<br>After we scan the news, we than make an API call to get the current odds for all the matches we are observing and store them. The API call we also make every 30 minutes.<br><br>
-
If we enter number 2, we will start analysing news. The algorithm will ask us to input "min-max odds quotient", and from the question it is not apparent what does that mean. For each match, we capture odds every 30 minutes for 3 possible outcomes: Team 1 win, draw, Team 2 win. The "min-max odds quotient" tells us, how much did odds change over time for certain outcome for certain match. We get the quotient by dividing the lowest odds we captured with biggest odds we captured. For example if the odds we captured for Manchester United winning on next match are: [1.6, 1.65, 1.8, 1.62, 1.4], we would get a quotient by dividing 1.4/1.8=0.778. <br> TIP: If you are not sure what quotient to put, we advise 0.85.<br><br>
-
After that the algorithm asks us, if we wish to print every or only key news. If we decide to print only key news, only news that are important will be printed, however it is likely that not all important news will be printed.<br><br>
-
The algorithm will find the matches, that had "min-max odds quotient" lower or equal to the one we provided. For each match it will draw a graph, that shows us the odds for each possible outcome over time. At the same time, we will print all the relevant news to this match in the terminal. After we have examined the graph, we input a character in the console and press enter to show us the graph and the news for the next match.<br><br>
-
When we cover all the matches, the algorithm will exit.
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
