Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def make_libgen_doi_url(doi):
"""
Make libgen url based on DOI.
"""
return "http://libgen.org/scimag/get.php?doi={}".format(quote_plus(doi))