View Single Post
Old 12-17-2010, 10:57 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by hiperlink View Post
Could someone please help me out how to do that?
Your code first finds all <li> tags with the findall, then tries to find an <li> tag inside each li tag found. That's two <li> tags deep, but your sample seems to show only one level of li tags.

It looks to me like you want to find the <a> tag inside the li tag, then concatenate the text of the <li> tag with the text of the <a> tag inside it.
Starson17 is offline   Reply With Quote