J
J
Jaronimoz2021-05-04 11:04:03
Python
Jaronimoz, 2021-05-04 11:04:03

How to organize infinite parsing by date?

I want to parse myself a link to a football broadcast. There is a function that parses the date and time of the broadcast. There is also a function that parses the link to the broadcast. The question is: how to organize parsing of the broadcast having a date, and after the completion of the broadcast, get the date again and, based on it, at the right time, get the broadcast again. And so endlessly.

Advise from which side to approach the solution of this issue, in which direction to look.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jourloy, 2021-05-04
@Jourloy

Timeout and Interval, look in this direction.
You can calculate the time until the end of the broadcast + 1 minute and parse again, this is through timeout. You can record the date and time for parsing and check the current date and time with the recorded one every minute / second

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question