I am struggling with the syntax required to grab some hrefs in a <td>.
The <table>, <tr> and <td> elements don’t have any classes or ids.
If I wanted to grab the anchor in this example, what would I need?
<tr>
<td><a>...
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As per the docs, you first make a parse tree:
and then you search in it, for example for
<a>tags whose immediate parent is a<td>: