[[FrontPage]]

 import lxml.etree
 
 lxml.etree.HTML(html_string)
 
 doc.xpath("//div[@id='hoge']")[0].text
 doc.xpath("//div[@id='hoge']")[0].get("class")  # attribute


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS