I manually populate the csv file. With links to each game. Will be a bit of a hassle to setup each day, but the different sportsbooks have different naming conventions for each team. Would be difficult to match up in code. I did find the solution using the regex split:
Fanduel seems to be my biggest issue which is the link that I posted.
#Finding Halftime lines SplitFox = "First-Half Result" TestFox = re.split(SplitFox, Fox_Content) FoxHTFinal = BeautifulSoup(TestFox[2], 'html.parser') FoxHT_Unparsed = FoxHTFinal.find(class_='button__bet__odds')However, I'm running into the issue now that the HTML doesn't appear for particular lines unless the DIV is activated by clicking on it. Trying to figure that part out now.
Fanduel seems to be my biggest issue which is the link that I posted.