Fixed download URL retrieval