Greetings,

 

I am using PAMIE to interact with web pages.  Essentially, I am entering values then submitting the form.  What I have not yet figured out is to read the source code for the resulting website.   I have used BeautifulSoup to do this on other websites, but I am unable to incorporate BeautifulSoup with the resulting website powered by PAMIE.

 

BeautifulSoup Example:

 

From BeautifulSoup import BeautifulSoup

Import urllib

 

url = ''

s = urllib.urlopen(url).read()

soup = BeautifulSoup(s)

soup.done()

 

 

PAMIE Example:

Import cPAMIE

url = ''

ie = cPAMIE.PAMIE(url)

 

Any guidance or suggestions will be most appreciative.

 

Tom Williams

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to