Melih In fact what you're describing is exactly what I needed. I ended
Melih up finding a way to execute the javascript using Rhino and then
Melih capturing the result. Not exactly what I wanted to do, but once I
Melih found it out, it works.
There is an embeddable C
Melih Onvural schrieb:
I need to execute some javascript and then read the value as part of a
program that I am writing. I am currently doing something like this:
import htmllib, urllib, formatter
class myparser(htmllib.HTMLParser):
insave = 0
def start_div(self, attrs):
Jean-Paul Calderone:
You might look into the
stand-alone Spidermonkey runtime. However, it lacks the DOM APIs, so
it may not be able to run the JavaScript you are interested in running.
There are a couple other JavaScript runtimes available, at least.
This may be okay too:
Melih Onvural wrote:
Thanks, let me check out this route, and then I'll post the results.
Melih Onvural
On Jan 29, 4:04 pm, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On 29 Jan 2007 12:44:07 -0800, Melih Onvural [EMAIL PROTECTED]
wrote:
I need to execute some javascript and then
In fact what you're describing is exactly what I needed. I ended up
finding a way to execute the javascript using Rhino and then capturing
the
result. Not exactly what I wanted to do, but once I found it out, it
works.
Melih Onvural
On Jan 30, 2:57 pm, John Nagle [EMAIL PROTECTED] wrote:
Melih
I need to execute some javascript and then read the value as part of a
program that I am writing. I am currently doing something like this:
import htmllib, urllib, formatter
class myparser(htmllib.HTMLParser):
insave = 0
def start_div(self, attrs):
for i in
On 29 Jan 2007 12:44:07 -0800, Melih Onvural [EMAIL PROTECTED] wrote:
I need to execute some javascript and then read the value as part of a
program that I am writing. I am currently doing something like this:
Python doesn't include a JavaScript runtime. You might look into the
stand-alone
Thanks, let me check out this route, and then I'll post the results.
Melih Onvural
On Jan 29, 4:04 pm, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On 29 Jan 2007 12:44:07 -0800, Melih Onvural [EMAIL PROTECTED] wrote:
I need to execute some javascript and then read the value as part of a