Encountered a problem when parsing a page with a dropdown list of variations of colors of product
to write to the file name of the selected color and the image, respectively, dependent on the choice
The need to use curb, nokogiri, xpath,.. (if that is possible using these libraries)
as I understand it, you need to create post request with certain arguments and get the image url in response but do not understand how to implement it in code
link to the product: www.sammccauley.com/Product/loreal-colour-riche-li...
Screen with post-query, url-static:
Screens variable option if you select color from the menu: