Hi together,
I want to scrape data from the following site: Couchtische schnell und easy kaufen | moebel.de
The scraper needs to explicitly click on "Details" in order to get to the product page and scrape more data. However, "Details" doesn't contain the specific link. Instead the HTML includes the "data-product-id" from which the product page can be constructed: "https://www.moebel.de/produkt/" + "data-product-id" = Couchtisch Indra Akazie Natur | moebel.de
HTML:
<"button class="focus:outline-none text-[--glue-primary] font-bold text-[16px]" data-productid="811e4be403cc300218fa2791fa1be66f" data-testid="desktop-pdp-cta">Details"
Question: How do I scrape the value from attribut "data-product-id"? How do I get to "811e4be403cc300218fa2791fa1be66f"?
Thank you very much in advance.