Closed sirber closed 7 years ago
The v1 api is always going up and down on the tou.tv website. Just wait a few minutes and it should come back.
Yes, perhaps 10 seconds is not enough for the timeout?
I guess retries after timeout would be more appropriate. I bet the site won't answer if you don't send a new request after a while. I believe V2 would be a better solution, but not without rewriting half of the code.
same on windows. guess it's a toutv issue
Worked after retrying a few time. Could the script retry a finite number of times (like 10) in case of timeout?
I still get a lot of them:
$ toutv -n list
Timeout error (10 s for "https://api.tou.tv/v1/toutvapiservice.svc/json/GetEmissions")
@antoinedeschenes: do you have any information about the v2 API?
timeout on https://api.tou.tv/v1/toutvapiservice.svc/json/GetEmissions
would it be the website or a problem with python?