Open keith0811 opened 1 year ago
Yes, you have to play around with the code in "parser.py" file.
you can try
for i in range(1, (num_matches * 5) + 1, 5):
odds_1.append(odd_lines[i].split('>')[1].split('<')[0].replace('\n', ''))
odds_x.append(odd_lines[i + 1].split('>')[1].split('<')[0].replace('\n', ''))
odds_2.append(odd_lines[i + 2].split('>')[1].split('<')[0].replace('\n', ''))
return odds_1, odds_x, odds_2
instead of what's in the file now. It's not perfect, but works a bit better.
Thanks. I realise we can manually change the home/away team and its odds.
Thanks. I realise we can manually change the home/away team and its odds.
Yes, it can be done for both teams and also for the odds, but it's very time-consuming.
https://prnt.sc/JljkAN3qnTrt
Manage to parse the fixture as 12 Nov. but the match and odds are not matched. Name of home and away team is not correct.