Closed hedonistrh closed 2 years ago
This is a known issue. I was only worried about previous seasons when I wrote the code for this module. I'll put this at the top of the to-do list for when I get some time to work on ScraperFC. Thanks for bringing it up!
Thanks a lot. I'll also try to look that if I have enough time. Thanks for effort. 🙏
I just pushed a fix for this! Give it a go and let me know if it works for you.
Hey @oseymour, I tried with 1.11.2 and it failed as expected. Then tried with 1.11.5 and now it has no issue at all. Thanks a lot for the quick fix. 🙏
Hey, currently I am trying to scrape matches of EPL 2021 with the following code
However, this raise an exception. When I try to debug with the logging of links via source code, I realized that one of the "url" is None. Then I just trace back how we get that data and it is coming from here. Main reason of the exception is Wolves vs City match has not started. (AFAIK, that is postponed because of FA cup game) ⏳
I think that is kind of small issue and can gone when Understat change that page. However, instead of raising an Exception maybe there can be some logging message and process can continue. Just as an idea but not sure that is the best way or not. 🙇