Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'suggest': 0.14; 'thread': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:already': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'basically': 0.19; 'code,': 0.22; 'memory': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'message- id:@mail.gmail.com': 0.30; 'fast.': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'executing': 0.36; 'largely': 0.36; 'ram': 0.36; 'singh': 0.36; 'method': 0.36; 'hi,': 0.36; 'behind': 0.37; 'so,': 0.37; 'pm,': 0.38; "you're": 0.61; 'study': 0.69; 'browser.': 0.78; 'ghost,': 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=hcX3zpSN+2gUjF5E5Xf0QcJf09OL1v3IJEjiMuTFp6I=; b=nuH20D9H3TZtPoZ8HSCuuG6LYjT/FsDrENe8/WF+cFrKolCXZ/uzCpEJ9xl2sB1ZDN eYEtJex+QIDfh17g4tm8yR7Do+CwjaYTitHRXXXZh6VHbnXlYDHgVQsq2aqm+snO9sFN vvmipdGdPNCWuUzphiWL/KkOVv7jQIbqNmFig3aPaqKTbcD0R3+Vxqf6nzAFwHJ3Mt9x S2aWjgfaOALLfcKyM27cSBeOrX8LRFdzVMgZUt+p7FE8xTlLkSS1ZlS99NDKOYZXgv9Q i25HITgnNSgT+yEmpehX4o+YwNrD/3dIssCOgcUC0EDrHOsAZDsatSNvZ0mLgpuKab4C Z37g== MIME-Version: 1.0 X-Received: by 10.68.218.65 with SMTP id pe1mr9169325pbc.1.1390068837072; Sat, 18 Jan 2014 10:13:57 -0800 (PST) In-Reply-To: <91184b5c-aa05-42e1-81de-15252023a15b@googlegroups.com> References: <91184b5c-aa05-42e1-81de-15252023a15b@googlegroups.com> Date: Sun, 19 Jan 2014 05:13:57 +1100 Subject: Re: python to enable javascript , tried selinium, ghost, pyQt4 already From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390068840 news.xs4all.nl 2970 [2001:888:2000:d::a6]:52012 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64242 On Sat, Jan 18, 2014 at 10:54 PM, Jaiprakash Singh 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. ChrisA