1
는 사실은 내가추출 특정 HTML 문자열은
.. .. 난이 특정 div 태그 여기 내 코드는 사이에 데이터를 추출 할 웹 사이트의 모든 HTML 소스 코드를Dim request As WebRequest = WebRequest.Create("https://www.crowdsurge.com/store/index.php?storeid=1056&menu=detail&eventid=41815")
Using response As WebResponse = request.GetResponse()
Using reader As New StreamReader(response.GetResponseStream())
html = reader.ReadToEnd()
End Using
End Using
Dim pattern1 As String = "<div class = ""ei_value ei_date"">(.*)"
Dim m As Match = Regex.Match(html, pattern1)
If m.Success Then
MsgBox(m.Groups(1).Value)
End If
하는보고 가치가있을 수도 있습니다 [HtmlAgilityPack] (http://htmlagilitypack.codeplex.com/)은 많은 고통을 덜어줍니다. –
또한 html 민첩성 팩을 사용했지만 div에서 데이터를 추출 할 수 없었습니다. 이걸 사용해야합니다 ... html 민첩성 팩을 사용하여 div 데이터를 추출 할 수있는 방법을 알려주십시오. – codeapp17