[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: urllib supports javascript

J. Peng

2/2/2008 6:09:00 AM

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.source...
>
> On Feb 2, 2008 11:07 AM, J. Peng <jpeng@block.duxieweb.com> 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/p...
>>

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.