terryleong
New Member
- Joined
- Apr 9, 2024
- Messages
- 1
- Office Version
- 2021
- Platform
- Windows
I am unable to capture the entire source code from website as mentioned below, as it can show from the "view page source".
Actually I just want to find the word "administrativeAreas" in the entire source code, but it didn't capture entire source code, so it can't find from there.
My code:
URL = "https://www.iproperty.com.my/rent/k...f4e07ac1e5308a4c7deec&property=Majestic Maxim"
With CreateObject("MSXML2.XMLHTTP")
.Open "GET", URL, False
.send
ori_sourceCode = .responseText
End With
start_search = InStr(ori_sourceCode, "administrativeAreas")
MsgBox start_search
start_search result is 0
Actually I just want to find the word "administrativeAreas" in the entire source code, but it didn't capture entire source code, so it can't find from there.
My code:
URL = "https://www.iproperty.com.my/rent/k...f4e07ac1e5308a4c7deec&property=Majestic Maxim"
With CreateObject("MSXML2.XMLHTTP")
.Open "GET", URL, False
.send
ori_sourceCode = .responseText
End With
start_search = InStr(ori_sourceCode, "administrativeAreas")
MsgBox start_search
start_search result is 0