Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.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.133 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.73; '*S*': 0.00; 'subject:format': 0.16; 'thanks,': 0.17; 'script': 0.25; 'wonder': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'extract': 0.31; 'url:wikipedia': 0.31; 'way?': 0.31; 'figure': 0.32; 'table': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'format.': 0.36; 'ubuntu': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'release': 0.40; 'bottom': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=eODnltZD3FpAXnXQo1n9RpUCF7fvbjsCgRrrzd50BkQ=; b=onsSvPE4kjN1eYEgFfXEpGN6sqww32eh7zATrnXYK0L+ejmGB13cuaClWDxOkDzhUe 9DuhgKrlWnyjZ0F9Fil3KTv+U6drkvcYEH8YFbflkIEicSmWshwrYq6CFe4CC2dTuoSr VdJwhBjrhFhpDmqF02Y4pqX3PnzecFUENHwrW86asjl9KgddR9L7XAqTDa/o+1nQ9xCt O8gKzEvZqv4SBCtowMRbz+SZgeW9KIO3lrzHwx2LBKy+zUh1kaBqTPkR82rk2QAGCzY0 GtRmJaC4SXrMa/8jkG7uVWC68CRFqDouiZ+/7RuJrR9T4sZH11KFOa+hjNufj4qTgC+n smVw== X-Received: by 10.182.160.106 with SMTP id xj10mr362006obb.98.1365583468177; Wed, 10 Apr 2013 01:44:28 -0700 (PDT) MIME-Version: 1.0 From: Jabba Laci Date: Wed, 10 Apr 2013 10:44:08 +0200 Subject: extract HTML table in a structured format To: Python mailing list Content-Type: multipart/alternative; boundary=f46d0447890588316104d9fdade2 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365583471 news.xs4all.nl 2706 [2001:888:2000:d::a6]:45309 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43257 --f46d0447890588316104d9fdade2 Content-Type: text/plain; charset=ISO-8859-1 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 --f46d0447890588316104d9fdade2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I wonder if there is a nice way to extract a wh= ole 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/wi= ki/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? The= re should be :)

Thanks,

Laszlo
--f46d0447890588316104d9fdade2--