Navigating to webpage with VPN (1 Viewer)

cpampas

Registered User.
Local time
Today, 07:38
Joined
Jul 23, 2012
Messages
218
I am from Portugal, and since I moved to another country, I cannot access the URL

I can if I use a VPN connection with a portuguese server, nevertheless when trying to scrap data from that URL, my vba code cant navigate to the page.
Any thoughts ?

Code:
Dim ie As Object
Dim doc As HTMLDocument
Dim strPath As String
Dim oElement As Object


Set ie = New InternetExplorerMedium
strPath = "https://www.e-leiloes.pt/info.aspx?lo=LO1063072023"


ie.Navigate strPath
ie.Visible = True
 Do While (ie.Busy) Or (ie.ReadyState <> 4)
      DoEvents
        
  Loop
 


workStr = ie.Document.getElementsByClassName("InfoBemPaginaColuna03")(0).innerText
 

D_Walla

Member
Local time
Today, 15:38
Joined
Aug 1, 2021
Messages
32
I'm not in Portugal either, and it works fine for me. Exactly what problems are you having? Are you getting an error message?
 

Users who are viewing this thread

Top Bottom