Yes, for my hobby i want extract odds. The code is:
from bs4 import BeautifulSoup import urllib2 url = "http://www.betexplorer.com/soccer/england/premier-league-2014-2015/results/" content = urllib2.urlopen(url).read() soup = BeautifulSoup(content) odds = soup.find_all("td", class_="odds") for odd in odds: print odd And I have this list of object: ... <td class="odds" data-odd="3.70"></td> <td class="odds" data-odd="3.65"></td> <td class="odds" data-odd="3.48"></td> >From this object I'm interesting only 3.70 3.65 3.48 etc I'm no a programmer, my hobby is analyze soccer matchs to try to win :-) I chose python because I think is the best :-) Thank you in advance -- https://mail.python.org/mailman/listinfo/python-list