Hi all -
Quick question and I wondered if anybody would be able to help -
I'd like to scrape data from a website such as flashscore, the reason is that I'd like to get results alongside timings of goals scored producing that particular result (which as far as I can tell isn't available via soccerstats.com). Would this kind of thing be possible? Unfortunately I have primitive skills and I've tried scraping website tables using Excel but with little success.
Scraping data from website - i.e. flashscore.com
-
- Posts: 3140
- Joined: Sun Jan 31, 2010 8:06 pm
If you're skills are prmitive I'd imagine it wil probably be a step too far for you to pick up quickly. Most of these companies are paying for the data themselves so usually try to protect their investment and wont make it easy for you. You basically need to find the url of the xml/json price feed but sometimes they can be scrambled and inmported into a java interface for displaying on the web.
You'll probably find it easier to scrape the bookies websites or amy even be able to find a free api giving the data depending on what it is.
Just saw there's a football api site that may be of use depending on how much you bet etc, if the data is making you money sometimes it just worth paying the fee for an easy life
https://football-api.com/
https://github.com/moadh/FlashScore/tre ... hScore.API
You'll probably find it easier to scrape the bookies websites or amy even be able to find a free api giving the data depending on what it is.
Just saw there's a football api site that may be of use depending on how much you bet etc, if the data is making you money sometimes it just worth paying the fee for an easy life
https://football-api.com/
https://github.com/moadh/FlashScore/tre ... hScore.API
Betfair have an endpoint for scores (used for the website), using it allows you to use the event id which makes things much easier, you can see how to use it if you use developer tools in chrome and search for scores or inplayservice. Good luck with excel but this how to interact with python:
https://github.com/liampauling/betfairl ... service.py
https://github.com/liampauling/betfairl ... service.py
look forward to seeing the data and analysis >max_usted wrote: ↑Thu Jun 29, 2017 12:59 pmHi all -
Quick question and I wondered if anybody would be able to help -
I'd like to scrape data from a website such as flashscore, the reason is that I'd like to get results alongside timings of goals scored producing that particular result (which as far as I can tell isn't available via soccerstats.com). Would this kind of thing be possible? Unfortunately I have primitive skills and I've tried scraping website tables using Excel but with little success.