I'm trying to extract the odds of games from an espn website. The 'moneyLine' odds are buried in a script that I just can't figure out how to access. Ideally I would have the odds in rows for each game. I've managed to extract team names and scores in rows, I would like odds to go with it.
scrapy shell
fetch('http://www.espn.com/nfl/schedule/_/week/1')
response.xpath("//script[contains(., 'moneyLine')]/text()")
This is the output
[<Selector xpath="//script[contains(., 'moneyLine')]/text()" data='\n\t\t\tvar espn = espn || {};\n\n\t\t\t// Build '>]
Here is a sample from firefox inspector window, I can see the 'moneyLine' items, just can't isolate them

jsonto convert it into python dictionary.pagemeansweb page/portal- You have to useDevToolto check allXHRrequests - if one of them sends back your data then you haveanother url.