Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.186 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.64; '*S*': 0.01; 'received:209.85.213': 0.09; 'to:name:python list': 0.09; 'selenium': 0.16; 'header:In- Reply-To:1': 0.23; 'instead': 0.28; 'message-id:@mail.gmail.com': 0.29; 'parsing': 0.30; 'rendered': 0.30; 'tree': 0.30; 'to:addr :python-list': 0.31; 'like:': 0.34; 'hello,': 0.37; 'help': 0.38; 'received:209.85': 0.38; 'received:google.com': 0.38; 'data': 0.38; 'subject:: ': 0.39; 'some': 0.39; 'to:addr:python.org': 0.40; 'could': 0.40; 'contents': 0.61; 'browser': 0.67; 'javier': 0.84; 'windmill': 0.84; '\xa0but': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=o0W27EVX7TTI5dGNnAHcR7ht7G+K+AXgM8rlxSNTFTs=; b=LsGi8c+9KoG401dNtqKFvHuxn3zPRggcLocPBNuigUJZdyDlPzDrltWne6SRJHGwgC 5be36M3ajI8hOeU6Oh9D/o8ZQB0i8djiKpKJ4SRRZaU6Usn2Gn6e64/6FlNi9W0Sg5Lm UoM3KTLvFXkICVtGiX4Pi1eCaH6FvnhcEL9Ro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=p+QZEagq4oQcwAa81CjDdYkvbgCZz/YZdyeloVs49ACw96MatAlQcp/R1qKjCuTNoy caex1rOAdFz9hxsyL4jPVPhoc5hlnMzC5gC4UNK6rlc6SDST0SF50YNf+Uj5ZdpyZvLo 3Pth1WAoq9VWnEQwSkvY5xeW8JAI3PJvWnYnE= MIME-Version: 1.0 In-Reply-To: <1297412432.2316.57.camel@ocean-desktop> References: <1297412432.2316.57.camel@ocean-desktop> From: Javier Collado Date: Sat, 12 Feb 2011 09:18:18 +0100 Subject: Re: parse html rendered by js To: Python List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 11 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1297498721 news.xs4all.nl 81474 [::ffff:82.94.164.166]:39363 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55888 Hello, 2011/2/11 yanghq : > =A0 =A0but for some pages rendered by js, like: You could use selenium or windmill to help you reproduce the contents of the web page in a browser so you can get the data from the DOM tree once the page has been rendered instead of by parsing the js. Best regards, Javier