Hello,
i have follow problem:
i have HTML Code from a Website:
Example:
i need the Name of the Car.
i have tryed with following Code:
Result is only: []
Download and Job function works perfect with my ImageDownloader
Images URLs with this Code Working:
i have found de RegEx Pattern List: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
Unfortunately, I do not know how to put together the value that the HTML code is removed
i have follow problem:
i have HTML Code from a Website:
Example:
HTML:
<span itemprop='name'>
Ferrari TestCar
</span>
i need the Name of the Car.
i have tryed with following Code:
B4X:
If Job.JobName = "PageJob" Then
Dim mAutoName As Matcher = Regex.Matcher("<span itemprop='name'>""([^""]+)""</span>", Job.GetString)
Do While mAutoName.Find
namelinks.Add(mAutoName.Group(1))
Loop
BuildItems
End If
Result is only: []
Download and Job function works perfect with my ImageDownloader
Images URLs with this Code Working:
B4X:
Dim m As Matcher = Regex.Matcher("src=\""https://mywebsite/mmo([^""]+)""", Job.GetString)
i have found de RegEx Pattern List: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
Unfortunately, I do not know how to put together the value that the HTML code is removed
Last edited: