This link https://78.media.tumblr.com/fe8077554e3821aa8470613fe951b595/tumblr_oxbiw6Cl6Z1t90l4ro5_540.jpg
does not redirect to raw version. It just stays there. Manually changing it to raw gives an error 404 not found. Changing it to 1280 does not result in error.https://78.media.tumblr.com/fe8077554e3821aa8470613fe951b595/tumblr_oxbiw6Cl6Z1t90l4ro5_1280.jpg
The script should look for the best version. If it's not available, it should look for the next best version. Thank you.