@cached_property
    def resolved_url(self):
        try:
            for url in self.url:
                if "doi.org" in url:
                    continue
                elif "ncbi.nlm.nih.gov/" in url:
                    continue
                elif "europepmc.org" in url:
                    continue
                elif "mendeley.com" in url:
                    continue
                elif "scopus.com" in url:
                    continue
                else:
                    return url

        # only had those, so return one of those
            return self.url[0]
        except AttributeError:
            return None
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/aliases.py/Aliases.resolved_url/original