I am new to web-scraping ,I want a program that download images using bs4 and urllib3 but I want to download resized image ,I have previously used the following code
urllib.request.urlretrieve("https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE4wyTq?ver=c8e5"","image.jpg")
but this downloads image in it's real size I want to download this image with different height and weight What can I do?