On 30 Okt., 18:28, luca72 <[EMAIL PROTECTED]> wrote:
> hello
> Another stupit question instead of use
> sito = urllib.urlopen('http://www.prova.com/')
> esamino = BeautifulSoup(sito)
>
> i do
> sito = urllib.urlopen('http://onlygame.helloweb.eu/')
> file_sito = open('sito.html', 'wb')
> for line
hello
Another stupit question instead of use
sito = urllib.urlopen('http://www.prova.com/')
esamino = BeautifulSoup(sito)
i do
sito = urllib.urlopen('http://onlygame.helloweb.eu/')
file_sito = open('sito.html', 'wb')
for line in sito :
file_sito.write(line)
file_sito.close()
how can i pa
On 29 Okt., 17:45, luca72 <[EMAIL PROTECTED]> wrote:
> Hello
> I try to use beautifulsoup
> i have this:
> sito = urllib.urlopen('http://www.prova.com/')
> esamino = BeautifulSoup(sito)
> luca = esamino.findAll('tr', align='center')
>
> print luca[0]
>
> >> >>href="#">#144.4MB >>align="left"> Pc-pr
Peter Pearson wrote:
> Like you, I struggle with BeautifulSoup
Well, there's always lxml.html if you need it.
http://codespeak.net/lxml/
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 29 Oct 2008 09:45:31 -0700 (PDT), luca72 <[EMAIL PROTECTED]> wrote:
> Hello
> I try to use beautifulsoup
> i have this:
> sito = urllib.urlopen('http://www.prova.com/')
> esamino = BeautifulSoup(sito)
> luca = esamino.findAll('tr', align='center')
>
> print luca[0]
>
[The following long str