How to scrape URLs of multiple variants?

There are a lot of variants on Amazon product pages.
I want to scrape the URLs of these variants.
How can I do this?

Url: https://www.amazon.com/Roadbox-Protection-Fishing-Outdoor-Swimming/dp/B0C27D29C8/ref=zg_bsms_g_sporting-goods_d_sccl_1/136-7226157-5186051?psc=1

Something like:

Type: Element attribute
Selector: #variation_color_name li[data-dp-url]
Multiple: True
Attribute name: data-dp-url