I am trying to crawl the product IDs in a website, while the ID locate in the product container. It return no such element:
driver.find_element_by_class_name('na finger product-container')
HTML:
<div data-v-8cd3b522="" na-element="item" na-module="product" na-data="{“ids_value”:[“#300#”],”ids_key”:”item_type_ids”,”item_type_ids”:[“#300#”],”tag_ids”:[“#85#”],”app_page_section_id”:10103,”app_page_id”:10011}" class="na finger product-container" na-id="9cd1a902-57aa-48d4-b79c-2bca03d21b83">
The attribute I wanted to retrieve is the ids_value
which is #300#
in this case.
the website: https://www.gratus.com.hk/product/