Home > other >  In the HTML to grab the nested div elements in how to capture them
In the HTML to grab the nested div elements in how to capture them

Time:09-22



Not tried the following code, print is empty []
 
Root=etree. HTML (r.t ext)
R=root. Xpath ("//div [@ class='t - body clearfix']//div [@ class='lf']//text () ")
Print (r)

Where are you?


  • Related