1
xiaoqiao Jan 4, 2015 innerHTML?p.text?
|
2
no13bus Jan 4, 2015 from bs4 import BeautifulSoup
aa='''<p><img align="left" height="268" src="images/n_shiye.gif" width="151"/>XXX</p>''' b = BeautifulSoup(aa) print b.text |
3
icedx Jan 4, 2015 via Android .text
|
6
bertonzh Jan 5, 2015
$('img[align=left]').parent().text()
|