Hi,
I am trying to download a website with my app, it always worked until recently.
Now this website refuses me access and I get this error message:
Here is my code:
Can this block be lifted? If yes, how?
I am trying to download a website with my app, it always worked until recently.
Now this website refuses me access and I get this error message:
ResponseError. Reason: , Response: <HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
You don't have permission to access "http://www.finanzen.net/suchergebnis.asp?" on this server.<P>
Reference #18.c6011002.1702559562.75b01d0
</BODY>
</HTML>
Here is my code:
B4X:
Dim strUrl As String
strUrl = https://www.finanzen.net/suchergebnis.asp?frmAktienSucheTextfeld=DE0005313704"
getWebSeiteAlsString(strUrl)
Sub getWebSeiteAlsString(sURL As String)
Dim job As HttpJob
job.Initialize("WebSeiteAlsString", Me)
job.Download(sURL)
ProgressDialogShow2("Bitte warten...", True)
End Sub
Sub JobDone(Job As HttpJob)
Dim parser As JSONParser
Dim res As String
' Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
If Job.Success Then
res = Job.GetString
parser.Initialize(res)
Select Job.JobName
Case "WebSeiteAlsString"
...
End Select
Else
MsgboxAsync("Die Charts können nicht angezeigt werden.","Kein Internet verbindung!")
End If
Job.Release
ProgressDialogHide
End Sub
Can this block be lifted? If yes, how?