How to handle exceptions and add conditions to it

Hi,
I am having files of ten dishes with its cuisine and I need to scrape ingredients of the dishes from the google… If in google results I found ingredients then scrape it ortherwise visit “5 New Easy Weeknight Dinners That Are Globally Inspired | Epicurious” and search it and scrape it. If not found in both then it should store the previous scrapped value and raise a pop-up with non scrapped items list… Can anyone knows how to do it? im attaching the dishes file

dishes.xlsx (8.0 KB)

@Sunitha_Bist

I have similar kind of requirement could you find solution for it