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

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'oh,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'suggest': 0.14; 'question.': 0.14; 'thread': 0.14; '8:40': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:already': 0.16; 'throw': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'basically': 0.19; 'meant': 0.20; '>>>': 0.22; 'code,': 0.22; 'memory': 0.22; 'cc:addr:python.org': 0.22; 'instead.': 0.24; 'cc:2**0': 0.24; 'first,': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'chris': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'context,': 0.31; 'fast.': 0.31; 'another': 0.32; 'sense': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'executing': 0.36; 'largely': 0.36; 'ram': 0.36; 'singh': 0.36; 'words,': 0.36; 'method': 0.36; 'hi,': 0.36; 'behind': 0.37; 'so,': 0.37; 'too': 0.37; 'two': 0.37; 'pm,': 0.38; 'recent': 0.39; "you're": 0.61; 'worth': 0.66; 'study': 0.69; 'browser.': 0.78; 'heavy': 0.81; 'confusing': 0.84; 'ghost,': 0.84; "it'd": 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=JtPX8qdZnymCNvg3TQ6+DWXbAMUtaljKRmflUY98ZIk=; b=u9C4Br/4TD4sMDZ12SlvjcfALTCXcgiXJTej751/0WbkM3KGUDS6eI3dT5H0ilS1RO WVMItnlJfDwRevnNXW1CGm7BjExevWY6ZqRnIlNR3r4x9xq8bb2i8qSlxSmgflMADvWI GtmCHugoXBMLP6bKubu4OBRJ1zd4AGEm6d/2/c3IzG7Jjwoy4ibxPRGJfK4z4NwF+RmP FKPcTMs+dmC5BmsrP64n+OnZ/VJPMZlk7kG+TIgDmFioy2qEixz/P7J0QBXmdPW1RYKZ XPDAw8Yl03xQ4HKK/Wq7Qgk0sR6FXIcjEvd0xCw6a8JwBG+ne+xHbcRd1TF0gnqcZZ6P f7wg==
MIME-Version 1.0
X-Received by 10.68.190.228 with SMTP id gt4mr10264905pbc.94.1390084356192; Sat, 18 Jan 2014 14:32:36 -0800 (PST)
In-Reply-To <lbescm$to6$3@dont-email.me>
References <91184b5c-aa05-42e1-81de-15252023a15b@googlegroups.com> <mailman.5681.1390068840.18130.python-list@python.org> <lbescm$to6$3@dont-email.me>
Date Sun, 19 Jan 2014 09:32:36 +1100
Subject Re: python to enable javascript , tried selinium, ghost, pyQt4 already
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5692.1390084364.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390084364 news.xs4all.nl 2974 [2001:888:2000:d::a6]:58550
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64265

Show key headers only | 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