|
|
#1 |
|
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Puzzled and need a little kick start
If I have something like this. Ignore the actual html formatting. It is used to give you a general idea of what I want to do.
Code:
<table class ='i hate tables'>
<td align = 'left'>
<a href='some link blah.com/blah.html></a>
<td align = 'left'>
<a href='some other link that i actually want to use> </a>
</table>
Would i do a for item findAll on the table class ='i hate tables' ? then do a item.next.next ? I'm confused. Because the link I wish to parse is the second element of the table. thanks. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,592
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
table.findAll('td')[1]
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Something to kick-start me again...? | MrPLD | Reading Recommendations | 15 | 10-05-2010 11:56 PM |
| Puzzled re country content USA/UK/France | PeterEvans | Amazon Kindle | 11 | 09-17-2010 04:09 AM |
| PRS 300 Puzzled - please help! | fester1 | Sony Reader | 5 | 01-01-2010 07:14 PM |
| Puzzled by contrast variations in e-ink | Sunspark | News | 3 | 12-15-2009 03:53 AM |
| Did an ereader help kick start a reading habit | manchuia | Which one should I buy? | 24 | 07-04-2008 10:12 PM |