Getting HTML from a loaded page in Firefox

J

joe_public34

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)
 
S

sp1d3rx

Please explain in more detail exactly what your problem was using the
method you described. We can help you, but most would be hard pressed
to write your code for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,797
Messages
2,569,646
Members
45,374
Latest member
VernitaBer

Latest Threads

Top