Hi all.
I'm using simple code to get source code of webpage. In the most cases it works fine, but with some kind of urls the source code is different than in the browser(right click->view page source). It looks like source code of some scripts instead of text data visible on the webpage.
example url: https://www.google.com/search?q=site...ps://tophd.pl/
Dim URL, odp As String
Dim x As Integer
URL = Range("A1").Value
With CreateObject("MSXML2.XMLHTTP")
.Open "GET", URL, False
.send
Range("B1").Value = .ResponseText
End With
Bookmarks