Closed Gibranium closed 4 days ago
Can you first try if it works with
ws = sd.WhoScored("USA-Major League Soccer", "2021", no_cache = True)
df = ws.read_events()
Well, It worked, but it's downloading both the 2020 and 2021 Major League seasons under the 2020 year class.
Can I also ask why removing headless and cache made it run?
Setting no_cache = True
works because you probably had some old files with a different structure in your cache. Removing headless didn't do anything: headless = False
is the default.
I don't know why it downloads both seasons, but the MLS isn't supported anyway.
I've tried with a couple of custom leagues, more specifically BEL-Jupiler Pro League and USA-Major League Soccer.
While the Jupiler works fine, the Major League doesn't run properly:
I've not actually tried all the leagues, so I cannot list which one have this problem.