This article explains how WebHarvy can be used to scrape opening & closing odds from FlashScore website (www.flashscore.com). WebHarvy is a visual web scraping software which can be used to scrape data from any website.
The following video shows the configuration steps which you need to follow to scrape opening and closing odds of various bookmakers from FlashScore website, for multiple matches in a league. The video also shows how basic match details like team names and scores can be scraped.
The Regular Expression strings used in the above video can be found here.
As shown in the video, most of the data which you need to scrape from a web page can be selected using mouse clicks. But to correctly scrape odds values corresponding to a specific bookmaker from the match details page, regular expression strings are used. This is to make sure that the data is correctly selected even if the order and number of bookmakers in the match details page vary.
In addition to scraping various odds values like opening, closing, half time, full time, correct score, over/under etc. WebHarvy can also scrape live match details like score, timing of goals scored (in football) and even video URL of goal highlights. You can watch all WebHarvy demonstration videos related to scraping FlashScore at this link.
Scraping Correct Score (CS) – Opening and Closing Odds
The following video shows how correct score opening and closing odds can be scraped from Flashscore using WebHarvy. The codes used in the video can be found in the video description.
We highly recommend that you download and try the free evaluation version of WebHarvy available in our website. To get started, please follow the link.
In case you have any questions, please feel free to reach out to our support team.