So I am using a public scrape to scrape Autotrader UK and have successfully added columns based on the html of the page, however I want to also add the date of posting of an ad and cannot figure out what the script in the “element” sections should be.
This is what the html that describes the date looks like for each ad. It is the ID that I need.
<li class="search-page__result" id="202206076566256" data-search-results-advert-card
data-advert-id="202206076566256"
data-is-group-stock="false"
data-is-multi-location-advert="false"
data-is-allocated-stock="false"
data-is-virtual-stock="false"
data-is-network-stock="false"
data-image-count="44"
data-is-manufacturer-approved="false"
data-has-finance="true"
data-is-franchise-approved="false"
data-good-great-value="noanalysis"
data-distance-value="13 miles"
data-condition-value=""