Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43305
| References | <CAOuJsM=u75nv-TxVCpXdcxmfyhxyY0v-NTYPEeGh1MmMuzxCVg@mail.gmail.com> <CAJ6cK1YYJKw6TqgZG4h2=Or0r4FZ21SkxN8FanH7Yj+tA+ALVg@mail.gmail.com> <CAOuJsMmDHiOGd_m9qmbj3Mm6zHr818MP_p4E+Lcdpq8MdLKXsA@mail.gmail.com> |
|---|---|
| Date | 2013-04-11 11:04 +1000 |
| Subject | Re: extract HTML table in a structured format |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.433.1365642293.3114.python-list@python.org> (permalink) |
On Thu, Apr 11, 2013 at 4:15 AM, Jabba Laci <jabba.laci@gmail.com> wrote: > Hi, > > Thanks, it's a great idea to parse the wiki source. Since then I have found > a command for this particular task called "ubuntu-support-status" that shows > what I need. That sounds like an even better option. Anything that depends on parsing a wiki is vulnerable to format changes at a moment's notice, even worse than other web page parsing. > But the idea to extract an HTML table from a webpage in a structured format > could be an interesting (and useful) project idea. There are, unfortunately, too many different ways this can be done. Too many differences in HTML that a human eye would read as the same thing. I'd recommend either BeautifulSoup or specifically looking at the HTML to be parsed and finding a shortcut from that. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: extract HTML table in a structured format Chris Angelico <rosuav@gmail.com> - 2013-04-11 11:04 +1000
csiph-web