PAMIE and beautifulsoup problem
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sat Oct 24 01:00:45 EDT 2009
En Fri, 23 Oct 2009 03:03:56 -0300, elca <highcar at gmail.com> escribió:
> follow script is which i was found in google.
> but it not work for me.
> im using PAMIE3 version.even if i changed to pamie 2b version ,i couldn't
> make it working.
You'll have to provide more details. *What* happened? You got an
exception? Please post the complete exception traceback.
> from BeautifulSoup import BeautifulSoup
> Import cPAMIE
> url = 'http://www.cnn.com'
> ie = cPAMIE.PAMIE(url)
> bs = BeautifulSoup(ie.pageText())
Also, don't re-type the code. Copy and paste it, directly from the program
that failed.
--
Gabriel Genellina
More information about the Python-list
mailing list