웹 사이트에서 데이터를 가져 오려고합니다. 나는 HtmlAgilityPack (C#)을 사용하고있다. 웹 사이트의 내용이 여기에이HtmlAgilityPack, Xpath에서 술어 사용
<div id="list">
<div class="list1">
<a href="example1.com" class="href1" >A1</a>
<a href="example4.com" class="href2" />
</div>
<div class="list2">
<a href="example2.com" class="href1" >A2</a>
<a href="example5.com" class="href2" />
</div>
<div class="list3">
<a href="example3.com" class="href1" >A3</a>
<a href="example6.com" class="href2" />
</div>
<div class="list3">
<a href="example4.com" class="href1" >A4</a>
<a href="example6.com" class="href2" />
</div>
<div class="list3">
<a href="example5.com" class="href1" >A5</a>
<a href="example6.com" class="href2" />
</div><div class="list3">
<a href="example6.com" class="href1" >A6</a>
<a href="example6.com" class="href2" />
</div><div class="list3">
<a href="example3.com" class="href1" >A7</a>
<a href="example6.com" class="href2" />
</div>
</div>
처럼, 우리는 클래스 = "href1"7 개 연결되는 링크를 제공하고 있습니다. 3 링크 (3 링크에서 5 링크까지) 만 가져 오려고합니다. 이러한 특정 링크를 가져 오는 방법은 무엇입니까?
당신에게 대단히 감사합니다 .. –