0
我需要关于html解析器的帮助我想获得标签“a”的第一个属性“href”值请解决我的问题。我想从代码http://myneta.info/gujarat2012/candidate.php?candidate_id=1591, 中获取此链接卡请参阅并提供一些解决方案, 我已经试过这种代码而不是对我的作品 -想要访问属性值
String temp = source.getElementById("main").getFirstElementByClass("grid_9").getAttributeValue("a");
其实在这里有几乎相同的答案[http://stackoverflow.com/q/21904177/383714](http://stackoverflow.com/q/21904177/383714) –