Help for CSS selector in div

Hello,

I am trying to extract the ASIN number from an Amazon product listing but without success.
Url : https://www.amazon.fr/b?node=1787880031&ref=lp_590748031_nr_n_0

For example, here is the part of the code that interests me.

<div data-asin="B076B2H1DP" data-index="1" data-uuid="0a2eb28c-07aa-421c-82de-a9418dab70f2" data-component-type="s-search-result" class="sg-col-20-of-24 s-result-item s-asin sg-col-0-of-12 sg-col-28-of-32 sg-col-16-of-20 sg-col sg-col-32-of-36 sg-col-12-of-16 sg-col-24-of-28" data-component-id="9" data-cel-widget="search_result_1"><div class="sg-col-inner">

I therefore want to extract the data B076B2H1DP,

but when I use the SELECTOR tool, I can't find the path to the ASIN number.

Do you have a solution?

Element attribute works great for this. Use this for selector:

div > div[data-asin]

Thank you for that answer. This works for an article, but when I want to perform this action on a search result I end up with a zero value.
I defined the zone via the selector

div.sg-col-4-of-24 sg-col-4-of-12 sg-col-4-of-36 s-result-item s-asin sg-col-4-of-28 sg-col- 4-of-16 sg-col sg-col-4-of-20 sg-col-4-of-32

Is this the right area?