Google profile picture not getting downloaded

hi,
i obtained the url of my google profile picture from the google api and it is a url without a file extension. i am including the url for reference :

https://lh3.googleusercontent.com/a-/AOh14GiYyWxN9i7QQE8M7OIzQF6Ic2ZgHGoTJB0TPrOpcQ=s96-c

now, i need to download this image to my device(using code for native environment) and set its texture to a sprite-frame and then a sprite. how can i do that? note that i can’t add a file extension to the url as the resultant path does not contain any image.

thanks in advance!

note that if one doesn’t upload a picture to their google account, then a default image with the first letter of the user’s name becomes the profile image. the url of THIS default image has an extension (.jpg) but when we upload an image of our choice, the url of THAT image doesn’t have an extension.

Which Cocos Creator version you are using?

i am using cocos creator ver 2.4.3.

cc.assetManager.loadRemote('https://lh3.googleusercontent.com/a-/AOh14GiYyWxN9i7QQE8M7OIzQF6Ic2ZgHGoTJB0TPrOpcQ=s96-c', { ext: '.png' }, (err, texture) => {
    const spriteFrame = new cc.SpriteFrame();
    spriteFrame.setTexture(texture);
});