【发布时间】:2011-02-09 02:59:42
【问题描述】:
我的 html 页面有:
...
<table class="t1" ..>
<tr><td> ... <a href="">...</a> ... <a href="">..</a>
</table>
...
我有:
html = BeautifulSoup(page)
links = html.findAll('a', ?????????)
如何找到该表内的所有链接?
【问题讨论】:
-
你研究过 Python HTML 解析器吗?
-
@Nick - BeautifulSoup 就是这样......
标签: python beautifulsoup