- 论坛徽章:
- 0
|
本帖最后由 gdp8899 于 2013-07-11 00:14 编辑
<tbody>
<tr><td><strong>报表日期</strong></td><td style='text-align:right;'>2013-03-31</td></tr>
<tr></tr>
<tr><td width='150px' style='font-weight:bold'><a target='_blank' href='/corp/view/vFD_FinanceSummaryHistory.php?stockid=002024&type=cinst61'>一、营业总收入</a></td><td style='text-align:right;'>27,200,800,000.00</td></tr>
<tr><td style='padding-left:30px' width='150px'><a target='_blank' href='/corp/view/vFD_FinanceSummaryHistory.php?stockid=002024&type=cinst1'>营业收入</a></td><td style='text-align:right;'>27,200,800,000.00</td></tr>
<tr><td style='padding-left:30px' width='150px'><a target='_blank' href='/corp/view/vFD_FinanceSummaryHistory.php?stockid=002024&type=cinst62'>利息收入</a></td><td>--</td></tr>
<tr><td style='padding-left:30px' width='150px'><a target='_blank' href='/corp/view/vFD_FinanceSummaryHistory.php?stockid=002024&type=cinst63'>已赚保费</a></td><td>--</td></tr>
</tbody>
在上面的代码中,我想用BeautifulSoup的语言同时抓取数值“27,200,800,000.00”与“--”,该怎么做?望大神出手相助~ |
|