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

References <CALyJZZXtwD=PKjnnOiAcm3TF6RJZVqjsZCqupooEb8YNBNVoGA@mail.gmail.com>
Date 2013-12-31 18:45 -0700
Subject Re: lookup xpath (other?) to value in html
From Jason Friedman <jsf80238@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4767.1388540717.18130.python-list@python.org> (permalink)

Show all headers | 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