Answer the question
In order to leave comments, you need to log in
Ruby HTML parser?
I spent a lot of time reading books on the Ruby language, but when I got to practice, I got stuck -
Task:
Parse an html page (which has a table)
<tr align=center class=odd>
<td class=grayed>$номер строки</td>
<td><a href="$ссылка на конкретную страницу с адресом в виде /path/to/$id_1>id_1</a></td>
<td>$дата на 5 дней раньше текущей</td>
<td align=center id=expired><nobr>$дата на 5 дней раньше с добавлением (-5)</nobr></td>
<td align=left>$заметка</td>
<td align=center><a href=path/to/1111/>$имя юзера(нужно спарсить, так же id(1111)</a> </td>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question