I am trying to extract first name of the actor from the url i am passing, for my URL,i need to extact "Will Smith" from the HTML page. Web Page
I know how to extract elements from HTML page using tag,classnaem etc.
But the problem i am facing is when i pass the URL, "https://ssl.ofdb.de/film/138627,I-Am-Legend" in the response text,i am not at receiving the full HTML page,due to this i am not able extract the content "Will Smith".
I tried other methods like MSXML2.XMLHTTP60 also both returns the partial HTML page only
I have attached my code here,any one please help
Sub Fetch_Info()
Dim ie As New InternetExplorer
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
ie.Top = 0
ie.Left = 700
ie.Width = 1000
ie.Height = 750
ie.AddressBar = 0
ie.StatusBar = 0
ie.Toolbar = 0
ie.navigate "https://ssl.ofdb.de/film/138627,I-Am-Legend"
Do
DoEvents
Loop Until ie.readyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:04")
Dim doc As HTMLDocument
Set doc = ie.document
doc.Focus
Debug.Print doc.DocumentElement.innerHTML
End Sub