Changed the API to give the download url