js 写道: > AFAIK, nothing. > How abount letting a browser do it? > By using pamie [1] or selenium, you can drive a browser from python. > > [1] http://pamie.sourceforge.net/ > > On Feb 2, 2008 11:07 AM, J. Peng <[EMAIL PROTECTED]> wrote: >> hello, >> >> Which useragent lib supports javascript? >> I know something about these libs: urllib,urllib2,cookielib,httplib >> But I'm not sure which one of them can support javascript scripts. >> Thanks! >> -- >> http://mail.python.org/mailman/listinfo/python-list >>
Ok thanks. I'm running the script on linux host (commands line mode),so can't run a X-mode browser. I'm familiar with WWW::Mechanize but this famous Perl module also doesn't support a JS plugin,though there is someone else has developed that a plugin. -- http://mail.python.org/mailman/listinfo/python-list