Hello, remembers of the forum
I'm having troubles with webpage scrapping by using VBA
I know I can select element of page by using
- getElementByID
- getElementsByClassName
- getElementsByTagName
However, I have no idea how to get data by Attribute
For example
https://www.auction.com/details/2425-s-warnock-st-philadelphia-pa-19148-2573625-o_1184l
Code:
I can't use class because class="highlight-type_styles_20u0" is not unique
But
is truly unique
If it was just "id" instead of "dat-elm-id" that wouldn't be a problem
Is there any way to address to HTML element by the specific name of the attribute?
Thank you for your help
I'm having troubles with webpage scrapping by using VBA
I know I can select element of page by using
- getElementByID
- getElementsByClassName
- getElementsByTagName
However, I have no idea how to get data by Attribute
For example
https://www.auction.com/details/2425-s-warnock-st-philadelphia-pa-19148-2573625-o_1184l
Code:
Code:
"div class="highlight-type_styles_20u0" data-elm-id="prop-type" data-reactid="170""
I can't use class because class="highlight-type_styles_20u0" is not unique
But
Code:
data-elm-id="prop-type"
If it was just "id" instead of "dat-elm-id" that wouldn't be a problem
Is there any way to address to HTML element by the specific name of the attribute?
Thank you for your help
Last edited: