I need to scrape only the textual content under the Reference in h3 at this URL, i'm trying with this code but i'm not able to get the text in the same order showed in the html page.
i=43
while tree.xpath('/html/body/form/table[3]/tr/td/table[5]/tr/td/table[1]/tr/td[2]//p['+str(i)+']/a/text()')!=[] :
reference=tree.xpath('/html/body/form/table[3]/tr/td/table[5]/tr/td/table[1]/tr/td[2]//p['+str(i)+']/text()')
link_ref=tree.xpath('/html/body/form/table[3]/tr/td/table[5]/tr/td/table[1]/tr/td[2]//p['+str(i)+']//a/text()')
testo_reference=testo_reference + link_ref[0]+reference
i= i+1
I'd like to return an array containing every single row under the reference without html tag but only with textual content.