I am trying to image scraping from snapdeal.com but the error has occurred

the error is :object is not subscriptable
on : 4rth line
with open(‘s.jpg’,‘wb’)as file:
img_url=article.img.attrs[‘src’]
response = requests.get[img_url]

file.write(response.content)

sorry on 3rd line not on 4rth