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
Solved:
odds = soup.findAll('td',{'class':'odds'})
for odd in odds:
print odd['data-odd']
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
Thank you Peter, good info.
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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"
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
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