def get_indices():
doc = BeautifulSoup(urlopen(BASEURL))<EOL>divs = doc.select('<STR_LIT>')<EOL>if not divs:<EOL><INDENT>return None<EOL><DEDENT>sibling = divs[<NUM_LIT:1>].nextSibling<EOL>if not sibling:<EOL><INDENT>return None<EOL><DEDENT>data = sibling.nextSibling<EOL>if not data:<EOL><INDENT>return None<EOL><DEDENT>data = BeautifulSoup(data)<EOL>divs = data.select('<STR_LIT>')<EOL>return map(lambda d: int(d.text), divs)<EOL>
Return a list of 3 integers representing EU indices for yesterday, today
and tomorrow.