Downloading and renaming images using python

I am trying to download and rename images from a from a website using this code-

import pandas as pd
import requests

df = pd.read_excel("images.xlsx")
data = df.to_dict()
for i in range(0, len(data('ITEMS'))):
    try:
        for url in data('IMAGES')(i).split(","):
            ext = "." +data('IMAGES')(i).split(".")(-1)
            r = requests.get(url, allow_redirects=True)
            open(data('ITEMS')(i)+ext, 'wb').write(r.content)
        continue
    except:
        continue

But it is not downloading and renaming

Here is one images link I am sharing, of that website- Image

And for other websites it is working.

Please tell me why it is not working on this website and what is the solution for this

Thank you