Scraping data from website - i.e. flashscore.com

Football, Soccer - whatever you call it. It is the beautiful game.
Post Reply
max_usted
Posts: 133
Joined: Tue Feb 14, 2017 6:07 pm

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.
spreadbetting
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
LinusP
Posts: 1873
Joined: Mon Jul 02, 2012 10:45 pm

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
User avatar
jonnyg
Posts: 691
Joined: Wed Jan 18, 2017 8:11 pm

max_usted wrote:
Thu Jun 29, 2017 12:59 pm
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.
look forward to seeing the data and analysis >
max_usted
Posts: 133
Joined: Tue Feb 14, 2017 6:07 pm

Thanks very much all - don't really understand the replies here unfortunately, so I suspect this is something that will take me a bit of time to develop:)
Post Reply

Return to “Football trading”