Getting HTML from a loaded page in Firefox

joe_public34 joe_public34 at yahoo.com
Thu Aug 4 16:15:47 CEST 2005


How can I use Python to get the HTML source for a webpage that is
already loaded into Firefox?  So far, all I've seen is reference to
building Mozilla and XPCOM, but if there's any other way, I want to
know. I already tried
import win32com.client
mb = win32com.client.Dispatch('MOZILLACONTROLLib.Application')
Thanks. (using Python 2.4 on Windows)






More information about the Python-list mailing list