Here’s an update: The function sometimes works and sometime doesn’t. Sometimes it scrapes the price and it shows the price and sometimes it just shows the “#value!” Error, Even though it is scraping the same link. I have attached a screenshotscreenshot for better explanation And here are the links i used if you want to try them out
amazon links https://www.amazon.com/gp/product/B08KZJM2VM https://www.amazon.com/gp/product/B091F4Y4DB https://www.amazon.com/gp/product/B09751VLF4 https://www.amazon.com/gp/product/B08X9TVZQQ https://www.amazon.com/gp/product/B08XVR1S5W https://www.amazon.com/gp/product/B094CVQC53 https://www.amazon.com/gp/product/B07GQMJ2C1 https://www.amazon.com/gp/product/B09FPPWRLD https://www.amazon.com/gp/product/B08R726F6Y https://www.amazon.com/gp/product/B08PNKVVXK https://www.amazon.com/gp/product/B097P6C7X4 https://www.amazon.com/gp/product/B09M448DSN https://www.amazon.com/gp/product/B08PYV94V1 https://www.amazon.com/gp/product/B09G718PZR https://www.amazon.com/gp/product/B08W2NT1Y9 https://www.amazon.com/gp/product/B089KBTXHR https://www.amazon.com/gp/product/B07RN44SHW https://www.amazon.com/gp/product/B08HN8J12D https://www.amazon.com/gp/product/B09B92BW79 https://www.amazon.com/gp/product/B096RJ1PZ8 https://www.amazon.com/gp/product/B096WWB4Q3 https://www.amazon.com/gp/product/B08HMMB7J5 https://www.amazon.com/gp/product/B094Q3Y645 https://www.amazon.com/gp/product/B094CVXKHN https://www.amazon.com/gp/product/B088SXJHJS https://www.amazon.com/gp/product/B08DNGSMGX https://www.amazon.com/gp/product/B08TH5KY6X https://www.amazon.com/gp/product/B098B2FJBK https://www.amazon.com/gp/product/B08YYMS5Z6