L
L
lolrofl012018-10-14 12:03:45
Parsing
lolrofl01, 2018-10-14 12:03:45

How to parse sports events?

There is a sports project on laravel. It is necessary to parse all broadcasts in real time from other sports sites. Those. there is, for example, a football match, you need to parse what minute it is, how many cards, the score, who scored, and so on. How to organize it correctly? I already wrote the parser, there is an idea to run it every 20-30 seconds, do you think this is right? Maybe there is a more convenient way with the least load on the server? I hope someone has experience in this area.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2018-10-14
@OnYourLips

Run every 20-30 seconds IMHO is not correct - I would make it a separate application.
And the fact that you need to parse every 20 seconds is correct.
See also websockets and rabbitmq - they will certainly come in handy.

A
Alex Makarenko, 2019-10-15
@alexmakarenko

And why not really buy data for yourself and not fool your head? Moreover, there are many services that have already been done for you a long time ago and are offered for a penny: for example, betapi net

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question