Quote:
Originally Posted by macpablus
Any ideas?
|
Try this:
Code:
for section in soup.findAll('div', attrs={'class':'seccionx'}):
section_title = self.tag_to_string(section.find('a'))
That should find the first <a> tag in the each div of class seccionx.
I looked at your links, but didn't actually see the structure you posted, so you'll have to test it yourself. Firefox and FireBug work well for this job.