How can i scrap indicated data while products are diffrent

Hello all,
I’m scraping data from myntra.com while searching for shirts and when i open 1st product i took product brand name, product name, price, size and Images and save it into csv file but when it comes to second product the bot throes the error ui component is not same

so i need help of you all to solve this issue.