Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64240

Re: python to enable javascript , tried selinium, ghost, pyQt4 already

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: python to enable javascript , tried selinium, ghost, pyQt4 already
Date 2014-01-18 18:05 +0000
Organization A noiseless patient Spider
Message-ID <lbefpo$gmg$1@dont-email.me> (permalink)
References <91184b5c-aa05-42e1-81de-15252023a15b@googlegroups.com>

Show all headers | View raw


On Sat, 18 Jan 2014 03:54:17 -0800, Jaiprakash Singh wrote:

> can you please suggest me some method for  study so that i can
> scrap a site having JavaScript behind it

Please expand upon the requirement, are you trying to:

a) replace server side javascript with server side python, or
b) replace client side javascript with server side python, or
c) replace client side javascript with client side python, or
d) something else?

(c) is not possible (you can't guarantee that all clients will have 
python, or that there will be a mechanism for calling it from your 
webpages), (b) doesn't make a lot of sense (you'll be trading cpu in the 
client for cpu in the server + network bandwidth and latency).

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python to enable javascript , tried selinium, ghost, pyQt4  already Jaiprakash Singh <jaiprakash@wisepromo.com> - 2014-01-18 03:54 -0800
  Re: python to enable javascript , tried selinium, ghost, pyQt4  already Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-18 18:05 +0000
  Re: python to enable javascript , tried selinium, ghost, pyQt4 already Chris Angelico <rosuav@gmail.com> - 2014-01-19 05:13 +1100
    Re: python to enable javascript , tried selinium, ghost, pyQt4 already Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-18 21:40 +0000
      Re: python to enable javascript , tried selinium, ghost, pyQt4 already Chris Angelico <rosuav@gmail.com> - 2014-01-19 09:32 +1100
  Re: python to enable javascript , tried selinium, ghost, pyQt4  already Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2014-01-19 07:58 +0000

csiph-web