Once you have a DOI (from crossref or otherwise) you can get a legal download link simply by putting 'https://doi.org/' in front of it (though it will often go to a summary/login page rather than the PDF) and a SciHub PDF link by prepending 'https://sci-hub.ru/'. Or am I missing something?