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


Groups > comp.lang.python > #62944

Re: lookup xpath (other?) to value in html

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'example:': 0.03; 'output': 0.05; 'lookup': 0.09; 'pages.': 0.09; 'url:software': 0.09; 'cc:addr:python-list': 0.11; '255': 0.16; 'looked': 0.18; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'subject:other': 0.31; 'subject: (': 0.35; 'received:google.com': 0.35; 'sure': 0.39; 'show': 0.63; 'sample': 0.67
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:to :cc:content-type; bh=Htq2vMOTeBLrDhrSx+imlr5AdlcMQI0mWmy9KtD6HHY=; b=yDvXkINxqkRHW63iIMz7r60uVFxO1z9bovbc5Xr74SanS4eV7a3JsZet3zAujLI4Nb klNON7/3r6es3b7BIZesNr74VEKc0AOrlQZc92nE+7oAXnJhWXfioDS+caMZ2bPtXmCy wJ78b7oc/39RO3uHhoq8RMp1YkRehyxR6+dY9y3jSqHMBrc8LZEYubMuhwEKHiby44wD l28mQHFe0VaVSKTX1M0gPl2ZdsnnroaEs/TNCGkdQX0/eOfcyZHytFGjbXz5Qun8HxPi UAhn+DDuc+/AkIMOTH+1MzwSutE3l4a6XTcFHhwkV56Cm+RK1YAm7BdFIyT7EM5ZXEAY Nw9Q==
MIME-Version 1.0
X-Received by 10.50.18.74 with SMTP id u10mr501626igd.48.1388540708499; Tue, 31 Dec 2013 17:45:08 -0800 (PST)
In-Reply-To <CALyJZZXtwD=PKjnnOiAcm3TF6RJZVqjsZCqupooEb8YNBNVoGA@mail.gmail.com>
References <CALyJZZXtwD=PKjnnOiAcm3TF6RJZVqjsZCqupooEb8YNBNVoGA@mail.gmail.com>
Date Tue, 31 Dec 2013 18:45:08 -0700
Subject Re: lookup xpath (other?) to value in html
From Jason Friedman <jsf80238@gmail.com>
To Vincent Davis <vincent@vincentdavis.net>
Content-Type text/plain; charset=UTF-8
Cc "python-list@python.org" <python-list@python.org>
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.4767.1388540717.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388540717 news.xs4all.nl 2938 [2001:888:2000:d::a6]:38431
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62944

Show key headers only | View raw


> I have a about 255 data fields that I am trying to verify on thousands of
> webpages.
> For example:
> value: 255,000
> sqft: 1800
> ....
> Since I have the correct answer for several pages I would like to lookup get
> the location (xpath?) of the data/field value in the page so that I can
> check other pages.

I'm not sure what you are looking for.  Do you have a sample web page,
and can you show us the output you'd like to see from that webpage?
Have you looked at http://www.crummy.com/software/BeautifulSoup/?

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


Thread

Re: lookup xpath (other?) to value in html Jason Friedman <jsf80238@gmail.com> - 2013-12-31 18:45 -0700

csiph-web