Open KnightRider37 opened 4 months ago
hmm, that's weird. Can you send me a screenshot of footystats in french? i didn't know they got French language mode
This is the way footystats comes up for French league and it doesn't read the date.
this is the error I get
can you also provide me the url of footystats that it tries to parse? e.g. For Ligue 1, it should be https://footystats.org/france/ligue-1/fixtures
https://footystats.org/fr/france/ligue-1/fixtures - it takes me to this one Don't know why there is the "fr". for other leagues I don't have this issue.
I see. The problem can be seen in the image. It changes the class name, as well as the page format. The english version is different! I updated the file "fixtures/footystats/scraper.py" to add US language as the preferred language. It should be ok now.
Unfortunately it didn't solve the issue. tried with safari and chrome. still the same issue. I'll keep looking.
You have to replace fixtures_url within "database/entities/leagues/france.py". replace this: "fixtures_url='https://footystats.org/fr/france/ligue-1/fixtures'" with "fixtures_url='https://footystats.org/france/ligue-1/fixtures'". Then delete "database/storage/leagues/index.pkl" and recreate all your leagues.
When trying to predict all matches from the French league, it can't read the date, due to the fact that footy stats is in French. Because of this the date code doesn't match. How can this be fixed? Thanks