目標網頁: http://www.immi.gov.au/skilled/general-skilled-migration/estimated-allocation-times.htm如何提取網頁的某些部分在Python
我想提取的部分:
<tr>
<td>Skilled – Independent (Residence) subclass 885<br />online</td>
<td>N/A</td>
<td>N/A</td>
<td>N/A</td>
<td>15 May 2011</td>
<td>N/A</td>
</tr>
一旦代碼通過搜索關鍵字「找到該部分子類885
在線「,那麼它應該打印第5個標籤中的日期,即」2011年5月15日「,如上所示。
這只是一個監視器,讓我自己留意移民申請的進度。
查看BeautifulSoup –