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


Groups > comp.lang.python > #43257

extract HTML table in a structured format

From Jabba Laci <jabba.laci@gmail.com>
Date 2013-04-10 10:44 +0200
Subject extract HTML table in a structured format
Newsgroups comp.lang.python
Message-ID <mailman.400.1365583471.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I wonder if there is a nice way to extract a whole HTML table and have the
result in a nice structured format. What I want is to have the lifetime
table at the bottom of this page:
http://en.wikipedia.org/wiki/List_of_Ubuntu_releases (then figure out with
a script until when my Ubuntu release is supported).

I could do it with BeautifulSoup or lxml but is there a better way? There
should be :)

Thanks,

Laszlo

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


Thread

extract HTML table in a structured format Jabba Laci <jabba.laci@gmail.com> - 2013-04-10 10:44 +0200

csiph-web