Open jesbrz opened 2 months ago
WhoScored has good data, I agree. However, I just don't see it as too practical. WhoScored loads webpage data on the client side, which means we'd probably need to use something like Selenium to get the data. We've avoided using Selenium in this package for at least 2 reasons:
If not Selenium, other options are:
{rvest}
's read_html_live()
{v8}
{httr}
+ with timeouts and token handlingI haven't explored these. These may indeed make scraping easy.
Totally echo Tony's statements... have purposefully stayed away from this site due to the somewhat flimsy nature of browser automation scraping.
Happy to leave it for future consideration, but wouldn't imagine this is something we address in the near future unfortunately.
I would like to know if it is possible to add the functions of the website https://www.whoscored.com to
worldfootballR
. It has interesting information that could be very useful for analysis.Regards.