Hacking Gmail

(Grace) #1

192 Part III — Conquering Gmail


Listing 13-5 (continued)

width=15 height=15 border=0 alt=””>
</td>
<td width=30%>
Ben Hammersley</td>
<td width=68%>
<a href=”?th=1025a4065d9b40bf&v=c”>
<font size=1><font color=#006633>
</font></font>
hello me
</a></td>
<td nowrap width=1%>Feb 28

So, you can now work out how to retrieve the message itself. You simply construct
the correct URL, retrieve it, parse the page, and there it is.

Retrieving the Individual Page


There are two types of individual message pages, and you’ll need to work out how
to deal with them in a few paragraphs. In the meantime, jump to Appendix A and
check out Listing A-5, which shows the code for the page depicted in Figure 13-2.

FIGURE13-2: An individual message page, with only one message
Free download pdf