Hi Everyone! I am new to webscraping and have only a little VBA knowledge.
I am working on a webscraper, and I have made progress, but there are two questions which I can't find the answer.
Question no. 1:
Given these lines of code:
For my_classes I get object: HtmlElement. Why it is not a HtmlElementCollection? It has 6 elements which I am looping trough, so how come it is not a collection? I am confused and do not understand it... Thank you
Question no. 2:
The same line abouve returns two items. The problem is that for the firs item the class name is: "box r" (the class I am looking for) but the other class name is: "box r properties". I am not looking for this class at all. I thought getElementsByClassName is case sensitive. If not, how could I make it to be case sensitive?
Thank you in advance!