Re: Beautifulsoap

2016-03-19 Thread Joel Goldstick
On Wed, Mar 16, 2016 at 9:36 AM, wrote: > Greetings NG > > please I need a little help. > > I have this bs object tag: > > > > I want extract 5.69 > > Some have pity of me :-) > > Thanks > > > Show the code you have, and what isn't working. Which verision of python and BS > -- > https://mail.p

Re: Beautifulsoap

2016-03-19 Thread eproser
Solved: odds = soup.findAll('td',{'class':'odds'}) for odd in odds: print odd['data-odd'] Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Beautifulsoap

2016-03-19 Thread eproser
Thank you Peter, good info. -- https://mail.python.org/mailman/listinfo/python-list

Re: Beautifulsoap

2016-03-19 Thread Peter Otten
epro...@gmail.com wrote: > > 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 = Beautiful

Beautifulsoap

2016-03-18 Thread eproser
Greetings NG please I need a little help. I have this bs object tag: I want extract 5.69 Some have pity of me :-) Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Beautifulsoap

2016-03-18 Thread eproser
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"

Re: SUBMIT "ACCEPT" button - Python - beautifulsoap

2015-01-28 Thread lazar . michael22
hat T&C. > But not when I open the URL via beautifulsoap > > My parsing/scraping tool is implemented in bs, but I fail to parse the > content as I am not getting around T&C. When printing "response.text" from > BS, I get below code. How do I get around this form for acc

SUBMIT "ACCEPT" button - Python - beautifulsoap

2015-01-28 Thread peter . neumaier
uld like to scrape some data from that follow up page. It appears that when opening in a browser directly http://flow.gassco.no/acceptDisclaimer I would get around that T&C. But not when I open the URL via beautifulsoap My parsing/scraping tool is implemented in bs, but I fail to parse th