Help with BeautifulSoup

Alexnb alexnbryan at gmail.com
Sat Jul 12 07:07:58 CEST 2008


Okay, heres the general idea of the html I have to work with:

<div>
   noun
   <table class='luna'>
   <table class='luna'>
   <table class='luna'>
   <table class='luna'>
   verb
   <table class='luna'>
   <table class='luna'>
   <table class='luna'>
</div>

Okay, I left off some stuff. But what I need to do is get what is inside
each  and then each <table>. But the key is that I need everything in the
EXACT order that it would be in the html. I can easily get the tables but it
is the span's than I am having trouble with. 



-- 
View this message in context: http://www.nabble.com/Help-with-BeautifulSoup-tp18416200p18416200.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list