0
目標文本輸出當然名字的字典和他們的等級從這個:用美麗的湯拉從多個<tr>的
<tr>
<td class="course"><a href="/courses/1292/grades/5610">Modern Europe & the World - Dewey</a></td>
<td class="percent">
92%
</td>
<td style="display: none;"><a href="#" title="Send a Message to the Teacher" class="no-hover"><img alt="Email" src="/images/email.png?1395938788" /></a></td>
</tr>
這樣:
{Modern Europe & the World - Dewey: 92%, the next couse name: grade...etc}
我知道如何只是找到百分比標籤或只是一個href標籤,但我不確定如何獲取文本並將其編譯到字典中,因此它更加實用。謝謝!