I am trying to get information of stock code from below website using excel vbahttps://www.screener.in/company/KRISHANA/
I went through network tab and found out the code was in under peers nodehttps://www.screener.in/api/company/13611040/peers/
below is the code which I've written in excel vba, the html page has no information on the code
Note: I dont want to duplicate this thread, I tried searching everywhere, if its not possible in vba,can we achieve this in python.
URLS = "https://www.screener.in/company/KRISHANA/" Set xhr = New MSXML2.ServerXMLHTTP60 With xhr .Open "GET", URLS, False .setRequestHeader "User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" .send If .readyState = 4 And .Status = 200 Then Set Doc = New MSHTML.HTMLDocument Doc.body.innerHTML = .responseText End If End With DoEvents