【发布时间】:2020-08-27 02:58:33
【问题描述】:
请问我如何在表格中捕捉这些值。我需要日期、时间、储备和播放值。 每次我只得到整个表的完整列表时,我不知道如何捕获其中的给定值 非常感谢您的帮助。
<table class="list">
<tr class="head">
<th>Date</th>
<th>Time</th>
<th>Play</th>
<th>Tickets</th>
<th> </th>
</tr>
<tr class="t1">
<th>Th
03. 09. 2020</th>
<td>
19:00</td>
<td>Racek</td>
<td class="center">4</td>
<td>
<a href="/rezervace/detail?id=2618"
title="Reserve tickets for this performance">
reserve
</a>
</td>
</tr>
【问题讨论】:
标签: python-3.x beautifulsoup html-table