2012-11-12 2 views

답변

11

만에 /@src를 추가하여 xpath 표현식 :

imageUrl = xhtml.xpath('//img[@alt="something"]/@src') 
관련 문제