How to include date of posting in a recipe column?

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=""

Hi Tray,

Thanks for posting. I think the issue is that the id is as the Row level. So to capture the id, just leave the column selector blank and then change the extract type from text to Other Attribute under the advanced settings. Then for the Attribute name use “id”.

When you run the recipe, it will automatically fill in the column selector with the li row selector.