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


Groups > comp.lang.python > #64265

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

References <91184b5c-aa05-42e1-81de-15252023a15b@googlegroups.com> <mailman.5681.1390068840.18130.python-list@python.org> <lbescm$to6$3@dont-email.me>
Date 2014-01-19 09:32 +1100
Subject Re: python to enable javascript , tried selinium, ghost, pyQt4 already
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5692.1390084364.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jan 19, 2014 at 8:40 AM, Denis McMahon <denismfmcmahon@gmail.com> wrote:
> On Sun, 19 Jan 2014 05:13:57 +1100, Chris Angelico wrote:
>
>> On Sat, Jan 18, 2014 at 10:54 PM, Jaiprakash Singh
>> <jaiprakash@wisepromo.com> wrote:
>>> hi,
>>>
>>>      can you please suggest me some method for  study so that i can
>>>      scrap a site having JavaScript behind it
>>>
>>>
>>>  i have tried selenium, ghost, pyQt4,  but it is slow and as a am
>>>  working with thread it sinks my ram memory very fast.
>>
>> Do you mean "scrape"? You're trying to retrieve the displayed contents
>> of a web page that uses JavaScript? If so, that's basically impossible
>> without actually executing the JS code, which means largely replicating
>> the web browser.
>
> Oh, you think he meant scrape? I thought he was trying to scrap (as in
> throw away / replace) an old javascript heavy website with something
> using python instead.

I thought so too at first, but since we had another recent case of
someone confusing the two words, and since "scrape" would make sense
in this context, I figured it'd be worth asking the question.

ChrisA

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