How can i scrape the "copy link" in Amazon page?

I want to extract result (i.e. the shorter link) by click the " share button" and the "copy link". How can i do it?

Example, when i get to this link:

I want this result:

Thanks a lot!


Unfortunately, it won't be possible to scrape this link, since it does not exist in the HTML and is generated dynamically.