Saving a page loaded using the webbrowser library?

Dr. Benjamin David Clarke moekaveli at
Thu Mar 25 08:41:06 CET 2010

Does anyone know of a way to save the a loaded web page to file after
opening it with a call?

Specifically, what I want to do is get the raw HTML from a web page.
This web page uses Javascript. I need the resulting HTML after the
Javascript has been run. I've seen a lot about trying to get Python to
run Javascript but there doesn't seem to be any promising solution. I
can get the raw HTML that I want by saving the page after it has been
loaded via the call. Is there any way to automate
this? Does anyone have any ideas for better approaches to this
problem? I don't need ti to be pretty or anything.

More information about the Python-list mailing list