I want to make a script to download the image at best resolution (not the preview image) from a deviantART link, as if I clicked the "Download" button.
However, it seems that deviantART redirect the browser to download the image from another source, and I can't find how to get this source via the bash script.
For example, I want to give this link as input:
http://earthsong9405.deviantart.com/art/The-Big-Boys-357700214
And get the image located here:
http://fc05.deviantart.net/fs71/f/2013/077/1/c/the_big_boys_by_earthsong9405-d5wyr92.png
Via the address given by the link in the download button:
_http://www.deviantart.com/download/357700214/the_big_boys_by_earthsong9405-d5wyr92.png?token=add3c3dbf4112b7140930c574a819878509c7ebc&ts=1403209394