Replaced website download with api download and improved "download too many times" check