Help with BeautifulSoup

A

Alexnb

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top