how can i use lxml with win32com?
motoom at xs4all.nl
Sun Oct 25 14:52:55 CET 2009
> that is korea portal site and i was search keyword using 'korea times'
> and i want to scrap resulted to text name with 'blogscrap_save.txt'
Aha, now we're getting somewhere.
or Internet Explorer.
By analyzing the structure of that page you can see that the articles
are presented in an unordered list which has class "type01". The
interesting bit in each list item is encapsulated in a <dd> tag with
class "sh_news_passage". So, to parse the articles:
for li in ul.findAll("li"):
This example prints them, but you could also save them to a file (or a
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is simply amazing." - Vinod Valloppillil
More information about the Python-list